Connecting to database specified by database.yml Unable to load adherent_adhesion, underlying cause No such file to load -- adherent_adhesion /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:317:in `rescue in depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:312:in `depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:225:in `require_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:767:in `try_to_load_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:762:in `fixtures' /home/jcl/rails_project/Adherent/test/test_helper.rb:18:in `' /home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `require' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `block in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `select' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `
' Unable to load adherent_member, underlying cause No such file to load -- adherent_member /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:317:in `rescue in depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:312:in `depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:225:in `require_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:767:in `try_to_load_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:762:in `fixtures' /home/jcl/rails_project/Adherent/test/test_helper.rb:18:in `' /home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `require' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `block in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `select' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `
' Unable to load adherent_payment, underlying cause No such file to load -- adherent_payment /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:317:in `rescue in depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:312:in `depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:225:in `require_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:767:in `try_to_load_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:762:in `fixtures' /home/jcl/rails_project/Adherent/test/test_helper.rb:18:in `' /home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `require' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `block in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `select' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `
' Unable to load adherent_coord, underlying cause No such file to load -- adherent_coord /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:317:in `rescue in depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:312:in `depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:225:in `require_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:767:in `try_to_load_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:762:in `fixtures' /home/jcl/rails_project/Adherent/test/test_helper.rb:18:in `' /home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `require' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `block in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `select' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `
' Connecting to database specified by database.yml Unable to load adherent_adhesion, underlying cause No such file to load -- adherent_adhesion /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:317:in `rescue in depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:312:in `depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:225:in `require_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:767:in `try_to_load_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:762:in `fixtures' /home/jcl/rails_project/Adherent/test/test_helper.rb:18:in `' /home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `require' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `block in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `select' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `
' Unable to load adherent_member, underlying cause No such file to load -- adherent_member /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:317:in `rescue in depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:312:in `depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:225:in `require_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:767:in `try_to_load_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:762:in `fixtures' /home/jcl/rails_project/Adherent/test/test_helper.rb:18:in `' /home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `require' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `block in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `select' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `
' Unable to load adherent_payment, underlying cause No such file to load -- adherent_payment /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:317:in `rescue in depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:312:in `depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:225:in `require_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:767:in `try_to_load_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:762:in `fixtures' /home/jcl/rails_project/Adherent/test/test_helper.rb:18:in `' /home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `require' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `block in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `select' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `
' Unable to load adherent_coord, underlying cause No such file to load -- adherent_coord /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:317:in `rescue in depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:312:in `depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:225:in `require_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:767:in `try_to_load_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:762:in `fixtures' /home/jcl/rails_project/Adherent/test/test_helper.rb:18:in `' /home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `require' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `block in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `select' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `
' Connecting to database specified by database.yml Unable to load adherent_adhesion, underlying cause No such file to load -- adherent_adhesion /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:317:in `rescue in depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:312:in `depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:225:in `require_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:767:in `try_to_load_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:762:in `fixtures' /home/jcl/rails_project/Adherent/test/test_helper.rb:18:in `' /home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `require' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `block in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `select' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `
' Unable to load adherent_member, underlying cause No such file to load -- adherent_member /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:317:in `rescue in depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:312:in `depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:225:in `require_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:767:in `try_to_load_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:762:in `fixtures' /home/jcl/rails_project/Adherent/test/test_helper.rb:18:in `' /home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `require' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `block in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `select' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `
' Unable to load adherent_payment, underlying cause No such file to load -- adherent_payment /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:317:in `rescue in depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:312:in `depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:225:in `require_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:767:in `try_to_load_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:762:in `fixtures' /home/jcl/rails_project/Adherent/test/test_helper.rb:18:in `' /home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `require' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `block in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `select' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `
' Unable to load adherent_coord, underlying cause No such file to load -- adherent_coord /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:317:in `rescue in depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:312:in `depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:225:in `require_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:767:in `try_to_load_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:762:in `fixtures' /home/jcl/rails_project/Adherent/test/test_helper.rb:18:in `' /home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `require' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `block in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `select' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `
'  (427.6ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "adherent_adhesions" Fixture Insert (81.8ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:54', '2013-08-19 16:24:54', 980190962, 819299061) Fixture Delete (7.2ms) DELETE FROM "adherent_members" Fixture Insert (31.8ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:54', '2013-08-19 16:24:54', 819299061) Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:54', '2013-08-19 16:24:54', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:54', '2013-08-19 16:24:54', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:54', '2013-08-19 16:24:54', 980190962) Fixture Insert (4.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:54', '2013-08-19 16:24:54', 298486374) Fixture Delete (0.4ms) DELETE FROM "adherent_payments" Fixture Insert (149.5ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:54', '2013-08-19 16:24:54', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:54', '2013-08-19 16:24:54', 980190962)  (0.5ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (2.3ms) BEGIN Fixture Delete (4.0ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:54', '2013-08-19 16:24:54', 980190962, 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:54', '2013-08-19 16:24:54', 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (1.8ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:54', '2013-08-19 16:24:54', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:54', '2013-08-19 16:24:54', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (3.9ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:54', '2013-08-19 16:24:54', 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:54', '2013-08-19 16:24:54', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.5ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:54', '2013-08-19 16:24:54', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:54', '2013-08-19 16:24:54', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (5.7ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:54', '2013-08-19 16:24:54', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:54', '2013-08-19 16:24:54', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:54', '2013-08-19 16:24:54', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:54', '2013-08-19 16:24:54', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (3.5ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:54', '2013-08-19 16:24:54', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:54', '2013-08-19 16:24:54', 298486374) Fixture Delete (3.5ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:54', '2013-08-19 16:24:54', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:54', '2013-08-19 16:24:54', 980190962)  (0.3ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (5.0ms) BEGIN Fixture Delete (6.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.0ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (1.4ms) DELETE FROM "adherent_payments" Fixture Insert (0.5ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962)  (3.5ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.8ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (6.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (4.6ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (10.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962, 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.5ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.5ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (1.3ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962)  (0.0ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (4.2ms) BEGIN Fixture Delete (1.7ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962, 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 819299061) Fixture Delete (0.6ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (0.0ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.4ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.0ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (1.6ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962, 819299061) Fixture Delete (2.0ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 819299061) Fixture Delete (3.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (3.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (3.9ms) DELETE FROM "adherent_payments" Fixture Insert (92.4ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (6.0ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.0ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 819299061) Fixture Delete (1.5ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (4.0ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962, 819299061) Fixture Delete (2.6ms) DELETE FROM "adherent_members" Fixture Insert (0.4ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.0ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (2.9ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (0.0ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (6.5ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962, 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 819299061) Fixture Delete (2.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (3.9ms) DELETE FROM "adherent_payments" Fixture Insert (0.6ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962)  (1.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.0ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (6.9ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (1.9ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 819299061) Fixture Delete (3.6ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (1.4ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (6.0ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (4.3ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 819299061) Fixture Delete (0.8ms) DELETE FROM "adherent_adhesions" Fixture Insert (6.5ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (5.5ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (3.5ms) DELETE FROM "adherent_payments" Fixture Insert (0.5ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962)  (0.6ms) ROLLBACK  (0.5ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (4.0ms) BEGIN Fixture Delete (6.6ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.5ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962, 819299061) Fixture Delete (0.3ms) DELETE FROM "adherent_members" Fixture Insert (0.4ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 819299061) Fixture Delete (1.9ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (4.7ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (7.4ms) BEGIN Fixture Delete (2.8ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962, 819299061) Fixture Delete (1.1ms) DELETE FROM "adherent_members" Fixture Insert (6.3ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (6.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (0.0ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (10.0ms) BEGIN Fixture Delete (2.4ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (2.1ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (3.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (0.7ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.7ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (5.4ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962, 819299061) Fixture Delete (0.4ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 819299061) Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (1.0ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (0.4ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962)  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (3.9ms) BEGIN Fixture Delete (8.0ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 819299061) Fixture Delete (1.0ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (1.8ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:55', '2013-08-19 16:24:55', 298486374) Fixture Delete (5.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.7ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:55', '2013-08-19 16:24:55', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (4.8ms) BEGIN Fixture Delete (3.4ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962, 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 819299061) Fixture Delete (3.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (9.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962)  (3.8ms) ROLLBACK  (0.5ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (4.0ms) BEGIN Fixture Delete (4.5ms) DELETE FROM "adherent_adhesions" Fixture Insert (4.7ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962, 819299061) Fixture Delete (0.3ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (4.8ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (0.4ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 819299061) Fixture Delete (1.8ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (3.7ms) DELETE FROM "adherent_members" Fixture Insert (2.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (7.6ms) BEGIN Fixture Delete (1.8ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962, 819299061) Fixture Delete (0.0ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (2.5ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962)  (0.0ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (3.4ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.0ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (6.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_members" Fixture Insert (3.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (0.4ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (9.6ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (1.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962, 819299061) Fixture Delete (1.0ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 819299061) Fixture Delete (0.4ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (5.4ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.6ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962)  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (1.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962, 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (2.3ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (3.7ms) DELETE FROM "adherent_members" Fixture Insert (0.5ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (1.8ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.4ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962)  (4.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.0ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962, 819299061) Fixture Delete (0.3ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.4ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962)  (2.8ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (2.0ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962, 819299061) Fixture Delete (4.4ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_payments" Fixture Insert (1.7ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962)  (0.1ms) ROLLBACK  (0.4ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (4.8ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (2.0ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.5ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.7ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962)  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962, 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (1.6ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (3.6ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962)  (0.0ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (4.0ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962, 819299061) Fixture Delete (1.7ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 819299061) Fixture Delete (3.0ms) DELETE FROM "adherent_adhesions" Fixture Insert (2.0ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.7ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (1.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (2.6ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (5.1ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (2.8ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (1.6ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962, 819299061) Fixture Delete (0.3ms) DELETE FROM "adherent_members" Fixture Insert (1.9ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (1.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (1.5ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.5ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962)  (0.1ms) ROLLBACK  (3.5ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (5.1ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.5ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962, 819299061) Fixture Delete (0.8ms) DELETE FROM "adherent_members" Fixture Insert (0.0ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.4ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.4ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962)  (3.5ms) ROLLBACK  (0.3ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (3.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (4.5ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962, 819299061) Fixture Delete (3.9ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (1.6ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (3.3ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (6.9ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962, 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (4.3ms) DELETE FROM "adherent_members" Fixture Insert (1.7ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) Fixture Insert (1.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:56', '2013-08-19 16:24:56', 298486374) Fixture Delete (0.9ms) DELETE FROM "adherent_payments" Fixture Insert (0.6ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:56', '2013-08-19 16:24:56', 980190962)  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.0ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962, 819299061) Fixture Delete (0.9ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:57', '2013-08-19 16:24:57', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 298486374) Fixture Delete (0.8ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:57', '2013-08-19 16:24:57', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962)  (0.4ms) ROLLBACK  (0.3ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (1.4ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:57', '2013-08-19 16:24:57', 819299061) Fixture Delete (8.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962) Fixture Insert (1.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:57', '2013-08-19 16:24:57', 298486374) Fixture Delete (0.4ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962)  (0.1ms) ROLLBACK  (0.8ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.0ms) BEGIN Fixture Delete (1.0ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.8ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:57', '2013-08-19 16:24:57', 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:57', '2013-08-19 16:24:57', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.5ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962, 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:57', '2013-08-19 16:24:57', 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:57', '2013-08-19 16:24:57', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962, 819299061) Fixture Delete (0.6ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:57', '2013-08-19 16:24:57', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:57', '2013-08-19 16:24:57', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.5ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.7ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962, 819299061) Fixture Delete (3.8ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:57', '2013-08-19 16:24:57', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:57', '2013-08-19 16:24:57', 298486374) Fixture Delete (8.3ms) DELETE FROM "adherent_payments" Fixture Insert (0.5ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (2.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.5ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:24:57', '2013-08-19 16:24:57', 819299061) Fixture Delete (0.0ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:24:57', '2013-08-19 16:24:57', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:24:57', '2013-08-19 16:24:57', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL Connecting to database specified by database.yml Unable to load adherent_adhesion, underlying cause No such file to load -- adherent_adhesion /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:317:in `rescue in depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:312:in `depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:225:in `require_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:767:in `try_to_load_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:762:in `fixtures' /home/jcl/rails_project/Adherent/test/test_helper.rb:18:in `' /home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `require' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `block in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `select' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `
' Unable to load adherent_member, underlying cause No such file to load -- adherent_member /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:317:in `rescue in depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:312:in `depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:225:in `require_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:767:in `try_to_load_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:762:in `fixtures' /home/jcl/rails_project/Adherent/test/test_helper.rb:18:in `' /home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `require' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `block in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `select' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `
' Unable to load adherent_payment, underlying cause No such file to load -- adherent_payment /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:317:in `rescue in depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:312:in `depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:225:in `require_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:767:in `try_to_load_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:762:in `fixtures' /home/jcl/rails_project/Adherent/test/test_helper.rb:18:in `' /home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `require' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `block in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `select' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `
' Unable to load adherent_coord, underlying cause No such file to load -- adherent_coord /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:317:in `rescue in depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:312:in `depend_on' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activesupport-3.2.14/lib/active_support/dependencies.rb:225:in `require_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:767:in `try_to_load_dependency' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:782:in `block in require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:779:in `require_fixture_classes' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/activerecord-3.2.14/lib/active_record/fixtures.rb:762:in `fixtures' /home/jcl/rails_project/Adherent/test/test_helper.rb:18:in `' /home/jcl/rails_project/Adherent/test/test_helper.rb:17:in `' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `require' /home/jcl/rails_project/Adherent/test/adherent_test.rb:1:in `' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `require' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `each' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:9:in `block in
' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `select' /home/jcl/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.1.0/lib/rake/rake_test_loader.rb:4:in `
'  (0.5ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.6ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962, 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 819299061) Fixture Delete (0.0ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (1.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962)  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.7ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (1.6ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962, 819299061) Fixture Delete (3.4ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 819299061) Fixture Delete (1.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) Fixture Insert (0.6ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962)  (1.9ms) ROLLBACK  (0.3ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (1.5ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (7.4ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.6ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 819299061) Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (2.7ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.6ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962)  (0.3ms) ROLLBACK  (0.5ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962, 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (1.0ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.4ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962)  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962, 819299061) Fixture Delete (3.4ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 298486374) Fixture Delete (1.9ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (2.4ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.9ms) DELETE FROM "adherent_adhesions" Fixture Insert (6.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962, 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 819299061) Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) Fixture Insert (0.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 298486374) Fixture Delete (3.6ms) DELETE FROM "adherent_members" Fixture Insert (1.4ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_payments" Fixture Insert (0.5ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962)  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962, 819299061) Fixture Delete (0.8ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (3.4ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 298486374) Fixture Delete (1.6ms) DELETE FROM "adherent_payments" Fixture Insert (0.9ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962)  (0.1ms) ROLLBACK  (0.4ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (3.9ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962, 819299061) Fixture Delete (0.3ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.9ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:25:59', '2013-08-19 16:25:59', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.4ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:25:59', '2013-08-19 16:25:59', 980190962)  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962, 819299061) Fixture Delete (0.3ms) DELETE FROM "adherent_members" Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (7.0ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962)  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.0ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962, 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.9ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.4ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962)  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962, 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 819299061) Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.8ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.4ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (1.0ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962)  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (9.5ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962, 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.7ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (3.8ms) DELETE FROM "adherent_payments" Fixture Insert (0.5ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962)  (0.1ms) ROLLBACK  (0.4ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.9ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (7.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (1.9ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962)  (0.1ms) ROLLBACK  (0.4ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (9.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (1.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.0ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (3.8ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962)  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.7ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (3.0ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962, 819299061) Fixture Delete (0.4ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.6ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.5ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962)  (0.1ms) ROLLBACK  (10.6ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (3.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (3.8ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (4.7ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (3.9ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_members" Fixture Insert (0.4ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.5ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.6ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (1.0ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962, 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 819299061) Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (0.9ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.5ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962)  (0.0ms) ROLLBACK  (0.3ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962, 819299061) Fixture Delete (0.3ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.0ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.5ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962)  (0.1ms) ROLLBACK  (0.4ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962, 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.4ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.0ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.8ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (2.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.4ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.0ms) BEGIN Fixture Delete (2.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.4ms) DELETE FROM "adherent_members" Fixture Insert (0.7ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962, 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (1.0ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (1.0ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:26:00', '2013-08-19 16:26:00', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:00', '2013-08-19 16:26:00', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:26:01', '2013-08-19 16:26:01', 980190962, 819299061) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:26:01', '2013-08-19 16:26:01', 819299061) Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:01', '2013-08-19 16:26:01', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:01', '2013-08-19 16:26:01', 298486374) Fixture Delete (1.0ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:26:01', '2013-08-19 16:26:01', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:26:01', '2013-08-19 16:26:01', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:01', '2013-08-19 16:26:01', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:01', '2013-08-19 16:26:01', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "created_at", "updated_at", "id", "member_id") VALUES ('2013-08-19', '2014-08-19', 55, '2013-08-19 16:26:01', '2013-08-19 16:26:01', 980190962, 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("name", "forname", "number", "created_at", "updated_at", "id") VALUES ('Lepage', 'Jean Claude', '001', '2013-08-19 16:26:01', '2013-08-19 16:26:01', 819299061) Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:01', '2013-08-19 16:26:01', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:26:01', '2013-08-19 16:26:01', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:26:01', '2013-08-19 16:26:01', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Lepage', 'Annie', '1952-06-15', '2013-08-19 16:26:01', '2013-08-19 16:26:01', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:01', '2013-08-19 16:26:01', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_payments » n'existe pas LINE 1: ...TO "adherent_payments" ("date", "amount", "mode", "adhesion"... ^ : INSERT INTO "adherent_payments" ("date", "amount", "mode", "adhesion", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', NULL, '2013-08-19 16:26:01', '2013-08-19 16:26:01', 980190962)  (0.0ms) ROLLBACK  (0.4ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL Connecting to database specified by database.yml  (0.8ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.6ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.5ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.8ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (1.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.6ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (5.4ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (3.5ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (3.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.6ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.6ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.6ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (1.0ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.6ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.6ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL Connecting to database specified by database.yml  (0.6ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.7ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:42:22', '2013-08-19 16:42:22', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:42:22', '2013-08-19 16:42:22', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:42:22', '2013-08-19 16:42:22', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-19 16:42:22', '2013-08-19 16:42:22', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (65.0ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-19 16:42:22', '2013-08-19 16:42:22', 980190962) Fixture Insert (0.8ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-19 16:42:22', '2013-08-19 16:42:22', 298486374) Fixture Insert (0.5ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-19 16:42:22', '2013-08-19 16:42:22', 973176020) Fixture Delete (2.0ms) DELETE FROM "adherent_coords" Fixture Insert (5.7ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 16:42:22', '2013-08-19 16:42:22', 980190962, 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 16:42:22', '2013-08-19 16:42:22', 298486374, 298486374) Fixture Delete (0.4ms) DELETE FROM "adherent_reglements" Fixture Insert (13.5ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 16:42:22', '2013-08-19 16:42:22', 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 16:42:22', '2013-08-19 16:42:22', 298486374)  (360.5ms) COMMIT  (0.9ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (73.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (3.6ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (10.5ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (3.6ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.7ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) ROLLBACK Connecting to database specified by database.yml  (0.6ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.0ms) BEGIN Fixture Delete (0.9ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.8ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:50:05', '2013-08-19 16:50:05', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:50:05', '2013-08-19 16:50:05', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:50:05', '2013-08-19 16:50:05', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-19 16:50:05', '2013-08-19 16:50:05', 743257894) Fixture Delete (0.3ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-19 16:50:05', '2013-08-19 16:50:05', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-19 16:50:05', '2013-08-19 16:50:05', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-19 16:50:05', '2013-08-19 16:50:05', 973176020) Fixture Delete (0.3ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 16:50:05', '2013-08-19 16:50:05', 980190962, 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 16:50:05', '2013-08-19 16:50:05', 298486374, 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 16:50:05', '2013-08-19 16:50:05', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 16:50:05', '2013-08-19 16:50:05', 298486374)  (47.8ms) COMMIT  (1.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (6.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (7.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (1.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (8.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) 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 Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (1.9ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 5ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"980190962"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:50:58', '2013-08-19 16:50:58', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:50:58', '2013-08-19 16:50:58', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:50:58', '2013-08-19 16:50:58', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-19 16:50:58', '2013-08-19 16:50:58', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-19 16:50:58', '2013-08-19 16:50:58', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-19 16:50:58', '2013-08-19 16:50:58', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-19 16:50:58', '2013-08-19 16:50:58', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (1.1ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 16:50:58', '2013-08-19 16:50:58', 980190962, 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 16:50:58', '2013-08-19 16:50:58', 298486374, 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 16:50:58', '2013-08-19 16:50:58', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 16:50:58', '2013-08-19 16:50:58', 298486374)  (40.5ms) COMMIT  (0.9ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (1.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (1.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (2.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.7ms) ROLLBACK  (0.0ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.6ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.0ms) BEGIN  (5.9ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.0ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 8ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.6ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (1.0ms) DELETE FROM "adherent_adhesions" Fixture Insert (1.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:51:21', '2013-08-19 16:51:21', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:51:21', '2013-08-19 16:51:21', 298486374) Fixture Delete (0.7ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:51:21', '2013-08-19 16:51:21', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-19 16:51:21', '2013-08-19 16:51:21', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-19 16:51:21', '2013-08-19 16:51:21', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-19 16:51:21', '2013-08-19 16:51:21', 298486374) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-19 16:51:21', '2013-08-19 16:51:21', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 16:51:21', '2013-08-19 16:51:21', 980190962, 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 16:51:21', '2013-08-19 16:51:21', 298486374, 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 16:51:21', '2013-08-19 16:51:21', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 16:51:21', '2013-08-19 16:51:21', 298486374)  (41.5ms) COMMIT  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.4ms) BEGIN Adherent::Coord Load (5.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.5ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (4.6ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.6ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"980190962"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.4ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:52:34', '2013-08-19 16:52:34', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:52:34', '2013-08-19 16:52:34', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:52:34', '2013-08-19 16:52:34', 819299061) Fixture Insert (0.0ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-19 16:52:34', '2013-08-19 16:52:34', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-19 16:52:34', '2013-08-19 16:52:34', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-19 16:52:34', '2013-08-19 16:52:34', 298486374) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-19 16:52:34', '2013-08-19 16:52:34', 973176020) Fixture Delete (0.1ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 16:52:34', '2013-08-19 16:52:34', 980190962, 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 16:52:34', '2013-08-19 16:52:34', 298486374, 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 16:52:35', '2013-08-19 16:52:35', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 16:52:35', '2013-08-19 16:52:35', 298486374)  (21.5ms) COMMIT  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) 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.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN Adherent::Coord Load (0.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (3.9ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.8ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (2.6ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (5.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (3.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"980190962"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.9ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:54:23', '2013-08-19 16:54:23', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:54:23', '2013-08-19 16:54:23', 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:54:23', '2013-08-19 16:54:23', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-19 16:54:23', '2013-08-19 16:54:23', 743257894) Fixture Delete (0.3ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-19 16:54:23', '2013-08-19 16:54:23', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-19 16:54:23', '2013-08-19 16:54:23', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-19 16:54:23', '2013-08-19 16:54:23', 973176020) Fixture Delete (0.3ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 16:54:23', '2013-08-19 16:54:23', 980190962, 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 16:54:23', '2013-08-19 16:54:23', 298486374, 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 16:54:23', '2013-08-19 16:54:23', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 16:54:23', '2013-08-19 16:54:23', 298486374)  (25.2ms) COMMIT  (0.7ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (1.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (3.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (1.0ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.6ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (1.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (17.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"980190962"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.6ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:55:28', '2013-08-19 16:55:28', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-08-06', NULL, '2013-08-19 16:55:28', '2013-08-19 16:55:28', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:55:28', '2013-08-19 16:55:28', 819299061) Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-19 16:55:28', '2013-08-19 16:55:28', 743257894) Fixture Delete (0.0ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-19 16:55:28', '2013-08-19 16:55:28', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-19 16:55:28', '2013-08-19 16:55:28', 298486374) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-19 16:55:28', '2013-08-19 16:55:28', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 16:55:28', '2013-08-19 16:55:28', 980190962, 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 16:55:28', '2013-08-19 16:55:28', 298486374, 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 16:55:28', '2013-08-19 16:55:28', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 16:55:28', '2013-08-19 16:55:28', 298486374)  (87.1ms) COMMIT  (1.5ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (1.9ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (1.2ms) BEGIN Adherent::Coord Load (5.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.0ms) ROLLBACK  (0.7ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (1.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (1.5ms) ROLLBACK  (0.5ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 7ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (2.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 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" = 980190962  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.6ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "adherent_adhesions" Fixture Insert (205.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:08', '2013-08-19 16:59:08', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:08', '2013-08-19 16:59:08', 980190962)  (0.6ms) ROLLBACK  (0.3ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.7ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:08', '2013-08-19 16:59:08', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:08', '2013-08-19 16:59:08', 980190962)  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:08', '2013-08-19 16:59:08', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:08', '2013-08-19 16:59:08', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:08', '2013-08-19 16:59:08', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:08', '2013-08-19 16:59:08', 980190962)  (0.0ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (1.0ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (112.7ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:08', '2013-08-19 16:59:08', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:08', '2013-08-19 16:59:08', 980190962)  (0.0ms) ROLLBACK  (0.5ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (1.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (2.9ms) BEGIN Fixture Delete (0.8ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.6ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:08', '2013-08-19 16:59:08', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:08', '2013-08-19 16:59:08', 980190962)  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (2.7ms) BEGIN Fixture Delete (2.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:08', '2013-08-19 16:59:08', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:08', '2013-08-19 16:59:08', 980190962)  (0.1ms) ROLLBACK  (0.4ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:08', '2013-08-19 16:59:08', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:08', '2013-08-19 16:59:08', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.5ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:08', '2013-08-19 16:59:08', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:08', '2013-08-19 16:59:08', 980190962)  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:08', '2013-08-19 16:59:08', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:08', '2013-08-19 16:59:08', 980190962)  (0.2ms) ROLLBACK  (1.0ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (1.0ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.7ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:08', '2013-08-19 16:59:08', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:08', '2013-08-19 16:59:08', 980190962)  (0.1ms) ROLLBACK  (0.9ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.5ms) BEGIN Fixture Delete (3.5ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962)  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (2.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962)  (0.1ms) ROLLBACK  (0.5ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (8.7ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (5.7ms) BEGIN Fixture Delete (4.7ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.6ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (7.4ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.7ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (6.8ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.4ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (5.0ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (2.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.0ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.8ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.1ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (3.0ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (1.0ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962)  (0.1ms) ROLLBACK  (0.5ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962)  (0.1ms) ROLLBACK  (0.4ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (4.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (1.6ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962)  (3.8ms) ROLLBACK  (0.3ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (1.1ms) BEGIN Fixture Delete (4.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (1.5ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (4.6ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962)  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (2.8ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "adherent_adhesions" Fixture Insert (3.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962)  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (9.9ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962)  (0.0ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.0ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962) PG::UndefinedColumn: ERREUR: la colonne « adhesion » de la relation « adherent_adhesions » n'existe pas LINE 1: ...NTO "adherent_adhesions" ("from_date", "to_date", "adhesion"... ^ : INSERT INTO "adherent_adhesions" ("from_date", "to_date", "adhesion", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:09', '2013-08-19 16:59:09', 980190962)  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL Connecting to database specified by database.yml  (2.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.7ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 16:59:40', '2013-08-19 16:59:40', 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-19 16:59:40', '2013-08-19 16:59:40', 298486374) Fixture Delete (0.4ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 16:59:40', '2013-08-19 16:59:40', 819299061) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-19 16:59:40', '2013-08-19 16:59:40', 743257894) Fixture Delete (0.3ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-19 16:59:40', '2013-08-19 16:59:40', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-19 16:59:40', '2013-08-19 16:59:40', 298486374) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-19 16:59:40', '2013-08-19 16:59:40', 973176020) Fixture Delete (0.3ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 16:59:40', '2013-08-19 16:59:40', 980190962, 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 16:59:40', '2013-08-19 16:59:40', 298486374, 298486374) Fixture Delete (0.4ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 16:59:40', '2013-08-19 16:59:40', 980190962) Fixture Insert (0.0ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 16:59:40', '2013-08-19 16:59:40', 298486374)  (29.6ms) COMMIT  (0.3ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (1.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) 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.1ms) BEGIN Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.8ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (2.7ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (0.9ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (2.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"980190962"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (1.8ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 17:37:00', '2013-08-19 17:37:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-19 17:37:00', '2013-08-19 17:37:00', 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 17:37:00', '2013-08-19 17:37:00', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-19 17:37:00', '2013-08-19 17:37:00', 743257894) Fixture Delete (0.3ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-19 17:37:00', '2013-08-19 17:37:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-19 17:37:00', '2013-08-19 17:37:00', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-19 17:37:00', '2013-08-19 17:37:00', 973176020) Fixture Delete (0.3ms) DELETE FROM "adherent_coords" Fixture Insert (0.3ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 17:37:00', '2013-08-19 17:37:00', 980190962, 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 17:37:00', '2013-08-19 17:37:00', 298486374, 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 17:37:00', '2013-08-19 17:37:00', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 17:37:00', '2013-08-19 17:37:00', 298486374)  (22.2ms) COMMIT  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.5ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (6.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (1.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (1.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (8.8ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (3.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.5ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::PaymentsController#index as HTML Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 50ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::PaymentsController#new as HTML Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (4.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 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" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"980190962"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (2.3ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.0ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 17:40:35', '2013-08-19 17:40:35', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-19 17:40:35', '2013-08-19 17:40:35', 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 17:40:35', '2013-08-19 17:40:35', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-19 17:40:35', '2013-08-19 17:40:35', 743257894) Fixture Delete (0.3ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-19 17:40:35', '2013-08-19 17:40:35', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-19 17:40:35', '2013-08-19 17:40:35', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-19 17:40:35', '2013-08-19 17:40:35', 973176020) Fixture Delete (0.3ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 17:40:35', '2013-08-19 17:40:35', 980190962, 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 17:40:35', '2013-08-19 17:40:35', 298486374, 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 17:40:35', '2013-08-19 17:40:35', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 17:40:35', '2013-08-19 17:40:35', 298486374)  (41.2ms) COMMIT  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (8.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (3.3ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.9ms) BEGIN Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (7.2ms) ROLLBACK  (1.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (10.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.5ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (2.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.5ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (2.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 6ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"819299061"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"819299061"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 8ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (2.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"980190962"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 17:44:04', '2013-08-19 17:44:04', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-19 17:44:04', '2013-08-19 17:44:04', 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 17:44:04', '2013-08-19 17:44:04', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-19 17:44:04', '2013-08-19 17:44:04', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-19 17:44:04', '2013-08-19 17:44:04', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-19 17:44:04', '2013-08-19 17:44:04', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-19 17:44:04', '2013-08-19 17:44:04', 973176020) Fixture Delete (0.3ms) DELETE FROM "adherent_coords" Fixture Insert (0.3ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 17:44:04', '2013-08-19 17:44:04', 980190962, 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 17:44:04', '2013-08-19 17:44:04', 298486374, 298486374) Fixture Delete (1.0ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 17:44:04', '2013-08-19 17:44:04', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 17:44:04', '2013-08-19 17:44:04', 298486374)  (28.3ms) COMMIT  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.7ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (1.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.6ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.7ms) BEGIN Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.8ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (2.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.9ms) ROLLBACK  (3.6ms) BEGIN Adherent::Payment Load (1.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"819299061"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"819299061"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)  (0.5ms) ROLLBACK  (0.4ms) BEGIN Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"980190962"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.6ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 17:46:26', '2013-08-19 17:46:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-19 17:46:26', '2013-08-19 17:46:26', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 17:46:26', '2013-08-19 17:46:26', 819299061) Fixture Insert (0.0ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-19 17:46:26', '2013-08-19 17:46:26', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-19 17:46:26', '2013-08-19 17:46:26', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-19 17:46:26', '2013-08-19 17:46:26', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-19 17:46:26', '2013-08-19 17:46:26', 973176020) Fixture Delete (0.3ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 17:46:26', '2013-08-19 17:46:26', 980190962, 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 17:46:26', '2013-08-19 17:46:26', 298486374, 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 17:46:26', '2013-08-19 17:46:26', 980190962) Fixture Insert (0.6ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 17:46:26', '2013-08-19 17:46:26', 298486374)  (49.9ms) COMMIT  (0.8ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.9ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (1.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (1.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.3ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.6ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.5ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 17:46:58', '2013-08-19 17:46:58', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-19 17:46:58', '2013-08-19 17:46:58', 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 17:46:58', '2013-08-19 17:46:58', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-19 17:46:58', '2013-08-19 17:46:58', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-19 17:46:58', '2013-08-19 17:46:58', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-19 17:46:58', '2013-08-19 17:46:58', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-19 17:46:58', '2013-08-19 17:46:58', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 17:46:58', '2013-08-19 17:46:58', 980190962, 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 17:46:58', '2013-08-19 17:46:58', 298486374, 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 17:46:58', '2013-08-19 17:46:58', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 17:46:58', '2013-08-19 17:46:58', 298486374)  (250.6ms) COMMIT  (0.5ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (1.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"   (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (1.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (3.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (3.0ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 17:47:58', '2013-08-19 17:47:58', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-19 17:47:58', '2013-08-19 17:47:58', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 17:47:58', '2013-08-19 17:47:58', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-19 17:47:58', '2013-08-19 17:47:58', 743257894) Fixture Delete (0.8ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-19 17:47:58', '2013-08-19 17:47:58', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-19 17:47:58', '2013-08-19 17:47:58', 298486374) Fixture Insert (0.0ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-19 17:47:58', '2013-08-19 17:47:58', 973176020) Fixture Delete (0.4ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 17:47:58', '2013-08-19 17:47:58', 980190962, 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 17:47:58', '2013-08-19 17:47:58', 298486374, 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 17:47:58', '2013-08-19 17:47:58', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 17:47:58', '2013-08-19 17:47:58', 298486374)  (107.9ms) COMMIT  (0.7ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (9.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.4ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (4.5ms) SELECT COUNT(*) FROM "adherent_members"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 3ms (ActiveRecord: 0.0ms)  (0.8ms) SELECT COUNT(*) FROM "adherent_members"   (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)  (1.7ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 2ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (2.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (1.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.6ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.8ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 17:49:54', '2013-08-19 17:49:54', 980190962) Fixture Insert (0.7ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-19 17:49:54', '2013-08-19 17:49:54', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 17:49:54', '2013-08-19 17:49:54', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-19 17:49:54', '2013-08-19 17:49:54', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-19 17:49:54', '2013-08-19 17:49:54', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-19 17:49:54', '2013-08-19 17:49:54', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-19 17:49:54', '2013-08-19 17:49:54', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.3ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 17:49:54', '2013-08-19 17:49:54', 980190962, 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 17:49:54', '2013-08-19 17:49:54', 298486374, 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 17:49:54', '2013-08-19 17:49:54', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 17:49:54', '2013-08-19 17:49:54', 298486374)  (41.8ms) COMMIT  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (10.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (55.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 4ms (ActiveRecord: 0.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.3ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"   (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (4.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (3.7ms) ROLLBACK  (0.2ms) BEGIN Adherent::Payment Load (1.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.5ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (2.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 17:52:16', '2013-08-19 17:52:16', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-19 17:52:16', '2013-08-19 17:52:16', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 17:52:16', '2013-08-19 17:52:16', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-19 17:52:16', '2013-08-19 17:52:16', 743257894) Fixture Delete (0.3ms) DELETE FROM "adherent_payments" Fixture Insert (14.5ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-19 17:52:16', '2013-08-19 17:52:16', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-19 17:52:16', '2013-08-19 17:52:16', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-19 17:52:16', '2013-08-19 17:52:16', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 17:52:16', '2013-08-19 17:52:16', 980190962, 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 17:52:16', '2013-08-19 17:52:16', 298486374, 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 17:52:16', '2013-08-19 17:52:16', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 17:52:16', '2013-08-19 17:52:16', 298486374)  (76.6ms) COMMIT  (0.6ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (1.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (19.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (17.2ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (5.3ms) BEGIN Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.3ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 34ms (ActiveRecord: 0.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"   (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  (0.1ms) ROLLBACK  (1.6ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.0ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (1.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.5ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 17:52:49', '2013-08-19 17:52:49', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-19 17:52:49', '2013-08-19 17:52:49', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 17:52:49', '2013-08-19 17:52:49', 819299061) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-19 17:52:49', '2013-08-19 17:52:49', 743257894) Fixture Delete (0.3ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-19 17:52:49', '2013-08-19 17:52:49', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-19 17:52:49', '2013-08-19 17:52:49', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-19 17:52:49', '2013-08-19 17:52:49', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 17:52:49', '2013-08-19 17:52:49', 980190962, 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 17:52:49', '2013-08-19 17:52:49', 298486374, 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 17:52:49', '2013-08-19 17:52:49', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 17:52:49', '2013-08-19 17:52:49', 298486374)  (47.0ms) COMMIT  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1  (0.3ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (1.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (1.8ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 34ms (ActiveRecord: 0.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"   (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (1.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.6ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Redirected to http://test.host/organisms Filter chain halted as :find_organism rendered or redirected Completed 302 Found in 1ms (ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.6ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 18:00:10', '2013-08-19 18:00:10', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-19 18:00:10', '2013-08-19 18:00:10', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 18:00:10', '2013-08-19 18:00:10', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-19 18:00:10', '2013-08-19 18:00:10', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-19 18:00:10', '2013-08-19 18:00:10', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-19 18:00:10', '2013-08-19 18:00:10', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-19 18:00:10', '2013-08-19 18:00:10', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 18:00:10', '2013-08-19 18:00:10', 980190962, 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 18:00:10', '2013-08-19 18:00:10', 298486374, 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 18:00:10', '2013-08-19 18:00:10', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 18:00:10', '2013-08-19 18:00:10', 298486374)  (47.0ms) COMMIT  (0.2ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (1.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}} PG::UndefinedTable: ERREUR: la relation « organisms » n'existe pas LINE 5: WHERE a.attrelid = '"organisms"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"organisms"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 79ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.3ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} PG::UndefinedTable: ERREUR: la relation « organisms » n'existe pas LINE 5: WHERE a.attrelid = '"organisms"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"organisms"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (3.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} PG::UndefinedTable: ERREUR: la relation « organisms » n'existe pas LINE 5: WHERE a.attrelid = '"organisms"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"organisms"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 2ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML PG::UndefinedTable: ERREUR: la relation « organisms » n'existe pas LINE 5: WHERE a.attrelid = '"organisms"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"organisms"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML PG::UndefinedTable: ERREUR: la relation « organisms » n'existe pas LINE 5: WHERE a.attrelid = '"organisms"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"organisms"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} PG::UndefinedTable: ERREUR: la relation « organisms » n'existe pas LINE 5: WHERE a.attrelid = '"organisms"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"organisms"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} PG::UndefinedTable: ERREUR: la relation « organisms » n'existe pas LINE 5: WHERE a.attrelid = '"organisms"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"organisms"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.3ms) BEGIN Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (3.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (3.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.6ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 18:02:02', '2013-08-19 18:02:02', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-19 18:02:02', '2013-08-19 18:02:02', 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_members" Fixture Insert (0.9ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 18:02:02', '2013-08-19 18:02:02', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-19 18:02:02', '2013-08-19 18:02:02', 743257894) Fixture Delete (0.3ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-19 18:02:02', '2013-08-19 18:02:02', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-19 18:02:02', '2013-08-19 18:02:02', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-19 18:02:02', '2013-08-19 18:02:02', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 18:02:02', '2013-08-19 18:02:02', 980190962, 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 18:02:02', '2013-08-19 18:02:02', 298486374, 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 18:02:02', '2013-08-19 18:02:02', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 18:02:02', '2013-08-19 18:02:02', 298486374)  (207.0ms) COMMIT  (1.0ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (5.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (2.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.3ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}} PG::UndefinedTable: ERREUR: la relation « organisms » n'existe pas LINE 5: WHERE a.attrelid = '"organisms"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"organisms"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 2ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Adherent::Member Load (4.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (1.1ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} PG::UndefinedTable: ERREUR: la relation « organisms » n'existe pas LINE 5: WHERE a.attrelid = '"organisms"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"organisms"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} PG::UndefinedTable: ERREUR: la relation « organisms » n'existe pas LINE 5: WHERE a.attrelid = '"organisms"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"organisms"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML PG::UndefinedTable: ERREUR: la relation « organisms » n'existe pas LINE 5: WHERE a.attrelid = '"organisms"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"organisms"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (1.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML PG::UndefinedTable: ERREUR: la relation « organisms » n'existe pas LINE 5: WHERE a.attrelid = '"organisms"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"organisms"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} PG::UndefinedTable: ERREUR: la relation « organisms » n'existe pas LINE 5: WHERE a.attrelid = '"organisms"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"organisms"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 1ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} PG::UndefinedTable: ERREUR: la relation « organisms » n'existe pas LINE 5: WHERE a.attrelid = '"organisms"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"organisms"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 2ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 18:06:58', '2013-08-19 18:06:58', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-19 18:06:58', '2013-08-19 18:06:58', 298486374) Fixture Delete (11.8ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 18:06:58', '2013-08-19 18:06:58', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-19 18:06:58', '2013-08-19 18:06:58', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-19 18:06:58', '2013-08-19 18:06:58', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-19 18:06:58', '2013-08-19 18:06:58', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-19 18:06:58', '2013-08-19 18:06:58', 973176020) Fixture Delete (0.1ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 18:06:58', '2013-08-19 18:06:58', 980190962, 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 18:06:58', '2013-08-19 18:06:58', 298486374, 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_reglements" Fixture Insert (0.3ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 18:06:58', '2013-08-19 18:06:58', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 18:06:58', '2013-08-19 18:06:58', 298486374)  (112.8ms) COMMIT  (1.0ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (1.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (2.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}} PG::UndefinedTable: ERREUR: la relation « organisms » n'existe pas LINE 5: WHERE a.attrelid = '"organisms"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"organisms"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 2ms  (0.3ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} PG::UndefinedTable: ERREUR: la relation « organisms » n'existe pas LINE 5: WHERE a.attrelid = '"organisms"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"organisms"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} PG::UndefinedTable: ERREUR: la relation « organisms » n'existe pas LINE 5: WHERE a.attrelid = '"organisms"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"organisms"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 2ms  (6.9ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML PG::UndefinedTable: ERREUR: la relation « organisms » n'existe pas LINE 5: WHERE a.attrelid = '"organisms"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"organisms"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML PG::UndefinedTable: ERREUR: la relation « organisms » n'existe pas LINE 5: WHERE a.attrelid = '"organisms"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"organisms"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 7ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} PG::UndefinedTable: ERREUR: la relation « organisms » n'existe pas LINE 5: WHERE a.attrelid = '"organisms"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"organisms"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 1ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (4.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} PG::UndefinedTable: ERREUR: la relation « organisms » n'existe pas LINE 5: WHERE a.attrelid = '"organisms"'::regclass ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"organisms"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum Completed 500 Internal Server Error in 6ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (10.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (3.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERREUR: la relation « adherent_adhesions » n'existe pas LINE 5: WHERE a.attrelid = '"adherent_adhesions"'::regc... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"adherent_adhesions"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.0ms)  (0.0ms)   (0.2ms) BEGIN PG::UndefinedTable: ERREUR: la relation « adherent_adhesions » n'existe pas LINE 5: WHERE a.attrelid = '"adherent_adhesions"'::regc... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"adherent_adhesions"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.0ms) ROLLBACK  (0.0ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERREUR: la relation « adherent_adhesions » n'existe pas LINE 5: WHERE a.attrelid = '"adherent_adhesions"'::regc... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"adherent_adhesions"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.0ms) ROLLBACK  (0.0ms)  (0.0ms)   (0.1ms) BEGIN PG::UndefinedTable: ERREUR: la relation « adherent_adhesions » n'existe pas LINE 5: WHERE a.attrelid = '"adherent_adhesions"'::regc... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"adherent_adhesions"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.0ms) ROLLBACK  (0.0ms)  (0.0ms)   (0.1ms) BEGIN PG::UndefinedTable: ERREUR: la relation « adherent_adhesions » n'existe pas LINE 5: WHERE a.attrelid = '"adherent_adhesions"'::regc... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"adherent_adhesions"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.0ms) ROLLBACK  (0.1ms)  (2.9ms)   (0.1ms) BEGIN PG::UndefinedTable: ERREUR: la relation « adherent_adhesions » n'existe pas LINE 5: WHERE a.attrelid = '"adherent_adhesions"'::regc... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"adherent_adhesions"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.0ms)  (0.0ms)   (3.1ms) BEGIN PG::UndefinedTable: ERREUR: la relation « adherent_adhesions » n'existe pas LINE 5: WHERE a.attrelid = '"adherent_adhesions"'::regc... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"adherent_adhesions"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.0ms)  (0.0ms)   (0.2ms) BEGIN PG::UndefinedTable: ERREUR: la relation « adherent_adhesions » n'existe pas LINE 5: WHERE a.attrelid = '"adherent_adhesions"'::regc... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"adherent_adhesions"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.0ms)  (0.2ms)   (0.1ms) BEGIN PG::UndefinedTable: ERREUR: la relation « adherent_adhesions » n'existe pas LINE 5: WHERE a.attrelid = '"adherent_adhesions"'::regc... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"adherent_adhesions"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (3.1ms) BEGIN PG::UndefinedTable: ERREUR: la relation « adherent_adhesions » n'existe pas LINE 5: WHERE a.attrelid = '"adherent_adhesions"'::regc... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"adherent_adhesions"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.2ms)   (0.1ms) BEGIN PG::UndefinedTable: ERREUR: la relation « adherent_adhesions » n'existe pas LINE 5: WHERE a.attrelid = '"adherent_adhesions"'::regc... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"adherent_adhesions"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.6ms) BEGIN PG::UndefinedTable: ERREUR: la relation « adherent_adhesions » n'existe pas LINE 5: WHERE a.attrelid = '"adherent_adhesions"'::regc... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"adherent_adhesions"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms)  (0.0ms)   (0.1ms) BEGIN PG::UndefinedTable: ERREUR: la relation « adherent_adhesions » n'existe pas LINE 5: WHERE a.attrelid = '"adherent_adhesions"'::regc... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"adherent_adhesions"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.0ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERREUR: la relation « adherent_adhesions » n'existe pas LINE 5: WHERE a.attrelid = '"adherent_adhesions"'::regc... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"adherent_adhesions"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.0ms)  (0.0ms)   (2.3ms) BEGIN PG::UndefinedTable: ERREUR: la relation « adherent_adhesions » n'existe pas LINE 5: WHERE a.attrelid = '"adherent_adhesions"'::regc... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"adherent_adhesions"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.5ms) ROLLBACK  (0.1ms)  (0.1ms)   (0.1ms) BEGIN PG::UndefinedTable: ERREUR: la relation « adherent_adhesions » n'existe pas LINE 5: WHERE a.attrelid = '"adherent_adhesions"'::regc... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"adherent_adhesions"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.0ms)  (0.1ms)   (1.2ms) BEGIN PG::UndefinedTable: ERREUR: la relation « adherent_adhesions » n'existe pas LINE 5: WHERE a.attrelid = '"adherent_adhesions"'::regc... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"adherent_adhesions"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.7ms) Connecting to database specified by database.yml  (245.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (40.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreateAdherentMembers (20130805145522)  (0.2ms) BEGIN  (242.1ms) CREATE TABLE "adherent_members" ("id" serial primary key, "number" character varying(255), "name" character varying(255), "forname" character varying(255), "birthdate" date, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (1.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130805145522')  (2.5ms) COMMIT Migrating to CreateAdherentCoords (20130805152911)  (0.3ms) BEGIN  (27.3ms) CREATE TABLE "adherent_coords" ("id" serial primary key, "mail" character varying(255), "tel" character varying(255), "gsm" character varying(255), "office" character varying(255), "address" text, "zip" character varying(255), "city" character varying(255), "member_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130805152911')  (10.4ms) COMMIT Migrating to CreateAdherentAdhesions (20130806053936)  (0.4ms) BEGIN  (4.4ms) CREATE TABLE "adherent_adhesions" ("id" serial primary key, "from_date" date, "to_date" date, "amount" decimal(10,2), "member_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (7.6ms) CREATE INDEX "index_adherent_adhesions_on_member_id" ON "adherent_adhesions" ("member_id")  (3.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130806053936')  (2.4ms) COMMIT Migrating to CreateAdherentPayments (20130808054023)  (0.2ms) BEGIN  (5.0ms) CREATE TABLE "adherent_payments" ("id" serial primary key, "date" date, "amount" decimal(10,2), "mode" character varying(255), "member_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.1ms) CREATE INDEX "index_adherent_payments_on_member_id" ON "adherent_payments" ("member_id")  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130808054023')  (1.8ms) COMMIT Migrating to CreateAdherentReglements (20130809052125)  (0.2ms) BEGIN  (24.1ms) CREATE TABLE "adherent_reglements" ("id" serial primary key, "amount" decimal(10,2), "adhesion_id" integer, "payment_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.0ms) CREATE INDEX "index_adherent_reglements_on_adhesion_id" ON "adherent_reglements" ("adhesion_id")  (6.8ms) CREATE INDEX "index_adherent_reglements_on_payment_id" ON "adherent_reglements" ("payment_id")  (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130809052125')  (7.2ms) COMMIT Migrating to AddOrganismIdToAdherentMembers (20130810073908)  (0.3ms) BEGIN  (0.3ms) ALTER TABLE "adherent_members" ADD COLUMN "organism_id" integer  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130810073908')  (1.1ms) COMMIT Migrating to CreateOrganisms (20130810074112)  (0.1ms) BEGIN  (7.8ms) CREATE TABLE "organisms" ("id" serial primary key, "title" character varying(255), "status" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130810074112')  (7.0ms) COMMIT  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Connecting to database specified by database.yml  (7.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 18:13:40', '2013-08-19 18:13:40', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-19 18:13:40', '2013-08-19 18:13:40', 298486374) Fixture Delete (0.4ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 18:13:40', '2013-08-19 18:13:40', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-19 18:13:40', '2013-08-19 18:13:40', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-19 18:13:40', '2013-08-19 18:13:40', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-19 18:13:40', '2013-08-19 18:13:40', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-19 18:13:40', '2013-08-19 18:13:40', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.3ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 18:13:40', '2013-08-19 18:13:40', 980190962, 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 18:13:40', '2013-08-19 18:13:40', 298486374, 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_reglements" Fixture Insert (0.3ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 18:13:40', '2013-08-19 18:13:40', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 18:13:40', '2013-08-19 18:13:40', 298486374)  (14.5ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (1.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (14.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (32.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/new.html.erb within layouts/adherent/application (41.9ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 122ms (Views: 74.2ms | ActiveRecord: 3.1ms)  (0.9ms) SELECT COUNT(*) FROM "adherent_members"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_members"   (0.3ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (16.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 23ms (Views: 21.6ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (26.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 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 60ms (Views: 29.8ms | ActiveRecord: 28.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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 10ms (Views: 8.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] 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 (2.3ms) Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (17.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 26ms (ActiveRecord: 17.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 18:18:22', '2013-08-19 18:18:22', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-19 18:18:22', '2013-08-19 18:18:22', 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 18:18:23', '2013-08-19 18:18:23', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-19 18:18:23', '2013-08-19 18:18:23', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-19 18:18:23', '2013-08-19 18:18:23', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-19 18:18:23', '2013-08-19 18:18:23', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-19 18:18:23', '2013-08-19 18:18:23', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 18:18:23', '2013-08-19 18:18:23', 980190962, 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 18:18:23', '2013-08-19 18:18:23', 298486374, 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 18:18:23', '2013-08-19 18:18:23', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 18:18:23', '2013-08-19 18:18:23', 298486374)  (70.5ms) COMMIT  (0.8ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.4ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}}  (0.2ms) 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" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (18.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/new.html.erb within layouts/adherent/application (23.4ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 84ms (Views: 37.8ms | ActiveRecord: 2.2ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 6ms (ActiveRecord: 0.7ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_members"   (0.6ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 25ms (Views: 23.7ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (2.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 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 29ms (Views: 22.2ms | ActiveRecord: 4.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (7.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 13ms (Views: 11.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] 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 7ms (Views: 5.1ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 10ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (1.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.6ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 18:22:11', '2013-08-19 18:22:11', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-19 18:22:11', '2013-08-19 18:22:11', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 18:22:11', '2013-08-19 18:22:11', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-19 18:22:11', '2013-08-19 18:22:11', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-19 18:22:11', '2013-08-19 18:22:11', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-19 18:22:11', '2013-08-19 18:22:11', 298486374) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-19 18:22:11', '2013-08-19 18:22:11', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 18:22:11', '2013-08-19 18:22:11', 980190962, 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 18:22:11', '2013-08-19 18:22:11', 298486374, 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 18:22:11', '2013-08-19 18:22:11', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 18:22:11', '2013-08-19 18:22:11', 298486374)  (35.3ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (1.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.3ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"Adh001"}}  (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" IS NULL) LIMIT 1 SQL (43.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", Mon, 06 Jun 1955], ["created_at", Mon, 19 Aug 2013 18:22:12 UTC +00:00], ["forname", "Jean Claude"], ["name", "Lepage"], ["number", "Adh001"], ["organism_id", nil], ["updated_at", Mon, 19 Aug 2013 18:22:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 98ms (ActiveRecord: 45.9ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_members"   (0.3ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.7ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 5ms (ActiveRecord: 1.6ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  (0.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (21.0ms) Rendered layouts/adherent/_header.html.haml (1.3ms) 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 (0.7ms) Completed 200 OK in 52ms (Views: 50.4ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 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 28ms (Views: 24.4ms | ActiveRecord: 2.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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 12ms (Views: 10.7ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] 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 10ms (Views: 6.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 7ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.5ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 18:25:37', '2013-08-19 18:25:37', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-19 18:25:37', '2013-08-19 18:25:37', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 18:25:37', '2013-08-19 18:25:37', 819299061) Fixture Insert (0.0ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-19 18:25:37', '2013-08-19 18:25:37', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-19 18:25:37', '2013-08-19 18:25:37', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-19 18:25:37', '2013-08-19 18:25:37', 298486374) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-19 18:25:37', '2013-08-19 18:25:37', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 18:25:37', '2013-08-19 18:25:37', 980190962, 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 18:25:37', '2013-08-19 18:25:37', 298486374, 298486374) Fixture Delete (0.9ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 18:25:37', '2013-08-19 18:25:37', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 18:25:37', '2013-08-19 18:25:37', 298486374)  (37.8ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (1.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (2.1ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}  (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" IS NULL) LIMIT 1 SQL (1.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", Mon, 19 Aug 2013 18:25:37 UTC +00:00], ["forname", "Capitaine"], ["name", "Haddock"], ["number", "Adh002"], ["organism_id", nil], ["updated_at", Mon, 19 Aug 2013 18:25:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 50ms (ActiveRecord: 3.1ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"   (0.3ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.7ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  (0.4ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (17.0ms) Rendered layouts/adherent/_header.html.haml (0.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.9ms) Completed 200 OK in 41ms (Views: 39.5ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 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.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 25ms (Views: 20.7ms | ActiveRecord: 2.6ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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 12ms (Views: 10.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] 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: 7.1ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 7ms (ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (1.7ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.9ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (1.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 18:31:56', '2013-08-19 18:31:56', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-19 18:31:56', '2013-08-19 18:31:56', 298486374) Fixture Delete (0.4ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 18:31:56', '2013-08-19 18:31:56', 819299061) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-19 18:31:56', '2013-08-19 18:31:56', 743257894) Fixture Delete (0.3ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-19 18:31:56', '2013-08-19 18:31:56', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-19 18:31:56', '2013-08-19 18:31:56', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-19 18:31:56', '2013-08-19 18:31:56', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 18:31:56', '2013-08-19 18:31:56', 980190962, 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 18:31:56', '2013-08-19 18:31:56', 298486374, 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 18:31:56', '2013-08-19 18:31:56', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 18:31:56', '2013-08-19 18:31:56', 298486374)  (102.5ms) COMMIT  (0.8ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.6ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (1.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.5ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}  (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" IS NULL) 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", Mon, 19 Aug 2013 18:31:56 UTC +00:00], ["forname", "Capitaine"], ["name", "Haddock"], ["number", "Adh002"], ["organism_id", nil], ["updated_at", Mon, 19 Aug 2013 18:31:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 47ms (ActiveRecord: 4.2ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_members"   (0.3ms) ROLLBACK  (0.2ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.7ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  (0.3ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (17.7ms) Rendered layouts/adherent/_header.html.haml (0.9ms) 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.0ms) Completed 200 OK in 43ms (Views: 40.2ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1 Rendered layouts/adherent/_header.html.haml (1.6ms) 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: 21.8ms | ActiveRecord: 3.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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 12ms (Views: 10.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] 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 10ms (Views: 7.2ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 6ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (1.0ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (1.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-19 18:33:28', '2013-08-19 18:33:28', 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-19 18:33:28', '2013-08-19 18:33:28', 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_members" Fixture Insert (0.8ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-19 18:33:28', '2013-08-19 18:33:28', 819299061) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-19 18:33:28', '2013-08-19 18:33:28', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-19 18:33:28', '2013-08-19 18:33:28', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-19 18:33:28', '2013-08-19 18:33:28', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-19 18:33:28', '2013-08-19 18:33:28', 973176020) Fixture Delete (0.3ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 18:33:28', '2013-08-19 18:33:28', 980190962, 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-19 18:33:28', '2013-08-19 18:33:28', 298486374, 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 18:33:28', '2013-08-19 18:33:28', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-19 18:33:28', '2013-08-19 18:33:28', 298486374)  (28.9ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (4.5ms) BEGIN Adherent::Member Load (6.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.3ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}  (0.2ms) 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" IS NULL) 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", Mon, 19 Aug 2013 18:33:28 UTC +00:00], ["forname", "Capitaine"], ["name", "Haddock"], ["number", "Adh002"], ["organism_id", nil], ["updated_at", Mon, 19 Aug 2013 18:33:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 49ms (ActiveRecord: 3.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"   (0.6ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 1.0ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  (1.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (17.0ms) Rendered layouts/adherent/_header.html.haml (1.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 42ms (Views: 40.1ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 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 27ms (Views: 23.0ms | ActiveRecord: 2.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (5.0ms) 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 11ms (Views: 9.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] 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 10ms (Views: 9.0ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (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"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 7ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (1.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.6ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-20 05:21:09', '2013-08-20 05:21:09', 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-20 05:21:09', '2013-08-20 05:21:09', 298486374) Fixture Delete (0.4ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-20 05:21:09', '2013-08-20 05:21:09', 819299061) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-20 05:21:09', '2013-08-20 05:21:09', 743257894) Fixture Delete (0.4ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-20 05:21:09', '2013-08-20 05:21:09', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-20 05:21:09', '2013-08-20 05:21:09', 298486374) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-20 05:21:09', '2013-08-20 05:21:09', 973176020) Fixture Delete (0.4ms) DELETE FROM "adherent_coords" Fixture Insert (0.3ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-20 05:21:09', '2013-08-20 05:21:09', 980190962, 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-20 05:21:09', '2013-08-20 05:21:09', 298486374, 298486374) Fixture Delete (0.5ms) DELETE FROM "adherent_reglements" Fixture Insert (0.3ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 05:21:09', '2013-08-20 05:21:09', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 05:21:09', '2013-08-20 05:21:09', 298486374)  (24.6ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.7ms) BEGIN Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.3ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (1.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}  (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" IS NULL) LIMIT 1 SQL (1.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", Tue, 20 Aug 2013 05:21:10 UTC +00:00], ["forname", "Capitaine"], ["name", "Haddock"], ["number", "Adh002"], ["organism_id", nil], ["updated_at", Tue, 20 Aug 2013 05:21:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 50ms (ActiveRecord: 3.0ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  (0.3ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.7ms)  (1.6ms) SELECT COUNT(*) FROM "adherent_members"   (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (18.1ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 41ms (Views: 39.1ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 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 26ms (Views: 21.9ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (5.2ms) 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 10ms (Views: 9.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered layouts/adherent/_header.html.haml (0.8ms) 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 10ms (Views: 7.7ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 6ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (1.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (2.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-20 05:22:26', '2013-08-20 05:22:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-20 05:22:26', '2013-08-20 05:22:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-20 05:22:26', '2013-08-20 05:22:26', 819299061) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-20 05:22:26', '2013-08-20 05:22:26', 743257894) Fixture Delete (0.3ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-20 05:22:26', '2013-08-20 05:22:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-20 05:22:26', '2013-08-20 05:22:26', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-20 05:22:26', '2013-08-20 05:22:26', 973176020) Fixture Delete (0.3ms) DELETE FROM "adherent_coords" Fixture Insert (0.3ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-20 05:22:26', '2013-08-20 05:22:26', 980190962, 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-20 05:22:26', '2013-08-20 05:22:26', 298486374, 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 05:22:26', '2013-08-20 05:22:26', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 05:22:26', '2013-08-20 05:22:26', 298486374)  (44.1ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.8ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) 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", Tue, 20 Aug 2013 05:22:27 UTC +00:00], ["forname", "Capitaine"], ["name", "Haddock"], ["number", "Adh002"], ["organism_id", nil], ["updated_at", Tue, 20 Aug 2013 05:22:27 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 83ms (ActiveRecord: 6.2ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  (0.3ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 6ms (ActiveRecord: 0.6ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_members"   (0.4ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (17.3ms) Rendered layouts/adherent/_header.html.haml (0.8ms) 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.1ms) Completed 200 OK in 42ms (Views: 40.4ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (1.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 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 27ms (Views: 21.6ms | ActiveRecord: 3.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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 10ms (Views: 8.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 7ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (1.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.5ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-20 05:22:56', '2013-08-20 05:22:56', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-20 05:22:56', '2013-08-20 05:22:56', 298486374) Fixture Delete (0.4ms) DELETE FROM "adherent_members" Fixture Insert (0.0ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-20 05:22:56', '2013-08-20 05:22:56', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-20 05:22:56', '2013-08-20 05:22:56', 743257894) Fixture Delete (0.3ms) DELETE FROM "adherent_payments" Fixture Insert (0.8ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-20 05:22:56', '2013-08-20 05:22:56', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-20 05:22:56', '2013-08-20 05:22:56', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-20 05:22:56', '2013-08-20 05:22:56', 973176020) Fixture Delete (0.1ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-20 05:22:56', '2013-08-20 05:22:56', 980190962, 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-20 05:22:56', '2013-08-20 05:22:56', 298486374, 298486374) Fixture Delete (0.4ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 05:22:56', '2013-08-20 05:22:56', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 05:22:56', '2013-08-20 05:22:56', 298486374)  (22.4ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (1.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.6ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (3.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}  (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" IS NULL) 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", Tue, 20 Aug 2013 05:22:56 UTC +00:00], ["forname", "Capitaine"], ["name", "Haddock"], ["number", "Adh002"], ["organism_id", nil], ["updated_at", Tue, 20 Aug 2013 05:22:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 46ms (ActiveRecord: 3.2ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_members"  (0.4ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.7ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"   (0.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (16.8ms) Rendered layouts/adherent/_header.html.haml (1.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (1.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.9ms) Completed 200 OK in 40ms (Views: 38.6ms | ActiveRecord: 0.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (1.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (1.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 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 26ms (Views: 20.4ms | ActiveRecord: 3.6ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 11ms (Views: 9.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] 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 10ms (Views: 8.2ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (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"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 7ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (1.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.5ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-20 05:24:30', '2013-08-20 05:24:30', 980190962) Fixture Insert (0.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-20 05:24:30', '2013-08-20 05:24:30', 298486374) Fixture Delete (0.9ms) DELETE FROM "adherent_members" Fixture Insert (1.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-20 05:24:30', '2013-08-20 05:24:30', 819299061) Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-20 05:24:30', '2013-08-20 05:24:30', 743257894) Fixture Delete (0.4ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-20 05:24:30', '2013-08-20 05:24:30', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-20 05:24:30', '2013-08-20 05:24:30', 298486374) Fixture Insert (0.7ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-20 05:24:30', '2013-08-20 05:24:30', 973176020) Fixture Delete (0.5ms) DELETE FROM "adherent_coords" Fixture Insert (0.3ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-20 05:24:30', '2013-08-20 05:24:30', 980190962, 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-20 05:24:30', '2013-08-20 05:24:30', 298486374, 298486374) Fixture Delete (0.5ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 05:24:30', '2013-08-20 05:24:30', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 05:24:30', '2013-08-20 05:24:30', 298486374)  (95.9ms) COMMIT  (0.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.3ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.3ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Tue, 20 Aug 2013 05:24:30 UTC +00:00], ["from_date", Tue, 20 Aug 2013], ["member_id", 743257894], ["to_date", Tue, 19 Aug 2014], ["updated_at", Tue, 20 Aug 2013 05:24:30 UTC +00:00]]  (5.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (3.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.6ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (1.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (3.5ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}  (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" IS NULL) 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", Tue, 20 Aug 2013 05:24:30 UTC +00:00], ["forname", "Capitaine"], ["name", "Haddock"], ["number", "Adh002"], ["organism_id", nil], ["updated_at", Tue, 20 Aug 2013 05:24:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 50ms (ActiveRecord: 3.1ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  (0.4ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.7ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"   (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (16.8ms) Rendered layouts/adherent/_header.html.haml (1.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 44ms (Views: 41.1ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (1.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 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: 28.9ms | ActiveRecord: 3.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (7.9ms) 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 17ms (Views: 15.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] 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 8ms (Views: 6.2ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 10ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-20 05:25:53', '2013-08-20 05:25:53', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-20 05:25:53', '2013-08-20 05:25:53', 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_members" Fixture Insert (0.4ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-20 05:25:53', '2013-08-20 05:25:53', 819299061) Fixture Insert (0.4ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-20 05:25:53', '2013-08-20 05:25:53', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-20 05:25:53', '2013-08-20 05:25:53', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-20 05:25:53', '2013-08-20 05:25:53', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-20 05:25:53', '2013-08-20 05:25:53', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-20 05:25:53', '2013-08-20 05:25:53', 980190962, 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-20 05:25:53', '2013-08-20 05:25:53', 298486374, 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 05:25:53', '2013-08-20 05:25:53', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 05:25:53', '2013-08-20 05:25:53', 298486374)  (18.3ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 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", #], ["created_at", Tue, 20 Aug 2013 05:25:53 UTC +00:00], ["from_date", Tue, 20 Aug 2013], ["member_id", 743257894], ["to_date", Tue, 19 Aug 2014], ["updated_at", Tue, 20 Aug 2013 05:25:53 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" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}  (0.2ms) 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" IS NULL) 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", Tue, 20 Aug 2013 05:25:54 UTC +00:00], ["forname", "Capitaine"], ["name", "Haddock"], ["number", "Adh002"], ["organism_id", nil], ["updated_at", Tue, 20 Aug 2013 05:25:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 48ms (ActiveRecord: 2.7ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  (0.3ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 3ms (ActiveRecord: 0.8ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_members"   (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (26.2ms) Rendered layouts/adherent/_header.html.haml (1.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.8ms) Completed 200 OK in 52ms (Views: 49.8ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1 Rendered layouts/adherent/_header.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 26ms (Views: 22.5ms | ActiveRecord: 2.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (4.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 10ms (Views: 9.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (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"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 6ms (ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.9ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-20 05:26:49', '2013-08-20 05:26:49', 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-20 05:26:49', '2013-08-20 05:26:49', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-20 05:26:49', '2013-08-20 05:26:49', 819299061) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-20 05:26:49', '2013-08-20 05:26:49', 743257894) Fixture Delete (0.3ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-20 05:26:49', '2013-08-20 05:26:49', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-20 05:26:49', '2013-08-20 05:26:49', 298486374) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-20 05:26:49', '2013-08-20 05:26:49', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-20 05:26:50', '2013-08-20 05:26:50', 980190962, 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-20 05:26:50', '2013-08-20 05:26:50', 298486374, 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 05:26:50', '2013-08-20 05:26:50', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 05:26:50', '2013-08-20 05:26:50', 298486374)  (25.6ms) COMMIT  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 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", #], ["created_at", Tue, 20 Aug 2013 05:26:50 UTC +00:00], ["from_date", Tue, 20 Aug 2013], ["member_id", 743257894], ["to_date", Tue, 19 Aug 2014], ["updated_at", Tue, 20 Aug 2013 05:26:50 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" = 743257894 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}  (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" IS NULL) 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", Tue, 20 Aug 2013 05:26:50 UTC +00:00], ["forname", "Capitaine"], ["name", "Haddock"], ["number", "Adh002"], ["organism_id", nil], ["updated_at", Tue, 20 Aug 2013 05:26:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 50ms (ActiveRecord: 3.0ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  (0.3ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 1.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"   (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (18.1ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.9ms) Completed 200 OK in 45ms (Views: 42.2ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1 Rendered layouts/adherent/_header.html.haml (0.4ms) 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.0ms) Completed 200 OK in 26ms (Views: 21.2ms | ActiveRecord: 2.7ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (6.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 11ms (Views: 9.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] 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: 7.4ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 7ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-20 05:27:36', '2013-08-20 05:27:36', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-20 05:27:36', '2013-08-20 05:27:36', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-20 05:27:36', '2013-08-20 05:27:36', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-20 05:27:36', '2013-08-20 05:27:36', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-20 05:27:36', '2013-08-20 05:27:36', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-20 05:27:36', '2013-08-20 05:27:36', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-20 05:27:36', '2013-08-20 05:27:36', 973176020) Fixture Delete (0.4ms) DELETE FROM "adherent_coords" Fixture Insert (0.5ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-20 05:27:36', '2013-08-20 05:27:36', 980190962, 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "created_at", "updated_at", "id", "member_id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', '2013-08-20 05:27:36', '2013-08-20 05:27:36', 298486374, 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 05:27:36', '2013-08-20 05:27:36', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 05:27:36', '2013-08-20 05:27:36', 298486374)  (23.5ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.4ms) ROLLBACK  (0.5ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Tue, 20 Aug 2013 05:27:36 UTC +00:00], ["from_date", Tue, 20 Aug 2013], ["member_id", 743257894], ["to_date", Tue, 19 Aug 2014], ["updated_at", Tue, 20 Aug 2013 05:27:36 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" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.3ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.0ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.6ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}  (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" IS NULL) 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", Tue, 20 Aug 2013 05:27:37 UTC +00:00], ["forname", "Capitaine"], ["name", "Haddock"], ["number", "Adh002"], ["organism_id", nil], ["updated_at", Tue, 20 Aug 2013 05:27:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 18ms (ActiveRecord: 2.8ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"   (0.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.4ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 3ms (ActiveRecord: 0.5ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_members"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (17.5ms) Rendered layouts/adherent/_header.html.haml (1.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 44ms (Views: 40.3ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 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 27ms (Views: 22.2ms | ActiveRecord: 2.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML 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.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 12ms (Views: 10.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] 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 7ms (Views: 4.9ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (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"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 7ms (ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (1.9ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.0ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-20 05:28:58', '2013-08-20 05:28:58', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-20 05:28:58', '2013-08-20 05:28:58', 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-20 05:28:58', '2013-08-20 05:28:58', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-20 05:28:58', '2013-08-20 05:28:58', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-20 05:28:58', '2013-08-20 05:28:58', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-20 05:28:58', '2013-08-20 05:28:58', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-20 05:28:58', '2013-08-20 05:28:58', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 819299061, '2013-08-20 05:28:58', '2013-08-20 05:28:58', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 743257894, '2013-08-20 05:28:58', '2013-08-20 05:28:58', 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 05:28:58', '2013-08-20 05:28:58', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 05:28:58', '2013-08-20 05:28:58', 298486374)  (26.6ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.0ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (2.0ms) 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", #], ["created_at", Tue, 20 Aug 2013 05:28:58 UTC +00:00], ["from_date", Tue, 20 Aug 2013], ["member_id", 743257894], ["to_date", Tue, 19 Aug 2014], ["updated_at", Tue, 20 Aug 2013 05:28:58 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" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 05:28:58.789052' WHERE "adherent_coords"."id" = 980190962  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.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", "MyText"], ["city", "MyString"], ["created_at", Tue, 20 Aug 2013 05:28:58 UTC +00:00], ["gsm", "MyString"], ["mail", "MyString"], ["member_id", 819299061], ["office", "MyString"], ["tel", "MyString"], ["updated_at", Tue, 20 Aug 2013 05:28:58 UTC +00:00], ["zip", "MyString"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/adhesions/new Completed 302 Found in 53ms (ActiveRecord: 3.7ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"   (0.4ms) ROLLBACK  (0.2ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#destroy as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/coords Completed 302 Found in 3ms (ActiveRecord: 0.9ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.0ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (3.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (19.3ms) Rendered layouts/adherent/_header.html.haml (1.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 62ms (Views: 54.2ms | ActiveRecord: 4.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#index as HTML Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (1.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 05:28:58.928658' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (11.3ms) 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 21ms (Views: 15.6ms | ActiveRecord: 1.0ms)  (0.8ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 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 9ms (Views: 6.3ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (1.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#update as HTML Parameters: {"member_id"=>"819299061", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/coord Completed 302 Found in 6ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}  (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" IS NULL) LIMIT 1 SQL (0.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", Tue, 20 Aug 2013 05:28:59 UTC +00:00], ["forname", "Capitaine"], ["name", "Haddock"], ["number", "Adh002"], ["organism_id", nil], ["updated_at", Tue, 20 Aug 2013 05:28:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 12ms (ActiveRecord: 1.6ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.3ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (4.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.2ms) SAVEPOINT active_record_1 SQL (2.1ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 23ms (ActiveRecord: 7.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"   (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (15.5ms) 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 32ms (Views: 27.5ms | ActiveRecord: 0.6ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (5.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 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 40ms (Views: 29.0ms | ActiveRecord: 8.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (1.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (8.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: 13.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (2.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] 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: 6.9ms | ActiveRecord: 2.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 8ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-20 05:40:14', '2013-08-20 05:40:14', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-20 05:40:14', '2013-08-20 05:40:14', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-20 05:40:14', '2013-08-20 05:40:14', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-20 05:40:14', '2013-08-20 05:40:14', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-20 05:40:14', '2013-08-20 05:40:14', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-20 05:40:14', '2013-08-20 05:40:14', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-20 05:40:14', '2013-08-20 05:40:14', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 819299061, '2013-08-20 05:40:14', '2013-08-20 05:40:14', 980190962) Fixture Insert (0.0ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 743257894, '2013-08-20 05:40:14', '2013-08-20 05:40:14', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_reglements" Fixture Insert (0.3ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 05:40:14', '2013-08-20 05:40:14', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 05:40:14', '2013-08-20 05:40:14', 298486374)  (56.1ms) COMMIT  (1.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.4ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Tue, 20 Aug 2013 05:40:14 UTC +00:00], ["from_date", Tue, 20 Aug 2013], ["member_id", 743257894], ["to_date", Tue, 19 Aug 2014], ["updated_at", Tue, 20 Aug 2013 05:40:14 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" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.3ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (7.5ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 05:40:14.443837' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) 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", "MyText"], ["city", "MyString"], ["created_at", Tue, 20 Aug 2013 05:40:14 UTC +00:00], ["gsm", "MyString"], ["mail", "MyString"], ["member_id", 819299061], ["office", "MyString"], ["tel", "MyString"], ["updated_at", Tue, 20 Aug 2013 05:40:14 UTC +00:00], ["zip", "MyString"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/adhesions/new Completed 302 Found in 60ms (ActiveRecord: 11.2ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#destroy as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/coords Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (43.4ms) Rendered layouts/adherent/_header.html.haml (0.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.8ms) Completed 200 OK in 87ms (Views: 83.3ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#index as HTML 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 14ms (Views: 12.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.6ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 05:40:14.613838' WHERE "adherent_coords"."id" = 980190962  (2.9ms) RELEASE SAVEPOINT active_record_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.0ms) Completed 200 OK in 41ms (Views: 15.2ms | ActiveRecord: 4.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 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 12ms (Views: 9.2ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#update as HTML Parameters: {"member_id"=>"819299061", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/coord Completed 302 Found in 6ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}  (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" IS NULL) 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", Tue, 20 Aug 2013 05:40:14 UTC +00:00], ["forname", "Capitaine"], ["name", "Haddock"], ["number", "Adh002"], ["organism_id", nil], ["updated_at", Tue, 20 Aug 2013 05:40:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 11ms (ActiveRecord: 1.9ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (1.1ms) SELECT COUNT(*) FROM "adherent_members"   (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (12.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 28ms (Views: 25.2ms | ActiveRecord: 0.3ms)  (0.3ms) ROLLBACK  (2.3ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 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 33ms (Views: 27.0ms | ActiveRecord: 2.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (7.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 41ms (Views: 39.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] 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 50ms (Views: 5.8ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (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"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 6ms (ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (1.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-20 06:13:50', '2013-08-20 06:13:50', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-20 06:13:50', '2013-08-20 06:13:50', 298486374) Fixture Delete (0.8ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-20 06:13:50', '2013-08-20 06:13:50', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-20 06:13:50', '2013-08-20 06:13:50', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-20 06:13:50', '2013-08-20 06:13:50', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-20 06:13:50', '2013-08-20 06:13:50', 298486374) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-20 06:13:50', '2013-08-20 06:13:50', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 819299061, '2013-08-20 06:13:50', '2013-08-20 06:13:50', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 743257894, '2013-08-20 06:13:50', '2013-08-20 06:13:50', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 06:13:50', '2013-08-20 06:13:50', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 06:13:50', '2013-08-20 06:13:50', 298486374)  (99.9ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Tue, 20 Aug 2013 06:13:51 UTC +00:00], ["from_date", Tue, 20 Aug 2013], ["member_id", 743257894], ["to_date", Tue, 19 Aug 2014], ["updated_at", Tue, 20 Aug 2013 06:13:51 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" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:13:51.292115' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.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", "MyText"], ["city", "MyString"], ["created_at", Tue, 20 Aug 2013 06:13:51 UTC +00:00], ["gsm", "MyString"], ["mail", "MyString"], ["member_id", 819299061], ["office", "MyString"], ["tel", "MyString"], ["updated_at", Tue, 20 Aug 2013 06:13:51 UTC +00:00], ["zip", "MyString"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/adhesions/new Completed 302 Found in 54ms (ActiveRecord: 3.6ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.3ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#destroy as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.9ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/coords Completed 302 Found in 6ms (ActiveRecord: 2.4ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (19.1ms) Rendered layouts/adherent/_header.html.haml (1.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (1.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.9ms) Completed 200 OK in 46ms (Views: 43.3ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#index as HTML 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 6ms (Views: 4.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:13:51.388457' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (10.9ms) 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 21ms (Views: 15.4ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 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 8ms (Views: 5.6ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#update as HTML Parameters: {"member_id"=>"819299061", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/coord Completed 302 Found in 6ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}  (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" IS NULL) 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", Tue, 20 Aug 2013 06:13:51 UTC +00:00], ["forname", "Capitaine"], ["name", "Haddock"], ["number", "Adh002"], ["organism_id", nil], ["updated_at", Tue, 20 Aug 2013 06:13:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.2ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.4ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 5ms (ActiveRecord: 0.6ms)  (0.7ms) SELECT COUNT(*) FROM "adherent_members"   (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (10.1ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.2ms) Completed 200 OK in 26ms (Views: 23.8ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (1.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 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 68ms (Views: 61.2ms | ActiveRecord: 3.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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 12ms (Views: 10.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered layouts/adherent/_header.html.haml (0.1ms) 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.1ms) Completed 200 OK in 10ms (Views: 7.8ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 7ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.9ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.5ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-20 06:14:50', '2013-08-20 06:14:50', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-20 06:14:50', '2013-08-20 06:14:50', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-20 06:14:50', '2013-08-20 06:14:50', 819299061) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-20 06:14:50', '2013-08-20 06:14:50', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-20 06:14:50', '2013-08-20 06:14:50', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-20 06:14:50', '2013-08-20 06:14:50', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-20 06:14:50', '2013-08-20 06:14:50', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 819299061, '2013-08-20 06:14:50', '2013-08-20 06:14:50', 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 743257894, '2013-08-20 06:14:50', '2013-08-20 06:14:50', 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 06:14:50', '2013-08-20 06:14:50', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 06:14:50', '2013-08-20 06:14:50', 298486374)  (67.5ms) COMMIT  (0.8ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Tue, 20 Aug 2013 06:14:50 UTC +00:00], ["from_date", Tue, 20 Aug 2013], ["member_id", 743257894], ["to_date", Tue, 19 Aug 2014], ["updated_at", Tue, 20 Aug 2013 06:14:50 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" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.5ms) BEGIN Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (1.7ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "member_id"=>"819299061"} Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:14:50.522350' WHERE "adherent_coords"."id" = 980190962  (0.4ms) RELEASE SAVEPOINT active_record_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", "MyText"], ["city", "MyString"], ["created_at", Tue, 20 Aug 2013 06:14:50 UTC +00:00], ["gsm", "MyString"], ["mail", "MyString"], ["member_id", 819299061], ["office", "MyString"], ["tel", "MyString"], ["updated_at", Tue, 20 Aug 2013 06:14:50 UTC +00:00], ["zip", "MyString"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/adhesions/new Completed 302 Found in 59ms (ActiveRecord: 4.2ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"   (0.7ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#destroy as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/coords Completed 302 Found in 6ms (ActiveRecord: 1.1ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (20.3ms) Rendered layouts/adherent/_header.html.haml (1.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.2ms) Completed 200 OK in 51ms (Views: 47.8ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#index as HTML 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 12ms (Views: 9.7ms | ActiveRecord: 0.0ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (2.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.8ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:14:50.646765' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.7ms) Rendered layouts/adherent/_header.html.haml (0.3ms) 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 22ms (Views: 14.2ms | ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 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 11ms (Views: 7.1ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#update as HTML Parameters: {"member_id"=>"819299061", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/coord Completed 302 Found in 6ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (3.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (1.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}  (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" IS NULL) 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", Tue, 20 Aug 2013 06:14:50 UTC +00:00], ["forname", "Capitaine"], ["name", "Haddock"], ["number", "Adh002"], ["organism_id", nil], ["updated_at", Tue, 20 Aug 2013 06:14:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 12ms (ActiveRecord: 3.1ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.3ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"   (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (10.7ms) 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 28ms (Views: 25.4ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 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 25ms (Views: 18.9ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 52ms (Views: 10.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] 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 8ms (Views: 6.0ms | ActiveRecord: 0.3ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 7ms (ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) ROLLBACK Connecting to database specified by database.yml  (12.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (4.0ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (1.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-20 06:16:31', '2013-08-20 06:16:31', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-20 06:16:31', '2013-08-20 06:16:31', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-20 06:16:31', '2013-08-20 06:16:31', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-20 06:16:31', '2013-08-20 06:16:31', 743257894) Fixture Delete (1.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.6ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-20 06:16:31', '2013-08-20 06:16:31', 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-20 06:16:31', '2013-08-20 06:16:31', 298486374) Fixture Insert (0.5ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-20 06:16:31', '2013-08-20 06:16:31', 973176020) Fixture Delete (1.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.4ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 819299061, '2013-08-20 06:16:31', '2013-08-20 06:16:31', 980190962) Fixture Insert (0.4ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 743257894, '2013-08-20 06:16:31', '2013-08-20 06:16:31', 298486374) Fixture Delete (1.2ms) DELETE FROM "adherent_reglements" Fixture Insert (0.6ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 06:16:31', '2013-08-20 06:16:31', 980190962) Fixture Insert (1.3ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 06:16:31', '2013-08-20 06:16:31', 298486374)  (119.9ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (3.0ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (56.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.3ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (1.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (3.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (17.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", #], ["created_at", Tue, 20 Aug 2013 06:16:32 UTC +00:00], ["from_date", Tue, 20 Aug 2013], ["member_id", 743257894], ["to_date", Tue, 19 Aug 2014], ["updated_at", Tue, 20 Aug 2013 06:16:32 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" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (2.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.3ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (17.7ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:16:33.085899' WHERE "adherent_coords"."id" = 980190962  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (2.3ms) 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", "MyText"], ["city", "MyString"], ["created_at", Tue, 20 Aug 2013 06:16:33 UTC +00:00], ["gsm", "MyString"], ["mail", "MyString"], ["member_id", 819299061], ["office", "MyString"], ["tel", "MyString"], ["updated_at", Tue, 20 Aug 2013 06:16:33 UTC +00:00], ["zip", "MyString"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/adhesions/new Completed 302 Found in 355ms (ActiveRecord: 23.2ms)  (1.0ms) SELECT COUNT(*) FROM "adherent_coords"   (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.9ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#destroy as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/coords Completed 302 Found in 9ms (ActiveRecord: 2.0ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_coords"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (2.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (368.7ms) Rendered layouts/adherent/_header.html.haml (1.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (2.4ms) Completed 200 OK in 743ms (Views: 739.2ms | ActiveRecord: 0.7ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#index as HTML 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 136ms (Views: 133.2ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:16:34.122195' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (16.8ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.2ms) Completed 200 OK in 165ms (Views: 158.6ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 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 48ms (Views: 43.0ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#update as HTML Parameters: {"member_id"=>"819299061", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"} Adherent::Member Load (6.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (1.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.4ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/coord Completed 302 Found in 13ms (ActiveRecord: 8.2ms)  (0.8ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (15.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.5ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (3.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.4ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}  (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" IS NULL) 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", Tue, 20 Aug 2013 06:16:34 UTC +00:00], ["forname", "Capitaine"], ["name", "Haddock"], ["number", "Adh002"], ["organism_id", nil], ["updated_at", Tue, 20 Aug 2013 06:16:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 10ms (ActiveRecord: 1.4ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 7ms (ActiveRecord: 1.9ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_members"   (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (8.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 64ms (Views: 61.9ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 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 143ms (Views: 138.0ms | ActiveRecord: 2.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (6.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 354ms (Views: 309.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] 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 32ms (Views: 28.9ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (23.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 31ms (ActiveRecord: 24.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (12.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (1.5ms) DELETE FROM "adherent_adhesions" Fixture Insert (1.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-20 06:21:00', '2013-08-20 06:21:00', 980190962) Fixture Insert (0.5ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-20 06:21:00', '2013-08-20 06:21:00', 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_members" Fixture Insert (0.5ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-20 06:21:00', '2013-08-20 06:21:00', 819299061) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-20 06:21:00', '2013-08-20 06:21:00', 743257894) Fixture Delete (0.4ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-20 06:21:00', '2013-08-20 06:21:00', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-20 06:21:00', '2013-08-20 06:21:00', 298486374) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-20 06:21:00', '2013-08-20 06:21:00', 973176020) Fixture Delete (0.4ms) DELETE FROM "adherent_coords" Fixture Insert (0.4ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 819299061, '2013-08-20 06:21:00', '2013-08-20 06:21:00', 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 743257894, '2013-08-20 06:21:00', '2013-08-20 06:21:00', 298486374) Fixture Delete (0.1ms) DELETE FROM "adherent_reglements" Fixture Insert (0.3ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 06:21:00', '2013-08-20 06:21:00', 980190962) Fixture Insert (0.4ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 06:21:00', '2013-08-20 06:21:00', 298486374)  (15.1ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Adherent::Member Load (1.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (51.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", #], ["created_at", Tue, 20 Aug 2013 06:21:01 UTC +00:00], ["from_date", Tue, 20 Aug 2013], ["member_id", 743257894], ["to_date", Tue, 19 Aug 2014], ["updated_at", Tue, 20 Aug 2013 06:21:01 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" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (5.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (2.7ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.4ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:21:02.137730' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_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", "MyText"], ["city", "MyString"], ["created_at", Tue, 20 Aug 2013 06:21:02 UTC +00:00], ["gsm", "MyString"], ["mail", "MyString"], ["member_id", 819299061], ["office", "MyString"], ["tel", "MyString"], ["updated_at", Tue, 20 Aug 2013 06:21:02 UTC +00:00], ["zip", "MyString"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/adhesions/new Completed 302 Found in 69ms (ActiveRecord: 4.1ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"   (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#destroy as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/coords Completed 302 Found in 7ms (ActiveRecord: 1.2ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (518.5ms) Rendered layouts/adherent/_header.html.haml (1.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (4.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (2.4ms) Completed 200 OK in 769ms (Views: 764.3ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.7ms) BEGIN Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#index as HTML 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 38ms (Views: 34.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (1.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:21:03.038087' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (9.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 50ms (Views: 39.4ms | ActiveRecord: 2.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 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 15ms (Views: 12.0ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#update as HTML Parameters: {"member_id"=>"819299061", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/coord Completed 302 Found in 6ms (ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}  (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" IS NULL) 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", Tue, 20 Aug 2013 06:21:03 UTC +00:00], ["forname", "Capitaine"], ["name", "Haddock"], ["number", "Adh002"], ["organism_id", nil], ["updated_at", Tue, 20 Aug 2013 06:21:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.3ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.7ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_members"   (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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 56ms (Views: 54.1ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1 Rendered layouts/adherent/_header.html.haml (0.3ms) 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.3ms) Completed 200 OK in 77ms (Views: 72.1ms | ActiveRecord: 2.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 33ms (Views: 31.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] 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: 20.2ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 8ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.5ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-20 06:21:22', '2013-08-20 06:21:22', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-20 06:21:22', '2013-08-20 06:21:22', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-20 06:21:22', '2013-08-20 06:21:22', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-20 06:21:22', '2013-08-20 06:21:22', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-20 06:21:22', '2013-08-20 06:21:22', 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-20 06:21:22', '2013-08-20 06:21:22', 298486374) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-20 06:21:22', '2013-08-20 06:21:22', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 819299061, '2013-08-20 06:21:22', '2013-08-20 06:21:22', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 743257894, '2013-08-20 06:21:22', '2013-08-20 06:21:22', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 06:21:22', '2013-08-20 06:21:22', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 06:21:22', '2013-08-20 06:21:22', 298486374)  (10.3ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.7ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (1.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 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", #], ["created_at", Tue, 20 Aug 2013 06:21:22 UTC +00:00], ["from_date", Tue, 20 Aug 2013], ["member_id", 743257894], ["to_date", Tue, 19 Aug 2014], ["updated_at", Tue, 20 Aug 2013 06:21:22 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" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.5ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (56.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/edit.html.erb within layouts/adherent/application (68.0ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.9ms) Completed 200 OK in 117ms (Views: 104.4ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 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 36ms (Views: 30.4ms | ActiveRecord: 2.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 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 26ms (Views: 20.6ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]] 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 36ms (Views: 33.0ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (1.2ms) BEGIN Adherent::Coord Load (1.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:21:22.732206' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_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", "MyText"], ["city", "MyString"], ["created_at", Tue, 20 Aug 2013 06:21:22 UTC +00:00], ["gsm", "MyString"], ["mail", "MyString"], ["member_id", 819299061], ["office", "MyString"], ["tel", "MyString"], ["updated_at", Tue, 20 Aug 2013 06:21:22 UTC +00:00], ["zip", "MyString"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/adhesions/new Completed 302 Found in 15ms (ActiveRecord: 1.6ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#destroy as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/coords Completed 302 Found in 6ms (ActiveRecord: 1.1ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 31ms (Views: 27.2ms | ActiveRecord: 0.6ms)  (0.0ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#index as HTML 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 6ms (Views: 4.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:21:22.822936' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (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.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 23ms (Views: 17.1ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 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 10ms (Views: 5.3ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (2.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#update as HTML Parameters: {"member_id"=>"819299061", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/coord Completed 302 Found in 6ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.0ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}  (0.2ms) 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" IS NULL) 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", Tue, 20 Aug 2013 06:21:22 UTC +00:00], ["forname", "Capitaine"], ["name", "Haddock"], ["number", "Adh002"], ["organism_id", nil], ["updated_at", Tue, 20 Aug 2013 06:21:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 6ms (ActiveRecord: 1.0ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 5ms (ActiveRecord: 1.5ms)  (0.7ms) SELECT COUNT(*) FROM "adherent_members"   (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (11.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 20ms (Views: 17.0ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (1.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 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 22ms (Views: 17.1ms | ActiveRecord: 3.3ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (4.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 12ms (Views: 10.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] 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 8ms (Views: 5.7ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 7ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.3ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-20 06:22:53', '2013-08-20 06:22:53', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-20 06:22:53', '2013-08-20 06:22:53', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-20 06:22:53', '2013-08-20 06:22:53', 819299061) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-20 06:22:53', '2013-08-20 06:22:53', 743257894) Fixture Delete (0.3ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-20 06:22:53', '2013-08-20 06:22:53', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-20 06:22:53', '2013-08-20 06:22:53', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-20 06:22:53', '2013-08-20 06:22:53', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 819299061, '2013-08-20 06:22:53', '2013-08-20 06:22:53', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 743257894, '2013-08-20 06:22:53', '2013-08-20 06:22:53', 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 06:22:53', '2013-08-20 06:22:53', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 06:22:53', '2013-08-20 06:22:53', 298486374)  (3.0ms) COMMIT  (1.0ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 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", #], ["created_at", Tue, 20 Aug 2013 06:22:54 UTC +00:00], ["from_date", Tue, 20 Aug 2013], ["member_id", 743257894], ["to_date", Tue, 19 Aug 2014], ["updated_at", Tue, 20 Aug 2013 06:22:54 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" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.4ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (53.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/edit.html.erb within layouts/adherent/application (58.8ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.6ms) Completed 200 OK in 90ms (Views: 78.9ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (1.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 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 31ms (Views: 21.9ms | ActiveRecord: 3.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (32.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (9.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 56ms (Views: 16.7ms | ActiveRecord: 33.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]] 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 10ms (Views: 4.9ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:22:54.303134' WHERE "adherent_coords"."id" = 980190962  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.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", "MyText"], ["city", "MyString"], ["created_at", Tue, 20 Aug 2013 06:22:54 UTC +00:00], ["gsm", "MyString"], ["mail", "MyString"], ["member_id", 819299061], ["office", "MyString"], ["tel", "MyString"], ["updated_at", Tue, 20 Aug 2013 06:22:54 UTC +00:00], ["zip", "MyString"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/adhesions/new Completed 302 Found in 15ms (ActiveRecord: 2.3ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#destroy as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]  (2.2ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/coords Completed 302 Found in 7ms (ActiveRecord: 3.0ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (10.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 25ms (Views: 21.7ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#index as HTML 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 8ms (Views: 6.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:22:54.382738' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.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 18ms (Views: 13.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (1.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 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 8ms (Views: 5.2ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#update as HTML Parameters: {"member_id"=>"819299061", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/coord Completed 302 Found in 5ms (ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.7ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.7ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}  (0.2ms) 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" IS NULL) 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", Tue, 20 Aug 2013 06:22:54 UTC +00:00], ["forname", "Capitaine"], ["name", "Haddock"], ["number", "Adh002"], ["organism_id", nil], ["updated_at", Tue, 20 Aug 2013 06:22:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 7ms (ActiveRecord: 1.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  (0.0ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"   (0.4ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (8.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 18ms (Views: 15.7ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 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 18ms (Views: 14.1ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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 13ms (Views: 10.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] 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 7ms (Views: 5.2ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (1.1ms) BEGIN Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (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"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 6ms (ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (1.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] 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 9ms (Views: 4.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Adherent::Member Load (1.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 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.5ms | ActiveRecord: 2.4ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 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 23ms (Views: 16.1ms | ActiveRecord: 1.3ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] 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 7ms (Views: 3.6ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (1.8ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-20 06:24:18', '2013-08-20 06:24:18', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-20 06:24:18', '2013-08-20 06:24:18', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-20 06:24:18', '2013-08-20 06:24:18', 819299061) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-20 06:24:18', '2013-08-20 06:24:18', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-20 06:24:18', '2013-08-20 06:24:18', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-20 06:24:18', '2013-08-20 06:24:18', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-20 06:24:18', '2013-08-20 06:24:18', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 819299061, '2013-08-20 06:24:18', '2013-08-20 06:24:18', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 743257894, '2013-08-20 06:24:18', '2013-08-20 06:24:18', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 06:24:18', '2013-08-20 06:24:18', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 06:24:18', '2013-08-20 06:24:18', 298486374)  (46.7ms) COMMIT  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Adherent::Member Load (1.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Tue, 20 Aug 2013 06:24:18 UTC +00:00], ["from_date", Tue, 20 Aug 2013], ["member_id", 743257894], ["to_date", Tue, 19 Aug 2014], ["updated_at", Tue, 20 Aug 2013 06:24:18 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" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (53.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/edit.html.erb within layouts/adherent/application (58.5ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 87ms (Views: 73.2ms | ActiveRecord: 3.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 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.6ms) Completed 200 OK in 24ms (Views: 20.0ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 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 14ms (Views: 9.6ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]] 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 9ms (Views: 3.2ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "member_id"=>"819299061"} Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:24:19.033775' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", "MyText"], ["city", "MyString"], ["created_at", Tue, 20 Aug 2013 06:24:19 UTC +00:00], ["gsm", "MyString"], ["mail", "MyString"], ["member_id", 819299061], ["office", "MyString"], ["tel", "MyString"], ["updated_at", Tue, 20 Aug 2013 06:24:19 UTC +00:00], ["zip", "MyString"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/adhesions/new Completed 302 Found in 16ms (ActiveRecord: 2.5ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.3ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#destroy as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/coords Completed 302 Found in 6ms (ActiveRecord: 2.1ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (9.8ms) Rendered layouts/adherent/_header.html.haml (0.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 25ms (Views: 21.8ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#index as HTML 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 6ms (Views: 4.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:24:19.111463' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (12.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 24ms (Views: 18.8ms | ActiveRecord: 0.9ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Rendered layouts/adherent/_header.html.haml (1.8ms) 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 10ms (Views: 6.9ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#update as HTML Parameters: {"member_id"=>"819299061", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"} Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/coord Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (1.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}  (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" IS NULL) 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", Tue, 20 Aug 2013 06:24:19 UTC +00:00], ["forname", "Capitaine"], ["name", "Haddock"], ["number", "Adh002"], ["organism_id", nil], ["updated_at", Tue, 20 Aug 2013 06:24:19 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.5ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.4ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 7ms (ActiveRecord: 0.8ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"   (0.0ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (7.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 23ms (Views: 19.7ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 38ms (Views: 29.9ms | ActiveRecord: 3.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (2.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (11.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 23ms (Views: 18.0ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] 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 14ms (Views: 8.5ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 9ms (ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.9ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] Rendered layouts/adherent/_header.html.haml (1.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 12ms (Views: 7.7ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (1.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (4.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 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: 34.0ms | ActiveRecord: 8.4ms)  (0.8ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (8.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 21ms (Views: 13.5ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] 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: 4.1ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 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" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"980190962"} Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (54.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 77ms (Views: 60.2ms | ActiveRecord: 3.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-20 06:28:27', '2013-08-20 06:28:27', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-20 06:28:27', '2013-08-20 06:28:27', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-20 06:28:27', '2013-08-20 06:28:27', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-20 06:28:27', '2013-08-20 06:28:27', 743257894) Fixture Delete (0.4ms) DELETE FROM "adherent_payments" Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-20 06:28:27', '2013-08-20 06:28:27', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-20 06:28:27', '2013-08-20 06:28:27', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-20 06:28:27', '2013-08-20 06:28:27', 973176020) Fixture Delete (0.1ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 819299061, '2013-08-20 06:28:27', '2013-08-20 06:28:27', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 743257894, '2013-08-20 06:28:27', '2013-08-20 06:28:27', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 06:28:27', '2013-08-20 06:28:27', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 06:28:27', '2013-08-20 06:28:27', 298486374)  (42.0ms) COMMIT  (0.8ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.4ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Tue, 20 Aug 2013 06:28:27 UTC +00:00], ["from_date", Tue, 20 Aug 2013], ["member_id", 743257894], ["to_date", Tue, 19 Aug 2014], ["updated_at", Tue, 20 Aug 2013 06:28:27 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" = 743257894 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (53.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/edit.html.erb within layouts/adherent/application (57.8ms) Rendered layouts/adherent/_header.html.haml (0.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (1.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 84ms (Views: 73.4ms | ActiveRecord: 2.1ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Rendered layouts/adherent/_header.html.haml (1.6ms) 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 24ms (Views: 19.0ms | ActiveRecord: 2.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 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 15ms (Views: 9.9ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]] 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.2ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:28:28.198781' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.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", "MyText"], ["city", "MyString"], ["created_at", Tue, 20 Aug 2013 06:28:28 UTC +00:00], ["gsm", "MyString"], ["mail", "MyString"], ["member_id", 819299061], ["office", "MyString"], ["tel", "MyString"], ["updated_at", Tue, 20 Aug 2013 06:28:28 UTC +00:00], ["zip", "MyString"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/adhesions/new Completed 302 Found in 15ms (ActiveRecord: 2.0ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#destroy as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]  (1.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/coords Completed 302 Found in 7ms (ActiveRecord: 1.8ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (12.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 26ms (Views: 23.1ms | ActiveRecord: 0.4ms)  (0.0ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#index as HTML 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 7ms (Views: 4.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:28:28.278674' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.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 21ms (Views: 14.5ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 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 10ms (Views: 6.9ms | ActiveRecord: 0.4ms)  (0.0ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#update as HTML Parameters: {"member_id"=>"819299061", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/coord Completed 302 Found in 5ms (ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (1.7ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}  (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" IS NULL) 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", Tue, 20 Aug 2013 06:28:28 UTC +00:00], ["forname", "Capitaine"], ["name", "Haddock"], ["number", "Adh002"], ["organism_id", nil], ["updated_at", Tue, 20 Aug 2013 06:28:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 10ms (ActiveRecord: 2.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_members"   (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (7.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 19ms (Views: 16.3ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 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 22ms (Views: 16.4ms | ActiveRecord: 3.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (6.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 13ms (Views: 11.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] 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 8ms (Views: 5.0ms | ActiveRecord: 0.3ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 7ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.5ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] 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: 4.6ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (1.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 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: 19.4ms | ActiveRecord: 4.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (8.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 23ms (Views: 15.2ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] 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 6ms (Views: 3.4ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.7ms) ROLLBACK Connecting to database specified by database.yml  (0.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-20 06:28:49', '2013-08-20 06:28:49', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-20 06:28:49', '2013-08-20 06:28:49', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-20 06:28:49', '2013-08-20 06:28:49', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-20 06:28:49', '2013-08-20 06:28:49', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-20 06:28:49', '2013-08-20 06:28:49', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-20 06:28:49', '2013-08-20 06:28:49', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-20 06:28:49', '2013-08-20 06:28:49', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 819299061, '2013-08-20 06:28:49', '2013-08-20 06:28:49', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 743257894, '2013-08-20 06:28:49', '2013-08-20 06:28:49', 298486374) Fixture Delete (0.5ms) DELETE FROM "adherent_reglements" Fixture Insert (4.9ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 06:28:49', '2013-08-20 06:28:49', 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 06:28:49', '2013-08-20 06:28:49', 298486374)  (34.8ms) COMMIT  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Tue, 20 Aug 2013 06:28:49 UTC +00:00], ["from_date", Tue, 20 Aug 2013], ["member_id", 743257894], ["to_date", Tue, 19 Aug 2014], ["updated_at", Tue, 20 Aug 2013 06:28:49 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" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (1.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (67.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/edit.html.erb within layouts/adherent/application (72.4ms) Rendered layouts/adherent/_header.html.haml (1.0ms) 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.3ms) Completed 200 OK in 105ms (Views: 89.8ms | ActiveRecord: 3.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 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: 34.3ms | ActiveRecord: 3.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (1.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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: 15.5ms | ActiveRecord: 2.4ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]] 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 11ms (Views: 4.1ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.3ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "member_id"=>"819299061"} Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:28:49.702315' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) 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", "MyText"], ["city", "MyString"], ["created_at", Tue, 20 Aug 2013 06:28:49 UTC +00:00], ["gsm", "MyString"], ["mail", "MyString"], ["member_id", 819299061], ["office", "MyString"], ["tel", "MyString"], ["updated_at", Tue, 20 Aug 2013 06:28:49 UTC +00:00], ["zip", "MyString"]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/adhesions/new Completed 302 Found in 23ms (ActiveRecord: 3.7ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#destroy as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/coords Completed 302 Found in 6ms (ActiveRecord: 0.9ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (10.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 26ms (Views: 22.4ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#index as HTML Rendered layouts/adherent/_header.html.haml (1.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.3ms) Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 06:28:49.789759' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.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 19ms (Views: 12.8ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 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 11ms (Views: 7.6ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#update as HTML Parameters: {"member_id"=>"819299061", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"} Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (1.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/coord Completed 302 Found in 6ms (ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (1.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.0ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}  (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" IS NULL) 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", Tue, 20 Aug 2013 06:28:49 UTC +00:00], ["forname", "Capitaine"], ["name", "Haddock"], ["number", "Adh002"], ["organism_id", nil], ["updated_at", Tue, 20 Aug 2013 06:28:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 9ms (ActiveRecord: 1.1ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"   (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (7.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: 13.2ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 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 20ms (Views: 16.1ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.0ms) Completed 200 OK in 12ms (Views: 10.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (3.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] 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.4ms | ActiveRecord: 3.4ms)  (1.0ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (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"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 5ms (ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.9ms) BEGIN Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] 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: 4.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 Adherent::Reglement Load (4.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (7.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 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 54ms (Views: 37.8ms | ActiveRecord: 14.2ms)  (4.8ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (1.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (18.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 33ms (Views: 26.1ms | ActiveRecord: 2.4ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] 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 7ms (Views: 3.8ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"amount"=>"100", "adhesion_id"=>"980190962"}, "payment_id"=>"980190962"} Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) 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", 980190962], ["amount", #], ["created_at", Tue, 20 Aug 2013 06:28:50 UTC +00:00], ["payment_id", 980190962], ["updated_at", Tue, 20 Aug 2013 06:28:50 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" = 819299061 LIMIT 1 Redirected to http://test.host/adherent/members/819299061/payments Completed 302 Found in 18ms (ActiveRecord: 2.0ms)  (4.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"980190962"} Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 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" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (29.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 45ms (Views: 35.9ms | ActiveRecord: 3.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-20 07:41:29', '2013-08-20 07:41:29', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-20 07:41:29', '2013-08-20 07:41:29', 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-20 07:41:29', '2013-08-20 07:41:29', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-20 07:41:29', '2013-08-20 07:41:29', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-20 07:41:29', '2013-08-20 07:41:29', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-20 07:41:29', '2013-08-20 07:41:29', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-20 07:41:29', '2013-08-20 07:41:29', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.3ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 819299061, '2013-08-20 07:41:29', '2013-08-20 07:41:29', 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 743257894, '2013-08-20 07:41:29', '2013-08-20 07:41:29', 298486374) Fixture Delete (0.4ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 07:41:29', '2013-08-20 07:41:29', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 07:41:29', '2013-08-20 07:41:29', 298486374)  (60.7ms) COMMIT  (0.8ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (13.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", #], ["created_at", Tue, 20 Aug 2013 07:41:29 UTC +00:00], ["from_date", Tue, 20 Aug 2013], ["member_id", 743257894], ["to_date", Tue, 19 Aug 2014], ["updated_at", Tue, 20 Aug 2013 07:41:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (5.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.4ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (141.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/edit.html.erb within layouts/adherent/application (149.7ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 183ms (Views: 165.2ms | ActiveRecord: 6.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 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 25ms (Views: 19.7ms | ActiveRecord: 2.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (5.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 14ms (Views: 9.5ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]] 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 8ms (Views: 3.0ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.4ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 07:41:30.173725' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.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", "MyText"], ["city", "MyString"], ["created_at", Tue, 20 Aug 2013 07:41:30 UTC +00:00], ["gsm", "MyString"], ["mail", "MyString"], ["member_id", 819299061], ["office", "MyString"], ["tel", "MyString"], ["updated_at", Tue, 20 Aug 2013 07:41:30 UTC +00:00], ["zip", "MyString"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/adhesions/new Completed 302 Found in 13ms (ActiveRecord: 2.2ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.6ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#destroy as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/coords Completed 302 Found in 7ms (ActiveRecord: 2.0ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (1.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (15.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 31ms (Views: 28.3ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#index as HTML 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 6ms (Views: 4.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (1.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 07:41:30.260395' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (9.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 21ms (Views: 14.5ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (1.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 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 13ms (Views: 5.4ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#update as HTML Parameters: {"member_id"=>"819299061", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/coord Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (2.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}  (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" IS NULL) 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", Tue, 20 Aug 2013 07:41:30 UTC +00:00], ["forname", "Capitaine"], ["name", "Haddock"], ["number", "Adh002"], ["organism_id", nil], ["updated_at", Tue, 20 Aug 2013 07:41:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 7ms (ActiveRecord: 1.0ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (5.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 10ms (ActiveRecord: 5.6ms)  (0.8ms) SELECT COUNT(*) FROM "adherent_members"   (0.9ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (2.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (14.7ms) 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 39ms (Views: 35.1ms | ActiveRecord: 2.4ms)  (1.4ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (2.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (5.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (3.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (1.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (1.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (2.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 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 49ms (Views: 27.2ms | ActiveRecord: 17.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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 13ms (Views: 12.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] 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 10ms (Views: 8.1ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 7ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.3ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] 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 10ms (Views: 5.2ms | ActiveRecord: 0.7ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.8ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 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 29ms (Views: 23.4ms | ActiveRecord: 3.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (10.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 24ms (Views: 16.0ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] 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 7ms (Views: 4.1ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"amount"=>"9", "adhesion_id"=>"980190962"}, "payment_id"=>"980190962"} Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]]  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (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", 980190962], ["amount", #], ["created_at", Tue, 20 Aug 2013 07:41:30 UTC +00:00], ["payment_id", 980190962], ["updated_at", Tue, 20 Aug 2013 07:41:30 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" = 819299061 LIMIT 1 Redirected to http://test.host/adherent/members/819299061/payments Completed 302 Found in 21ms (ActiveRecord: 2.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"980190962"} Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (14.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 70ms (Views: 22.1ms | ActiveRecord: 3.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (1.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.5ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-20 07:43:06', '2013-08-20 07:43:06', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-20 07:43:06', '2013-08-20 07:43:06', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-20 07:43:06', '2013-08-20 07:43:06', 819299061) Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-20 07:43:06', '2013-08-20 07:43:06', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-20 07:43:06', '2013-08-20 07:43:06', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-20 07:43:06', '2013-08-20 07:43:06', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-20 07:43:06', '2013-08-20 07:43:06', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 819299061, '2013-08-20 07:43:06', '2013-08-20 07:43:06', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 743257894, '2013-08-20 07:43:06', '2013-08-20 07:43:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 07:43:06', '2013-08-20 07:43:06', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 07:43:06', '2013-08-20 07:43:06', 298486374)  (15.5ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Tue, 20 Aug 2013 07:43:06 UTC +00:00], ["from_date", Tue, 20 Aug 2013], ["member_id", 743257894], ["to_date", Tue, 19 Aug 2014], ["updated_at", Tue, 20 Aug 2013 07:43:06 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" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.4ms) ROLLBACK  (0.1ms) BEGIN [35m (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (53.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/edit.html.erb within layouts/adherent/application (58.3ms) Rendered layouts/adherent/_header.html.haml (0.9ms) 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.0ms) Completed 200 OK in 87ms (Views: 75.5ms | ActiveRecord: 2.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 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.3ms) Completed 200 OK in 25ms (Views: 19.7ms | ActiveRecord: 2.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 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.0ms) Completed 200 OK in 16ms (Views: 9.7ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (1.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]] 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 9ms (Views: 4.0ms | ActiveRecord: 2.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.1ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 07:43:07.064491' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_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", "MyText"], ["city", "MyString"], ["created_at", Tue, 20 Aug 2013 07:43:07 UTC +00:00], ["gsm", "MyString"], ["mail", "MyString"], ["member_id", 819299061], ["office", "MyString"], ["tel", "MyString"], ["updated_at", Tue, 20 Aug 2013 07:43:07 UTC +00:00], ["zip", "MyString"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/adhesions/new Completed 302 Found in 17ms (ActiveRecord: 2.4ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#destroy as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/coords Completed 302 Found in 6ms (ActiveRecord: 1.8ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (11.3ms) Rendered layouts/adherent/_header.html.haml (0.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 25ms (Views: 22.1ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#index as HTML 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 7ms (Views: 5.6ms | ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 07:43:07.144247' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (9.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 21ms (Views: 15.8ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (1.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 11ms (Views: 7.7ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#update as HTML Parameters: {"member_id"=>"819299061", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/coord Completed 302 Found in 5ms (ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}  (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" IS NULL) 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", Tue, 20 Aug 2013 07:43:07 UTC +00:00], ["forname", "Capitaine"], ["name", "Haddock"], ["number", "Adh002"], ["organism_id", nil], ["updated_at", Tue, 20 Aug 2013 07:43:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 10ms (ActiveRecord: 1.8ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_members"   (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (9.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 18ms (Views: 15.9ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 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 20ms (Views: 16.8ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (6.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 12ms (Views: 10.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] 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 10ms (Views: 7.8ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 6ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] 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: 7.4ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 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: 21.7ms | ActiveRecord: 2.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (10.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.0ms) Completed 200 OK in 23ms (Views: 17.1ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] 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 7ms (Views: 3.2ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>{"amount"=>"9", "id"=>"980190962"}}, "payment_id"=>"980190962"} Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] Completed 500 Internal Server Error in 5ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"980190962"} Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Reglement Load (1.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (4.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (17.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 59ms (Views: 36.1ms | ActiveRecord: 8.7ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 151, 819299061, '2013-08-20 07:44:05', '2013-08-20 07:44:05', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-20 07:44:05', '2013-08-20 07:44:05', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-20 07:44:05', '2013-08-20 07:44:05', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-20 07:44:05', '2013-08-20 07:44:05', 743257894) Fixture Delete (0.3ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-20 07:44:05', '2013-08-20 07:44:05', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-20 07:44:05', '2013-08-20 07:44:05', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-20 07:44:05', '2013-08-20 07:44:05', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 819299061, '2013-08-20 07:44:05', '2013-08-20 07:44:05', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 743257894, '2013-08-20 07:44:05', '2013-08-20 07:44:05', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 07:44:05', '2013-08-20 07:44:05', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 07:44:05', '2013-08-20 07:44:05', 298486374)  (136.3ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.0ms) BEGIN  (8.6ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (2.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Tue, 20 Aug 2013 07:44:05 UTC +00:00], ["from_date", Tue, 20 Aug 2013], ["member_id", 743257894], ["to_date", Tue, 19 Aug 2014], ["updated_at", Tue, 20 Aug 2013 07:44:05 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.4ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (53.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/edit.html.erb within layouts/adherent/application (58.0ms) Rendered layouts/adherent/_header.html.haml (1.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 85ms (Views: 73.1ms | ActiveRecord: 2.4ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 24ms (Views: 19.5ms | ActiveRecord: 2.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 16ms (Views: 9.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]] 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: 3.3ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (1.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.3ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.5ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 07:44:06.037157' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.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", "MyText"], ["city", "MyString"], ["created_at", Tue, 20 Aug 2013 07:44:06 UTC +00:00], ["gsm", "MyString"], ["mail", "MyString"], ["member_id", 819299061], ["office", "MyString"], ["tel", "MyString"], ["updated_at", Tue, 20 Aug 2013 07:44:06 UTC +00:00], ["zip", "MyString"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/adhesions/new Completed 302 Found in 14ms (ActiveRecord: 1.9ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#destroy as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]  (0.5ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/coords Completed 302 Found in 14ms (ActiveRecord: 1.5ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (13.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 30ms (Views: 26.4ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#index as HTML Rendered layouts/adherent/_header.html.haml (0.9ms) 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: 17.9ms | ActiveRecord: 0.0ms)  (1.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (2.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (1.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (1.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 07:44:06.175573' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (12.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 32ms (Views: 16.9ms | ActiveRecord: 2.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 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 11ms (Views: 7.4ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#update as HTML Parameters: {"member_id"=>"819299061", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/coord Completed 302 Found in 13ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (1.7ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (2.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (3.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.9ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (4.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}  (0.5ms) 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" IS NULL) LIMIT 1 SQL (3.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", Tue, 20 Aug 2013 07:44:06 UTC +00:00], ["forname", "Capitaine"], ["name", "Haddock"], ["number", "Adh002"], ["organism_id", nil], ["updated_at", Tue, 20 Aug 2013 07:44:06 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 27ms (ActiveRecord: 5.0ms)  (3.2ms) SELECT COUNT(*) FROM "adherent_members"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (1.6ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (5.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (1.8ms) SAVEPOINT active_record_1 SQL (1.6ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 13ms (ActiveRecord: 9.2ms)  (3.1ms) SELECT COUNT(*) FROM "adherent_members"   (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (3.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (1.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (20.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 43ms (Views: 32.6ms | ActiveRecord: 1.3ms)  (4.8ms) ROLLBACK  (0.2ms) BEGIN Adherent::Member Load (1.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (6.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (3.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (1.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (2.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (2.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (1.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 LIMIT 1 Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (6.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.7ms) Completed 200 OK in 59ms (Views: 29.4ms | ActiveRecord: 17.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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 13ms (Views: 12.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] 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 11ms (Views: 7.2ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 8ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] 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: 4.2ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (2.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 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 29ms (Views: 22.6ms | ActiveRecord: 5.4ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (1.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (1.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (7.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 23ms (Views: 12.8ms | ActiveRecord: 3.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] 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 8ms (Views: 4.7ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"amount"=>"9", "adhesion_id"=>"980190962"}, "payment_id"=>"980190962"} Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) 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", 980190962], ["amount", #], ["created_at", Tue, 20 Aug 2013 07:44:06 UTC +00:00], ["payment_id", 980190962], ["updated_at", Tue, 20 Aug 2013 07:44:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1 Redirected to http://test.host/adherent/members/819299061/payments Completed 302 Found in 20ms (ActiveRecord: 2.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"980190962"} Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (51.1ms) 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 68ms (Views: 57.7ms | ActiveRecord: 3.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 8, 819299061, '2013-08-20 07:45:38', '2013-08-20 07:45:38', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-20 07:45:38', '2013-08-20 07:45:38', 298486374) Fixture Delete (0.4ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-20 07:45:38', '2013-08-20 07:45:38', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-20 07:45:38', '2013-08-20 07:45:38', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-20 07:45:38', '2013-08-20 07:45:38', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-20 07:45:38', '2013-08-20 07:45:38', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-20 07:45:38', '2013-08-20 07:45:38', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 819299061, '2013-08-20 07:45:38', '2013-08-20 07:45:38', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 743257894, '2013-08-20 07:45:38', '2013-08-20 07:45:38', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 07:45:38', '2013-08-20 07:45:38', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 07:45:38', '2013-08-20 07:45:38', 298486374)  (68.2ms) COMMIT  (1.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.4ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Tue, 20 Aug 2013 07:45:38 UTC +00:00], ["from_date", Tue, 20 Aug 2013], ["member_id", 743257894], ["to_date", Tue, 19 Aug 2014], ["updated_at", Tue, 20 Aug 2013 07:45:38 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" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (52.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/edit.html.erb within layouts/adherent/application (58.3ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.8ms) Completed 200 OK in 85ms (Views: 72.2ms | ActiveRecord: 3.7ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 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 28ms (Views: 23.1ms | ActiveRecord: 2.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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: 11.6ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]] Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 7ms (Views: 3.8ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.3ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "member_id"=>"819299061"} Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 07:45:39.156713' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.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", "MyText"], ["city", "MyString"], ["created_at", Tue, 20 Aug 2013 07:45:39 UTC +00:00], ["gsm", "MyString"], ["mail", "MyString"], ["member_id", 819299061], ["office", "MyString"], ["tel", "MyString"], ["updated_at", Tue, 20 Aug 2013 07:45:39 UTC +00:00], ["zip", "MyString"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/adhesions/new Completed 302 Found in 14ms (ActiveRecord: 2.2ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#destroy as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/coords Completed 302 Found in 6ms (ActiveRecord: 1.1ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (12.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 25ms (Views: 22.3ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#index as HTML 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 6ms (Views: 4.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 07:45:39.238145' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.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: 12.8ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 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 11ms (Views: 8.3ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#update as HTML Parameters: {"member_id"=>"819299061", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/coord Completed 302 Found in 5ms (ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}  (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" IS NULL) 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", Tue, 20 Aug 2013 07:45:39 UTC +00:00], ["forname", "Capitaine"], ["name", "Haddock"], ["number", "Adh002"], ["organism_id", nil], ["updated_at", Tue, 20 Aug 2013 07:45:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.1ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.3ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.6ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_members"   (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (6.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 16ms (Views: 13.2ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 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.2ms) Completed 200 OK in 22ms (Views: 17.8ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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 (1.5ms) Completed 200 OK in 13ms (Views: 10.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] 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 7ms (Views: 4.9ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 6ms (ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (1.0ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] 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: 4.6ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 Adherent::Reglement Load (0.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 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: 21.9ms | ActiveRecord: 3.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (9.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 23ms (Views: 15.6ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] 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 7ms (Views: 4.3ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"980190962"}, "payment_id"=>"980190962"} Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980190962], ["amount", #], ["created_at", Tue, 20 Aug 2013 07:45:39 UTC +00:00], ["payment_id", 980190962], ["updated_at", Tue, 20 Aug 2013 07:45:39 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" = 819299061 LIMIT 1 Redirected to http://test.host/adherent/members/819299061/payments Completed 302 Found in 17ms (ActiveRecord: 2.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"980190962"} Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 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" = 980190962  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Reglement Load (3.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (15.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 41ms (Views: 24.1ms | ActiveRecord: 7.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 8, 819299061, '2013-08-20 07:49:15', '2013-08-20 07:49:15', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-20 07:49:15', '2013-08-20 07:49:15', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-20 07:49:15', '2013-08-20 07:49:15', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-20 07:49:15', '2013-08-20 07:49:15', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-20 07:49:15', '2013-08-20 07:49:15', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-20 07:49:15', '2013-08-20 07:49:15', 298486374) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-20 07:49:15', '2013-08-20 07:49:15', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 819299061, '2013-08-20 07:49:15', '2013-08-20 07:49:15', 980190962) Fixture Insert (0.0ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 743257894, '2013-08-20 07:49:15', '2013-08-20 07:49:15', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 07:49:15', '2013-08-20 07:49:15', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 07:49:15', '2013-08-20 07:49:15', 298486374)  (27.0ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Tue, 20 Aug 2013 07:49:15 UTC +00:00], ["from_date", Tue, 20 Aug 2013], ["member_id", 743257894], ["to_date", Tue, 19 Aug 2014], ["updated_at", Tue, 20 Aug 2013 07:49:15 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" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (59.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/edit.html.erb within layouts/adherent/application (64.4ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (1.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.2ms) Completed 200 OK in 91ms (Views: 78.5ms | ActiveRecord: 3.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 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: 21.8ms | ActiveRecord: 2.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 16ms (Views: 10.7ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]] 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 7ms (Views: 3.2ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (1.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.1ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.4ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 07:49:15.402339' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.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", "MyText"], ["city", "MyString"], ["created_at", Tue, 20 Aug 2013 07:49:15 UTC +00:00], ["gsm", "MyString"], ["mail", "MyString"], ["member_id", 819299061], ["office", "MyString"], ["tel", "MyString"], ["updated_at", Tue, 20 Aug 2013 07:49:15 UTC +00:00], ["zip", "MyString"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/adhesions/new Completed 302 Found in 14ms (ActiveRecord: 2.0ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.0ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (1.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#destroy as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/coords Completed 302 Found in 7ms (ActiveRecord: 1.2ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (12.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 25ms (Views: 22.2ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#index as HTML 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 6ms (Views: 4.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 07:49:15.482627' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.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 21ms (Views: 12.6ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Rendered layouts/adherent/_header.html.haml (0.4ms) 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.6ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#update as HTML Parameters: {"member_id"=>"819299061", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/coord Completed 302 Found in 5ms (ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" IS NULL) 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", Tue, 20 Aug 2013 07:49:15 UTC +00:00], ["forname", "Capitaine"], ["name", "Haddock"], ["number", "Adh002"], ["organism_id", nil], ["updated_at", Tue, 20 Aug 2013 07:49:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 9ms (ActiveRecord: 1.8ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (1.4ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"   (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (14.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 33ms (Views: 31.2ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 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 19ms (Views: 14.2ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML 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 13ms (Views: 10.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] 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 8ms (Views: 5.9ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 7ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.3ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (1.0ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (1.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] 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: 5.1ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 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: 20.5ms | ActiveRecord: 2.7ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (8.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 23ms (Views: 13.3ms | ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] 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 9ms (Views: 5.0ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"980190962"}, "payment_id"=>"980190962"} Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (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", 980190962], ["amount", #], ["created_at", Tue, 20 Aug 2013 07:49:15 UTC +00:00], ["payment_id", 980190962], ["updated_at", Tue, 20 Aug 2013 07:49:15 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" = 819299061 LIMIT 1 Redirected to http://test.host/adherent/members/819299061/payments Completed 302 Found in 20ms (ActiveRecord: 2.0ms)  (0.0ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"980190962"} Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 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" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Reglement Load (0.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (16.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.5ms) Completed 200 OK in 42ms (Views: 33.1ms | ActiveRecord: 3.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "adherent_adhesions" Fixture Insert (1.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 8, 819299061, '2013-08-20 07:50:15', '2013-08-20 07:50:15', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-20 07:50:15', '2013-08-20 07:50:15', 298486374) Fixture Delete (0.5ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-20 07:50:15', '2013-08-20 07:50:15', 819299061) Fixture Insert (1.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-20 07:50:15', '2013-08-20 07:50:15', 743257894) Fixture Delete (0.4ms) DELETE FROM "adherent_payments" Fixture Insert (0.4ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-20 07:50:15', '2013-08-20 07:50:15', 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-20 07:50:15', '2013-08-20 07:50:15', 298486374) Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-20 07:50:15', '2013-08-20 07:50:15', 973176020) Fixture Delete (0.3ms) DELETE FROM "adherent_coords" Fixture Insert (0.4ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 819299061, '2013-08-20 07:50:15', '2013-08-20 07:50:15', 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 743257894, '2013-08-20 07:50:15', '2013-08-20 07:50:15', 298486374) Fixture Delete (0.4ms) DELETE FROM "adherent_reglements" Fixture Insert (0.3ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 07:50:15', '2013-08-20 07:50:15', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 07:50:15', '2013-08-20 07:50:15', 298486374)  (83.4ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Tue, 20 Aug 2013 07:50:15 UTC +00:00], ["from_date", Tue, 20 Aug 2013], ["member_id", 743257894], ["to_date", Tue, 19 Aug 2014], ["updated_at", Tue, 20 Aug 2013 07:50:15 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" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.4ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (52.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/edit.html.erb within layouts/adherent/application (57.4ms) Rendered layouts/adherent/_header.html.haml (0.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 83ms (Views: 71.9ms | ActiveRecord: 2.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 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: 20.7ms | ActiveRecord: 2.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (7.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 20ms (Views: 12.5ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]] 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 7ms (Views: 3.4ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 07:50:15.680250' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.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", "MyText"], ["city", "MyString"], ["created_at", Tue, 20 Aug 2013 07:50:15 UTC +00:00], ["gsm", "MyString"], ["mail", "MyString"], ["member_id", 819299061], ["office", "MyString"], ["tel", "MyString"], ["updated_at", Tue, 20 Aug 2013 07:50:15 UTC +00:00], ["zip", "MyString"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/adhesions/new Completed 302 Found in 13ms (ActiveRecord: 1.8ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#destroy as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/coords Completed 302 Found in 5ms (ActiveRecord: 1.1ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (12.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 27ms (Views: 24.2ms | ActiveRecord: 0.5ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#index as HTML Rendered layouts/adherent/_header.html.haml (0.6ms) 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 10ms (Views: 9.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 07:50:15.766510' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (10.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 22ms (Views: 15.0ms | ActiveRecord: 1.2ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 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 10ms (Views: 6.6ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#update as HTML Parameters: {"member_id"=>"819299061", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"} Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/coord Completed 302 Found in 7ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}  (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" IS NULL) 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", Tue, 20 Aug 2013 07:50:15 UTC +00:00], ["forname", "Capitaine"], ["name", "Haddock"], ["number", "Adh002"], ["organism_id", nil], ["updated_at", Tue, 20 Aug 2013 07:50:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.1ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  (0.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 7ms (ActiveRecord: 1.7ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"   (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (6.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 15ms (Views: 13.2ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 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 19ms (Views: 14.0ms | ActiveRecord: 2.6ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (6.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 14ms (Views: 12.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] 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 7ms (Views: 5.7ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.3ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 8ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] 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.3ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 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 26ms (Views: 21.6ms | ActiveRecord: 2.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (8.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 23ms (Views: 13.0ms | ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 10ms (Views: 5.7ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"980190962"}, "payment_id"=>"980190962"} Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980190962], ["amount", #], ["created_at", Tue, 20 Aug 2013 07:50:16 UTC +00:00], ["payment_id", 980190962], ["updated_at", Tue, 20 Aug 2013 07:50:16 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" = 819299061 LIMIT 1 Redirected to http://test.host/adherent/members/819299061/payments Completed 302 Found in 28ms (ActiveRecord: 3.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"980190962"} Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 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" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Reglement Load (1.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962 Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (18.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 51ms (Views: 33.4ms | ActiveRecord: 4.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 8, 819299061, '2013-08-20 07:50:38', '2013-08-20 07:50:38', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-20 07:50:38', '2013-08-20 07:50:38', 298486374) Fixture Delete (0.4ms) DELETE FROM "adherent_members" Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-20 07:50:38', '2013-08-20 07:50:38', 819299061) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-20 07:50:38', '2013-08-20 07:50:38', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-20 07:50:38', '2013-08-20 07:50:38', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-20 07:50:38', '2013-08-20 07:50:38', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-20 07:50:38', '2013-08-20 07:50:38', 973176020) Fixture Delete (0.3ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 819299061, '2013-08-20 07:50:38', '2013-08-20 07:50:38', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 743257894, '2013-08-20 07:50:38', '2013-08-20 07:50:38', 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 07:50:38', '2013-08-20 07:50:38', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-20 07:50:38', '2013-08-20 07:50:38', 298486374)  (31.0ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (1.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Tue, 20 Aug 2013 07:50:38 UTC +00:00], ["from_date", Tue, 20 Aug 2013], ["member_id", 743257894], ["to_date", Tue, 19 Aug 2014], ["updated_at", Tue, 20 Aug 2013 07:50:38 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" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (54.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/edit.html.erb within layouts/adherent/application (58.5ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 85ms (Views: 72.9ms | ActiveRecord: 2.4ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 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: 21.3ms | ActiveRecord: 2.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 14ms (Views: 9.5ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::AdhesionsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]] 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 7ms (Views: 3.6ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (1.5ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.3ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 07:50:38.750544' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) 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", "MyText"], ["city", "MyString"], ["created_at", Tue, 20 Aug 2013 07:50:38 UTC +00:00], ["gsm", "MyString"], ["mail", "MyString"], ["member_id", 819299061], ["office", "MyString"], ["tel", "MyString"], ["updated_at", Tue, 20 Aug 2013 07:50:38 UTC +00:00], ["zip", "MyString"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/adhesions/new Completed 302 Found in 13ms (ActiveRecord: 2.5ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.3ms) SELECT COUNT(*) FROM "adherent_coords" Processing by Adherent::CoordsController#destroy as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", "980190962"]]  (2.5ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190962]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/coords Completed 302 Found in 7ms (ActiveRecord: 3.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (14.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 30ms (Views: 26.2ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#index as HTML 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 7ms (Views: 5.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) UPDATE "adherent_coords" SET "member_id" = NULL, "updated_at" = '2013-08-20 07:50:38.836146' WHERE "adherent_coords"."id" = 980190962  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.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 22ms (Views: 12.9ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 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 12ms (Views: 9.2ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Coord Load (0.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::CoordsController#update as HTML Parameters: {"member_id"=>"819299061", "coord"=>{"address"=>"MyText", "city"=>"MyString", "gsm"=>"MyString", "mail"=>"MyString", "office"=>"MyString", "tel"=>"MyString", "zip"=>"MyString"}, "id"=>"980190962"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1  (0.0ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061/coord Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK  (0.2ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"number"=>"Adh002", "name"=>"Haddock", "forname"=>"Capitaine"}}  (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" IS NULL) 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", Tue, 20 Aug 2013 07:50:38 UTC +00:00], ["forname", "Capitaine"], ["name", "Haddock"], ["number", "Adh002"], ["organism_id", nil], ["updated_at", Tue, 20 Aug 2013 07:50:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299062/coord/new Completed 302 Found in 10ms (ActiveRecord: 1.2ms)  (0.8ms) SELECT COUNT(*) FROM "adherent_members"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]]  (0.2ms) SELECT COUNT(*) FROM "adherent_members" Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299061]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 6ms (ActiveRecord: 0.9ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_members"   (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (7.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 19ms (Views: 16.0ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299061 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 743257894 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.2ms) Completed 200 OK in 24ms (Views: 19.0ms | ActiveRecord: 3.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (14.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 22ms (Views: 20.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] 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: 7.1ms | ActiveRecord: 0.3ms)  (1.0ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"birthdate"=>"06/06/1955", "forname"=>"Jean Claude", "name"=>"Lepage", "number"=>"001"}, "id"=>"819299061"} Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]]  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."id" != 819299061 AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299061 Completed 302 Found in 9ms (ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] 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: 7.6ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 973176020 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: 21.2ms | ActiveRecord: 2.6ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"819299061"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299061  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 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.3ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"819299061", "id"=>"980190962"} Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299061"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299061 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] 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 6ms (Views: 3.4ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"980190962"}, "payment_id"=>"980190962"} Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "980190962"]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (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", 980190962], ["amount", #], ["created_at", Tue, 20 Aug 2013 07:50:39 UTC +00:00], ["payment_id", 980190962], ["updated_at", Tue, 20 Aug 2013 07:50:39 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" = 819299061 LIMIT 1 Redirected to http://test.host/adherent/members/819299061/payments Completed 302 Found in 21ms (ActiveRecord: 2.0ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", 980190962]] Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"980190962"} Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "980190962"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Adhesion Load (6.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (4.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190962 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190962 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299061 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298486374 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (42.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 71ms (Views: 48.6ms | ActiveRecord: 14.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (87.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (68.0ms) DELETE FROM "adherent_adhesions" Fixture Insert (52.9ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 8, 819299061, '2013-08-21 08:36:05', '2013-08-21 08:36:05', 980190962) Fixture Insert (0.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-21 08:36:05', '2013-08-21 08:36:05', 298486374) Fixture Delete (15.7ms) DELETE FROM "adherent_members" Fixture Insert (36.0ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-21 08:36:05', '2013-08-21 08:36:05', 819299061) Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-21 08:36:05', '2013-08-21 08:36:05', 743257894) Fixture Delete (0.3ms) DELETE FROM "adherent_payments" Fixture Insert (30.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-21 08:36:05', '2013-08-21 08:36:05', 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-21 08:36:05', '2013-08-21 08:36:05', 298486374) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-21 08:36:05', '2013-08-21 08:36:05', 973176020) Fixture Delete (14.2ms) DELETE FROM "adherent_coords" Fixture Insert (2.4ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 819299061, '2013-08-21 08:36:05', '2013-08-21 08:36:05', 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 743257894, '2013-08-21 08:36:05', '2013-08-21 08:36:05', 298486374) Fixture Delete (0.3ms) DELETE FROM "adherent_reglements" Fixture Insert (28.8ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-21 08:36:05', '2013-08-21 08:36:05', 980190962) Fixture Insert (0.3ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-21 08:36:05', '2013-08-21 08:36:05', 298486374)  (22.6ms) COMMIT  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.1ms) BEGIN Adherent::Member Load (45.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (23.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.5ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 8, 819299061, '2013-08-21 08:36:35', '2013-08-21 08:36:35', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-21 08:36:35', '2013-08-21 08:36:35', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-21 08:36:35', '2013-08-21 08:36:35', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-21 08:36:35', '2013-08-21 08:36:35', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-21 08:36:35', '2013-08-21 08:36:35', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-21 08:36:35', '2013-08-21 08:36:35', 298486374) Fixture Insert (48.6ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-21 08:36:35', '2013-08-21 08:36:35', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 819299061, '2013-08-21 08:36:35', '2013-08-21 08:36:35', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 743257894, '2013-08-21 08:36:35', '2013-08-21 08:36:35', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-21 08:36:35', '2013-08-21 08:36:35', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-21 08:36:35', '2013-08-21 08:36:35', 298486374)  (13.8ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (11.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (43.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", #], ["created_at", Wed, 21 Aug 2013 08:36:35 UTC +00:00], ["from_date", Wed, 21 Aug 2013], ["member_id", 743257894], ["to_date", Wed, 20 Aug 2014], ["updated_at", Wed, 21 Aug 2013 08:36: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" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (1.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (1.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.3ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 8, 819299061, '2013-08-21 08:36:55', '2013-08-21 08:36:55', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-21 08:36:55', '2013-08-21 08:36:55', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-21 08:36:55', '2013-08-21 08:36:55', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-21 08:36:55', '2013-08-21 08:36:55', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-21 08:36:55', '2013-08-21 08:36:55', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-21 08:36:55', '2013-08-21 08:36:55', 298486374) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-21 08:36:55', '2013-08-21 08:36:55', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 819299061, '2013-08-21 08:36:55', '2013-08-21 08:36:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 743257894, '2013-08-21 08:36:55', '2013-08-21 08:36:55', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-21 08:36:55', '2013-08-21 08:36:55', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-21 08:36:55', '2013-08-21 08:36:55', 298486374)  (36.5ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.8ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Wed, 21 Aug 2013 08:36:56 UTC +00:00], ["from_date", Wed, 21 Aug 2013], ["member_id", 743257894], ["to_date", Wed, 20 Aug 2014], ["updated_at", Wed, 21 Aug 2013 08:36:56 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" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.4ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.2ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 8, 819299061, '2013-08-21 08:37:48', '2013-08-21 08:37:48', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-21 08:37:48', '2013-08-21 08:37:48', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-21 08:37:48', '2013-08-21 08:37:48', 819299061) Fixture Insert (0.1ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-21 08:37:48', '2013-08-21 08:37:48', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-21 08:37:48', '2013-08-21 08:37:48', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-21 08:37:48', '2013-08-21 08:37:48', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-21 08:37:48', '2013-08-21 08:37:48', 973176020) Fixture Delete (0.3ms) DELETE FROM "adherent_coords" Fixture Insert (0.1ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 819299061, '2013-08-21 08:37:48', '2013-08-21 08:37:48', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 743257894, '2013-08-21 08:37:48', '2013-08-21 08:37:48', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-21 08:37:48', '2013-08-21 08:37:48', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-21 08:37:48', '2013-08-21 08:37:48', 298486374)  (43.6ms) COMMIT  (0.8ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (4.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Wed, 21 Aug 2013 08:37:48 UTC +00:00], ["from_date", Wed, 21 Aug 2013], ["member_id", 743257894], ["to_date", Wed, 20 Aug 2014], ["updated_at", Wed, 21 Aug 2013 08:37:48 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" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "adherent_adhesions" Fixture Insert (0.4ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-08-06', '2013-09-05', 8, 819299061, '2013-08-21 08:40:03', '2013-08-21 08:40:03', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_adhesions" ("from_date", "to_date", "amount", "member_id", "created_at", "updated_at", "id") VALUES ('2013-09-06', '2014-08-05', 125.23, 819299061, '2013-08-21 08:40:03', '2013-08-21 08:40:03', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_members" Fixture Insert (0.3ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('001', 'Lepage', 'Jean Claude', '1955-06-06', '2013-08-21 08:40:03', '2013-08-21 08:40:03', 819299061) Fixture Insert (0.2ms) INSERT INTO "adherent_members" ("number", "name", "forname", "birthdate", "created_at", "updated_at", "id") VALUES ('002', 'Dupont', 'Jules', '1952-06-15', '2013-08-21 08:40:03', '2013-08-21 08:40:03', 743257894) Fixture Delete (0.2ms) DELETE FROM "adherent_payments" Fixture Insert (0.2ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Chèque', 819299061, '2013-08-21 08:40:03', '2013-08-21 08:40:03', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', -9.99, 'CB', NULL, '2013-08-21 08:40:03', '2013-08-21 08:40:03', 298486374) Fixture Insert (0.1ms) INSERT INTO "adherent_payments" ("date", "amount", "mode", "member_id", "created_at", "updated_at", "id") VALUES ('08/08/2013', 9.99, 'Dessous de table', 819299061, '2013-08-21 08:40:03', '2013-08-21 08:40:03', 973176020) Fixture Delete (0.2ms) DELETE FROM "adherent_coords" Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 819299061, '2013-08-21 08:40:03', '2013-08-21 08:40:03', 980190962) Fixture Insert (0.2ms) INSERT INTO "adherent_coords" ("mail", "tel", "gsm", "office", "address", "zip", "city", "member_id", "created_at", "updated_at", "id") VALUES ('MyString', 'MyString', 'MyString', 'MyString', 'MyText', 'MyString', 'MyString', 743257894, '2013-08-21 08:40:03', '2013-08-21 08:40:03', 298486374) Fixture Delete (0.2ms) DELETE FROM "adherent_reglements" Fixture Insert (0.2ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-21 08:40:03', '2013-08-21 08:40:03', 980190962) Fixture Insert (0.1ms) INSERT INTO "adherent_reglements" ("amount", "created_at", "updated_at", "id") VALUES (9.99, '2013-08-21 08:40:03', '2013-08-21 08:40:03', 298486374)  (94.8ms) COMMIT  (2.0ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.4ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (1.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 743257894]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Wed, 21 Aug 2013 08:40:03 UTC +00:00], ["from_date", Wed, 21 Aug 2013], ["member_id", 743257894], ["to_date", Wed, 20 Aug 2014], ["updated_at", Wed, 21 Aug 2013 08:40:03 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" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743257894 ORDER BY to_date DESC LIMIT 1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '0011' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", 819299061]] Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 298486374]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", 973176020]]  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.0ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" IS NULL) 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" IS NULL) LIMIT 1  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" IS NULL) 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" IS NULL) LIMIT 1  (0.0ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" IS NULL AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" IS NULL AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1 SQL (100.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", Tue, 06 Jun 1944], ["created_at", Wed, 21 Aug 2013 09:45:04 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", nil], ["updated_at", Wed, 21 Aug 2013 09:45:04 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" IS NULL AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.2ms) ROLLBACK  (0.2ms) BEGIN Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" IS NULL) 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" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) 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" IS NULL) LIMIT 1 SQL (90.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", Tue, 06 Jun 1944], ["created_at", Wed, 21 Aug 2013 09:48:23 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", nil], ["updated_at", Wed, 21 Aug 2013 09:48:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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" IS NULL) 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", Wed, 21 Aug 2013 09:48:23 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", nil], ["updated_at", Wed, 21 Aug 2013 09:48:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.8ms) 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.0ms) 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.1ms) BEGIN 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  (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.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (32.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", Wed, 21 Aug 2013 09:53:39 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 09:53:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) 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", Wed, 21 Aug 2013 09:53:39 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 09:53:39 UTC +00:00]]  (0.1ms) RELEASE 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  (0.1ms) ROLLBACK  (0.0ms) 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", Wed, 21 Aug 2013 09:53:39 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 09:53:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 2) LIMIT 1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.8ms) 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.2ms) BEGIN 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  (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 (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", Tue, 06 Jun 1944], ["created_at", Wed, 21 Aug 2013 09:56:19 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 09:56:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) ROLLBACK  (0.0ms) 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", Wed, 21 Aug 2013 09:56:19 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 09:56:19 UTC +00:00]]  (0.1ms) RELEASE 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  (0.3ms) ROLLBACK  (0.0ms) 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", Wed, 21 Aug 2013 09:56:19 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 09:56:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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 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.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN Adherent::Adhesion Load (35.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.0ms) BEGIN  (3.0ms) ROLLBACK  (0.2ms) BEGIN Adherent::Member Exists (0.7ms) 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.1ms) 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.0ms) BEGIN Adherent::Member Exists (1.4ms) 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.4ms) 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.1ms) BEGIN  (1.9ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' 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", Wed, 21 Aug 2013 10:01:23 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 10:01:23 UTC +00:00]]  (0.3ms) RELEASE 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" = 2) LIMIT 1  (0.5ms) ROLLBACK  (0.0ms) 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.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", Wed, 21 Aug 2013 10:01:23 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 10:01:23 UTC +00:00]]  (0.1ms) RELEASE 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  (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.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", Tue, 06 Jun 1944], ["created_at", Wed, 21 Aug 2013 10:01:23 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 10:01:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.5ms) 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.7ms) 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.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.0ms) BEGIN Adherent::Member Exists (0.2ms) 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.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (15.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", Tue, 06 Jun 1944], ["created_at", Wed, 21 Aug 2013 10:05:00 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 10:05:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.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", Wed, 21 Aug 2013 10:05:00 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 10:05:00 UTC +00:00]]  (0.1ms) RELEASE 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  (0.1ms) ROLLBACK  (0.0ms) 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", Wed, 21 Aug 2013 10:05:00 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 10:05:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.5ms) BEGIN Adherent::Adhesion Load (18.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.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.0ms) BEGIN Adherent::Member Exists (0.6ms) 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.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.0ms) BEGIN Adherent::Member Exists (0.2ms) 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  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (33.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", Tue, 06 Jun 1944], ["created_at", Wed, 21 Aug 2013 10:05:30 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 10:05:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) 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", Wed, 21 Aug 2013 10:05:30 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 10:05:30 UTC +00:00]]  (0.1ms) RELEASE 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  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Wed, 21 Aug 2013 10:05:30 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 10:05:30 UTC +00:00]]  (0.1ms) RELEASE 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" = 2) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) 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.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Adherent::Member Exists (1.3ms) 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 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.0ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" IS NULL AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) ROLLBACK  (0.0ms) 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 (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", Tue, 06 Jun 1944], ["created_at", Wed, 21 Aug 2013 10:06:12 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 10:06:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) 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", Wed, 21 Aug 2013 10:06:12 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 10:06:12 UTC +00:00]]  (0.6ms) RELEASE 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  (0.1ms) ROLLBACK  (0.0ms) 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.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", Wed, 21 Aug 2013 10:06:12 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 10:06:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 2) LIMIT 1  (0.2ms) 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.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.8ms) 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.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.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.0ms) BEGIN Adherent::Member Exists (0.2ms) 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  (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 (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", Tue, 06 Jun 1944], ["created_at", Wed, 21 Aug 2013 10:06:57 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 10:06:57 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.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", Wed, 21 Aug 2013 10:06:57 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 10:06:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.0ms) BEGIN  (0.0ms) 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", Wed, 21 Aug 2013 10:06:57 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 10:06:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.0ms) BEGIN Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (1.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.0ms) BEGIN Adherent::Member Exists (0.2ms) 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.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.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.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) 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", Tue, 06 Jun 1944], ["created_at", Wed, 21 Aug 2013 10:09:13 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 10:09:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.0ms) 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", Wed, 21 Aug 2013 10:09:13 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 10:09:13 UTC +00:00]]  (0.7ms) RELEASE 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  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (1.0ms) 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", Wed, 21 Aug 2013 10:09:13 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 10:09:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.0ms) BEGIN Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.5ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.0ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (38.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (334.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", Wed, 21 Aug 2013 14:36:37 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 14:36:37 UTC +00:00]]  (1.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (52.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299089 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (43.8ms) 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", Wed, 21 Aug 2013 14:36:37 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299089], ["office", nil], ["tel", nil], ["updated_at", Wed, 21 Aug 2013 14:36:37 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  (0.5ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (8.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (6.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (15.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", Wed, 21 Aug 2013 14:37:13 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 14:37:13 UTC +00:00]]  (3.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299090 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) 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", Wed, 21 Aug 2013 14:37:13 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299090], ["office", nil], ["tel", nil], ["updated_at", Wed, 21 Aug 2013 14:37:13 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.4ms) 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.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (10.7ms) 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.0ms) BEGIN Adherent::Member Exists (0.2ms) 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.0ms) 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.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", Tue, 06 Jun 1944], ["created_at", Wed, 21 Aug 2013 14:37:13 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 14:37:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.0ms) 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.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", Wed, 21 Aug 2013 14:37:13 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 14:37:13 UTC +00:00]]  (0.5ms) RELEASE 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  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Wed, 21 Aug 2013 14:37:13 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 14:37:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.0ms) BEGIN Adherent::Adhesion Load (28.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' AND "adherent_members"."organism_id" = 1) 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", Wed, 21 Aug 2013 14:40:17 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 14:40:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299094 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", "Lille"], ["created_at", Wed, 21 Aug 2013 14:40:17 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299094], ["office", nil], ["tel", nil], ["updated_at", Wed, 21 Aug 2013 14:40:17 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.3ms) ROLLBACK  (0.2ms) BEGIN Adherent::Member Exists (0.0ms) 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.6ms) 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.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.0ms) BEGIN Adherent::Member Exists (0.2ms) 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.0ms) 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", Tue, 06 Jun 1944], ["created_at", Wed, 21 Aug 2013 14:40:17 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 14:40:17 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Wed, 21 Aug 2013 14:40:17 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 14:40:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.0ms) 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.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", Wed, 21 Aug 2013 14:40:17 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 14:40:17 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) 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.0ms) BEGIN Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (1.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (42.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", Wed, 21 Aug 2013 14:40:58 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 14:40:58 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (1.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299098 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", "Lille"], ["created_at", Wed, 21 Aug 2013 14:40:58 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299098], ["office", nil], ["tel", nil], ["updated_at", Wed, 21 Aug 2013 14:40:58 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.7ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (68.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", Wed, 21 Aug 2013 14:41:14 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 14:41:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299099 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", "Lille"], ["created_at", Wed, 21 Aug 2013 14:41:14 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299099], ["office", nil], ["tel", nil], ["updated_at", Wed, 21 Aug 2013 14:41:14 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) SELECT COUNT(*) FROM "adherent_coords"   (1.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (38.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", Wed, 21 Aug 2013 14:41:50 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 14:41:50 UTC +00:00]]  (3.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299100 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", "Lille"], ["created_at", Wed, 21 Aug 2013 14:41:50 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299100], ["office", nil], ["tel", nil], ["updated_at", Wed, 21 Aug 2013 14:41:50 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (85.9ms) SELECT COUNT(true) FROM "adherent_coords"   (0.7ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (34.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", Wed, 21 Aug 2013 14:46:51 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 14:46:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", Wed, 21 Aug 2013 14:46:51 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299101], ["office", nil], ["tel", nil], ["updated_at", Wed, 21 Aug 2013 14:46:51 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299101 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  (0.2ms) SELECT COUNT(*) FROM "adherent_members"   (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (34.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", Wed, 21 Aug 2013 14:47:36 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 14:47:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", Wed, 21 Aug 2013 14:47:36 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299102], ["office", nil], ["tel", nil], ["updated_at", Wed, 21 Aug 2013 14:47:36 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299102 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "adherent_coords" Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (1.2ms) SELECT COUNT(*) FROM "adherent_members"  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (64.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", Wed, 21 Aug 2013 14:48:10 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 14:48:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", Wed, 21 Aug 2013 14:48:10 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299103], ["office", nil], ["tel", nil], ["updated_at", Wed, 21 Aug 2013 14:48:10 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299103 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190971]] SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299103]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (0.2ms) SELECT COUNT(*) FROM "adherent_members"  (0.9ms) SELECT COUNT(*) FROM "adherent_coords"   (0.5ms) ROLLBACK Connecting to database specified by database.yml  (65.4ms) BEGIN  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (33.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (57.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) 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.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.4ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.8ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.6ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.6ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (1.2ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.4ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.6ms) ROLLBACK  (0.0ms) 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.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (25.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.8ms) SAVEPOINT active_record_1 SQL (226.6ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", nil], ["amount", #], ["created_at", Wed, 21 Aug 2013 16:43:26 UTC +00:00], ["payment_id", 1], ["updated_at", Wed, 21 Aug 2013 16:43:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", nil], ["amount", #], ["created_at", Wed, 21 Aug 2013 16:44:51 UTC +00:00], ["payment_id", 1], ["updated_at", Wed, 21 Aug 2013 16:44:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.2ms) 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", nil], ["amount", #], ["created_at", Wed, 21 Aug 2013 16:44:51 UTC +00:00], ["payment_id", 1], ["updated_at", Wed, 21 Aug 2013 16:44:51 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" IS NULL  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (40.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", nil], ["amount", #], ["created_at", Wed, 21 Aug 2013 16:46:06 UTC +00:00], ["payment_id", 1], ["updated_at", Wed, 21 Aug 2013 16:46:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (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", nil], ["amount", #], ["created_at", Wed, 21 Aug 2013 16:46:06 UTC +00:00], ["payment_id", 1], ["updated_at", Wed, 21 Aug 2013 16:46:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (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", nil], ["amount", #], ["created_at", Wed, 21 Aug 2013 16:46:06 UTC +00:00], ["payment_id", 1], ["updated_at", Wed, 21 Aug 2013 16:46:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (6.5ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.2ms) SAVEPOINT active_record_1 SQL (6.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", nil], ["amount", #], ["created_at", Wed, 21 Aug 2013 16:46:13 UTC +00:00], ["payment_id", 1], ["updated_at", Wed, 21 Aug 2013 16:46:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (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", nil], ["amount", #], ["created_at", Wed, 21 Aug 2013 16:46:13 UTC +00:00], ["payment_id", 1], ["updated_at", Wed, 21 Aug 2013 16:46:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (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", nil], ["amount", #], ["created_at", Wed, 21 Aug 2013 16:46:13 UTC +00:00], ["payment_id", 1], ["updated_at", Wed, 21 Aug 2013 16:46:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (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.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.6ms) 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.7ms) 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.4ms) 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" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (1.4ms) ROLLBACK  (0.3ms) 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 (12.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", Tue, 06 Jun 1944], ["created_at", Wed, 21 Aug 2013 16:46:13 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 16:46:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) 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", Wed, 21 Aug 2013 16:46:13 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 16:46:13 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Wed, 21 Aug 2013 16:46:13 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 16:46:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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 Adherent::Adhesion Load (54.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (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" = 'Adh1' 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", Wed, 21 Aug 2013 16:46:14 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 16:46:14 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (17.3ms) 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", Wed, 21 Aug 2013 16:46:14 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299107], ["office", nil], ["tel", nil], ["updated_at", Wed, 21 Aug 2013 16:46:14 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299107 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190972]] SQL (0.2ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299107]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN Adherent::Adhesion Load (94.5ms) 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.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.6ms) 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.1ms) BEGIN Adherent::Member Exists (1.1ms) 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" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) 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.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (2.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", Wed, 21 Aug 2013 16:52:50 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 16:52:50 UTC +00:00]]  (0.2ms) RELEASE 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" = 2) LIMIT 1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Wed, 21 Aug 2013 16:52:50 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 16:52:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Tue, 06 Jun 1944], ["created_at", Wed, 21 Aug 2013 16:52:50 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 16:52:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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" = 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", Wed, 21 Aug 2013 16:52:50 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 16:52:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (169.2ms) 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", Wed, 21 Aug 2013 16:52:50 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299111], ["office", nil], ["tel", nil], ["updated_at", Wed, 21 Aug 2013 16:52:50 UTC +00:00], ["zip", 59000]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (4.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299111 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"   (0.2ms) SAVEPOINT active_record_1 SQL (157.8ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190973]] SQL (1.1ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299111]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SELECT COUNT(*) FROM "adherent_coords"  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.5ms) SAVEPOINT active_record_1 SQL (36.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", nil], ["amount", #], ["created_at", Wed, 21 Aug 2013 16:52:51 UTC +00:00], ["payment_id", 1], ["updated_at", Wed, 21 Aug 2013 16:52:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", nil], ["amount", #], ["created_at", Wed, 21 Aug 2013 16:52:51 UTC +00:00], ["payment_id", 1], ["updated_at", Wed, 21 Aug 2013 16:52:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (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", nil], ["amount", #], ["created_at", Wed, 21 Aug 2013 16:52:51 UTC +00:00], ["payment_id", 1], ["updated_at", Wed, 21 Aug 2013 16:52:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) 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 Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (1.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", Wed, 21 Aug 2013 16:54:07 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 16:54:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", "Lille"], ["created_at", Wed, 21 Aug 2013 16:54:07 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299112], ["office", nil], ["tel", nil], ["updated_at", Wed, 21 Aug 2013 16:54:07 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299112 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190974]] SQL (0.4ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299112]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"   (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.7ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", nil], ["amount", #], ["created_at", Wed, 21 Aug 2013 16:54:07 UTC +00:00], ["payment_id", 1], ["updated_at", Wed, 21 Aug 2013 16:54:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.5ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (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", nil], ["amount", #], ["created_at", Wed, 21 Aug 2013 16:54:07 UTC +00:00], ["payment_id", 1], ["updated_at", Wed, 21 Aug 2013 16:54:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (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", nil], ["amount", #], ["created_at", Wed, 21 Aug 2013 16:54:07 UTC +00:00], ["payment_id", 1], ["updated_at", Wed, 21 Aug 2013 16:54:07 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_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 (0.2ms) 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.4ms) 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.4ms) 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.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) 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", Tue, 06 Jun 1944], ["created_at", Wed, 21 Aug 2013 16:54:07 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 16:54:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Wed, 21 Aug 2013 16:54:07 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 16:54:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.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", Wed, 21 Aug 2013 16:54:07 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 16:54:07 UTC +00:00]]  (0.1ms) RELEASE 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" = 2) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) 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.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.2ms) SAVEPOINT active_record_1 SQL (37.1ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", nil], ["amount", #], ["created_at", Wed, 21 Aug 2013 17:00:01 UTC +00:00], ["payment_id", 1], ["updated_at", Wed, 21 Aug 2013 17:00:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.5ms) ROLLBACK  (0.0ms) BEGIN  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (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", nil], ["amount", #], ["created_at", Wed, 21 Aug 2013 17:00:01 UTC +00:00], ["payment_id", 1], ["updated_at", Wed, 21 Aug 2013 17:00:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (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", nil], ["amount", #], ["created_at", Wed, 21 Aug 2013 17:00:01 UTC +00:00], ["payment_id", 1], ["updated_at", Wed, 21 Aug 2013 17:00:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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.2ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' 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", Wed, 21 Aug 2013 17:00:01 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 17:00:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) 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", Wed, 21 Aug 2013 17:00:01 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299116], ["office", nil], ["tel", nil], ["updated_at", Wed, 21 Aug 2013 17:00:01 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299116 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190975]] SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299116]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.1ms) ROLLBACK  (1.5ms) 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.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  (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.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", Tue, 06 Jun 1944], ["created_at", Wed, 21 Aug 2013 17:00:01 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 17:00:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) 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", Wed, 21 Aug 2013 17:00:01 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 17:00:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.3ms) 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", Wed, 21 Aug 2013 17:00:01 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 17:00:01 UTC +00:00]]  (0.1ms) RELEASE 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" = 2) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Adherent::Member Exists (1.0ms) 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.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.0ms) 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.6ms) 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.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) 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", Tue, 06 Jun 1944], ["created_at", Wed, 21 Aug 2013 17:01:31 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 17:01:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.0ms) 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 (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", Wed, 21 Aug 2013 17:01:31 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 17:01:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) 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.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Wed, 21 Aug 2013 17:01:31 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 17:01:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.0ms) BEGIN Adherent::Adhesion Load (0.5ms) 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) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' 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", Wed, 21 Aug 2013 17:01:31 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 17:01:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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", Wed, 21 Aug 2013 17:01:31 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299123], ["office", nil], ["tel", nil], ["updated_at", Wed, 21 Aug 2013 17:01:31 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299123 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190976]] SQL (0.9ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299123]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (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.0ms) BEGIN  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", nil], ["amount", #], ["created_at", Wed, 21 Aug 2013 17:01:31 UTC +00:00], ["payment_id", 1], ["updated_at", Wed, 21 Aug 2013 17:01:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (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", nil], ["amount", #], ["created_at", Wed, 21 Aug 2013 17:01:31 UTC +00:00], ["payment_id", 1], ["updated_at", Wed, 21 Aug 2013 17:01:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", nil], ["amount", #], ["created_at", Wed, 21 Aug 2013 17:01:31 UTC +00:00], ["payment_id", 1], ["updated_at", Wed, 21 Aug 2013 17:01:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) 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.2ms) 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 Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.6ms) 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.0ms) BEGIN Adherent::Member Exists (0.4ms) 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.2ms) 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.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  (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 (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", Tue, 06 Jun 1944], ["created_at", Wed, 21 Aug 2013 17:01:56 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 17:01:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Wed, 21 Aug 2013 17:01:56 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 17:01:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.6ms) ROLLBACK  (0.0ms) BEGIN  (0.4ms) 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", Wed, 21 Aug 2013 17:01:56 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 17:01:56 UTC +00:00]]  (0.1ms) RELEASE 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" = 2) LIMIT 1  (0.1ms) 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.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.4ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (33.5ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", nil], ["amount", #], ["created_at", Wed, 21 Aug 2013 17:02:03 UTC +00:00], ["payment_id", 1], ["updated_at", Wed, 21 Aug 2013 17:02:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (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", nil], ["amount", #], ["created_at", Wed, 21 Aug 2013 17:02:03 UTC +00:00], ["payment_id", 1], ["updated_at", Wed, 21 Aug 2013 17:02:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (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", nil], ["amount", #], ["created_at", Wed, 21 Aug 2013 17:02:03 UTC +00:00], ["payment_id", 1], ["updated_at", Wed, 21 Aug 2013 17:02:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.6ms) 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.8ms) 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.0ms) BEGIN Adherent::Member Exists (0.2ms) 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.0ms) BEGIN Adherent::Member Exists (0.5ms) 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.0ms) 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.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", Wed, 21 Aug 2013 17:02:04 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 17:02:04 UTC +00:00]]  (0.7ms) RELEASE 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" = 2) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) 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", Wed, 21 Aug 2013 17:02:04 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 17:02:04 UTC +00:00]]  (0.1ms) RELEASE 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  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) 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.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", Tue, 06 Jun 1944], ["created_at", Wed, 21 Aug 2013 17:02:04 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 17:02:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' 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", Wed, 21 Aug 2013 17:02:04 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Wed, 21 Aug 2013 17:02:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) 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", Wed, 21 Aug 2013 17:02:04 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299130], ["office", nil], ["tel", nil], ["updated_at", Wed, 21 Aug 2013 17:02:04 UTC +00:00], ["zip", 59000]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299130 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190977]] SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299130]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.7ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (1.8ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.4ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" IS NULL) 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" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.5ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (1.1ms) 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 (93.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", Thu, 22 Aug 2013 05:15:36 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 05:15:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (50.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", #], ["created_at", Thu, 22 Aug 2013 05:15:36 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299131], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 05:15:36 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299131 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299131 ORDER BY to_date DESC LIMIT 1  (0.2ms) 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", #], ["created_at", Thu, 22 Aug 2013 05:15:37 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299131], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 05:15:37 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (24.1ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 22 Aug 2013 05:15:37 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299131], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 05:15:37 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299131 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299131 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190964  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190965  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190964 SQL (11.6ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980190964], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:15:37 UTC +00:00], ["payment_id", 980190963], ["updated_at", Thu, 22 Aug 2013 05:15:37 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190965 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", 980190965], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:15:37 UTC +00:00], ["payment_id", 980190963], ["updated_at", Thu, 22 Aug 2013 05:15:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (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.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.9ms) 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.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' 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", Thu, 22 Aug 2013 05:19:08 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 05:19:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", #], ["created_at", Thu, 22 Aug 2013 05:19:08 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299132], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 05:19:08 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" = 819299132 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299132 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", #], ["created_at", Thu, 22 Aug 2013 05:19:08 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299132], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 05:19:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 22 Aug 2013 05:19:08 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299132], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 05:19:08 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299132 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299132 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190966  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190967  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190966 SQL (7.1ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980190966], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:19:08 UTC +00:00], ["payment_id", 980190964], ["updated_at", Thu, 22 Aug 2013 05:19:08 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190967 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980190967], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:19:08 UTC +00:00], ["payment_id", 980190964], ["updated_at", Thu, 22 Aug 2013 05:19:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.3ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.7ms) 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.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", Thu, 22 Aug 2013 05:19:08 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 05:19:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Thu, 22 Aug 2013 05:19:08 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299133], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 05:19:08 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" = 819299133 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299133 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", #], ["created_at", Thu, 22 Aug 2013 05:19:09 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299133], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 05:19:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Thu, 22 Aug 2013 05:19:09 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299133], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 05:19:09 UTC +00:00]] Adherent::Member Load (1.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299133 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299133 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190968  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190969  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190968 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", 980190968], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:19:09 UTC +00:00], ["payment_id", 980190965], ["updated_at", Thu, 22 Aug 2013 05:19:09 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190969 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", 980190969], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:19:09 UTC +00:00], ["payment_id", 980190965], ["updated_at", Thu, 22 Aug 2013 05:19:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190965  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190965  (0.2ms) 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", Thu, 22 Aug 2013 05:19:09 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 05:19:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Thu, 22 Aug 2013 05:19:09 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299134], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 05:19:09 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" = 819299134 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299134 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", #], ["created_at", Thu, 22 Aug 2013 05:19:09 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299134], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 05:19:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 22 Aug 2013 05:19:09 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299134], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 05:19:09 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299134 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299134 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190970  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190971  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190970 SQL (0.8ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980190970], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:19:09 UTC +00:00], ["payment_id", 980190966], ["updated_at", Thu, 22 Aug 2013 05:19:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (1.1ms) 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 (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", Thu, 22 Aug 2013 05:23:41 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 05:23:41 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Thu, 22 Aug 2013 05:23:41 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299135], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 05:23:41 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" = 819299135 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299135 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", #], ["created_at", Thu, 22 Aug 2013 05:23:41 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299135], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 05:23:41 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 22 Aug 2013 05:23:42 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299135], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 05:23:42 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299135 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299135 ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190972  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190973  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190972 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980190972], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:23:42 UTC +00:00], ["payment_id", 980190967], ["updated_at", Thu, 22 Aug 2013 05:23:42 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190973 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980190973], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:23:42 UTC +00:00], ["payment_id", 980190967], ["updated_at", Thu, 22 Aug 2013 05:23:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190967  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190967  (0.3ms) 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.0ms) 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", Thu, 22 Aug 2013 05:23:42 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 05:23:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Thu, 22 Aug 2013 05:23:42 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299136], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 05:23:42 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" = 819299136 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299136 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", #], ["created_at", Thu, 22 Aug 2013 05:23:42 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299136], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 05:23:42 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 22 Aug 2013 05:23:42 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299136], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 05:23:42 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299136 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299136 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190974  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190975  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190974 SQL (0.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980190974], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:23:42 UTC +00:00], ["payment_id", 980190968], ["updated_at", Thu, 22 Aug 2013 05:23:42 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190975 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", 980190975], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:23:42 UTC +00:00], ["payment_id", 980190968], ["updated_at", Thu, 22 Aug 2013 05:23:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.4ms) 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", Thu, 22 Aug 2013 05:23:42 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 05:23:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Thu, 22 Aug 2013 05:23:42 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299137], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 05:23:42 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" = 819299137 Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299137 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", #], ["created_at", Thu, 22 Aug 2013 05:23:42 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299137], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 05:23:42 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", #], ["created_at", Thu, 22 Aug 2013 05:23:42 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299137], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 05:23:42 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299137 LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299137 ORDER BY to_date  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190976  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190977  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190976 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", 980190976], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:23:42 UTC +00:00], ["payment_id", 980190969], ["updated_at", Thu, 22 Aug 2013 05:23:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.9ms) 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 (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", Thu, 22 Aug 2013 05:24:06 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299138], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 05:24:06 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" = 819299138 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299138 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", #], ["created_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299138], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299138], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299138 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299138 ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190978  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190979  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190978 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980190978], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00], ["payment_id", 980190970], ["updated_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190979 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980190979], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00], ["payment_id", 980190970], ["updated_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  (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", Thu, 22 Aug 2013 05:24:06 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299139], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 05:24:06 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" = 819299139 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299139 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", #], ["created_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299139], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299139], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299139 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299139 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190980  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190981  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190980 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", 980190980], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00], ["payment_id", 980190971], ["updated_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) 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 (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (17.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", Thu, 22 Aug 2013 05:24:06 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299140], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299140 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299140 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299140], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299140], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299140 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299140 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190982  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190983  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190982 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", 980190982], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00], ["payment_id", 980190972], ["updated_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190983 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980190983], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00], ["payment_id", 980190972], ["updated_at", Thu, 22 Aug 2013 05:24:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190972  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190972  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.9ms) 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 (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", Thu, 22 Aug 2013 05:24:57 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 05:24:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Thu, 22 Aug 2013 05:24:58 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299141], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 05:24:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299141 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299141 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (2.0ms) 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", #], ["created_at", Thu, 22 Aug 2013 05:24:58 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299141], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 05:24:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Thu, 22 Aug 2013 05:24:58 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299141], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 05:24:58 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299141 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299141 ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190984  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190985  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190984 SQL (0.8ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980190984], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:24:58 UTC +00:00], ["payment_id", 980190973], ["updated_at", Thu, 22 Aug 2013 05:24:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.4ms) 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", Thu, 22 Aug 2013 05:24:58 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 05:24:58 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", #], ["created_at", Thu, 22 Aug 2013 05:24:58 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299142], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 05:24:58 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" = 819299142 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299142 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", #], ["created_at", Thu, 22 Aug 2013 05:24:58 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299142], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 05:24:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Thu, 22 Aug 2013 05:24:58 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299142], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 05:24:58 UTC +00:00]] Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299142 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299142 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190986  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190987  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190986 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", 980190986], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:24:58 UTC +00:00], ["payment_id", 980190974], ["updated_at", Thu, 22 Aug 2013 05:24:58 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190987 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", 980190987], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:24:58 UTC +00:00], ["payment_id", 980190974], ["updated_at", Thu, 22 Aug 2013 05:24:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.4ms) ROLLBACK  (0.0ms) BEGIN 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  (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", Thu, 22 Aug 2013 05:24:58 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 05:24:58 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", #], ["created_at", Thu, 22 Aug 2013 05:24:58 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299143], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 05:24:58 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" = 819299143 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299143 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", #], ["created_at", Thu, 22 Aug 2013 05:24:58 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299143], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 05:24:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Thu, 22 Aug 2013 05:24:58 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299143], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 05:24:58 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299143 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299143 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190988  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190989  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190988 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", 980190988], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:24:58 UTC +00:00], ["payment_id", 980190975], ["updated_at", Thu, 22 Aug 2013 05:24:58 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190989 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", 980190989], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:24:58 UTC +00:00], ["payment_id", 980190975], ["updated_at", Thu, 22 Aug 2013 05:24:58 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190975  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190975  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (3.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (1.0ms) 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 (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", Thu, 22 Aug 2013 05:25:31 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299144], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299144 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299144 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", #], ["created_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299144], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299144], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299144 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299144 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190990  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190991  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190990 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980190990], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00], ["payment_id", 980190976], ["updated_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190991 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980190991], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00], ["payment_id", 980190976], ["updated_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190976  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190976  (0.4ms) 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", Thu, 22 Aug 2013 05:25:31 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299145], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299145 Adherent::Adhesion Load (1.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299145 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", #], ["created_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299145], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299145], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299145 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299145 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190992  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190993  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190992 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", 980190992], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00], ["payment_id", 980190977], ["updated_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190993 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980190993], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00], ["payment_id", 980190977], ["updated_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.6ms) 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.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", Thu, 22 Aug 2013 05:25:31 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299146], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 05:25:31 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" = 819299146 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299146 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", #], ["created_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299146], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299146], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299146 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299146 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190994  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190995  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190994 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", 980190994], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00], ["payment_id", 980190978], ["updated_at", Thu, 22 Aug 2013 05:25:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.6ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", nil], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.5ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", nil], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (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", nil], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (1.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.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.0ms) 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.2ms) 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.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) 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", Tue, 06 Jun 1944], ["created_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.0ms) 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.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", Thu, 22 Aug 2013 05:26:57 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00]]  (0.1ms) RELEASE 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  (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", Thu, 22 Aug 2013 05:26:57 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) 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.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (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.2ms) 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", Thu, 22 Aug 2013 05:26:57 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299150], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 05:26:57 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" = 819299150 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299150 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", #], ["created_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299150], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299150], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299150 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299150 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190996  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190997  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190996 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", 980190996], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00], ["payment_id", 980190979], ["updated_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190997 SQL (0.1ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980190997], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00], ["payment_id", 980190979], ["updated_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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.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", Thu, 22 Aug 2013 05:26:57 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299151], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299151 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299151 ORDER BY to_date DESC LIMIT 1  (0.9ms) 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", #], ["created_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299151], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 05:26:57 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", #], ["created_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299151], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299151 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299151 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190998  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190999  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980190998 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", 980190998], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00], ["payment_id", 980190980], ["updated_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.7ms) 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", Thu, 22 Aug 2013 05:26:57 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299152], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299152 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299152 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", #], ["created_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299152], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 05:26:57 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", #], ["created_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299152], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299152 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299152 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191000  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191001  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191000 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", 980191000], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00], ["payment_id", 980190981], ["updated_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00]]  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191001 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", 980191001], ["amount", #], ["created_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00], ["payment_id", 980190981], ["updated_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190981  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190981  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (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" = 'Adh1' 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", Thu, 22 Aug 2013 05:26:57 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (40.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", "Lille"], ["created_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299153], ["office", nil], ["tel", nil], ["updated_at", Thu, 22 Aug 2013 05:26:57 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (1.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299153 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) SAVEPOINT active_record_1 SQL (19.7ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190978]] SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299153]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (14.2ms) BEGIN Processing by Adherent::MembersController#index as HTML Adherent::Member Load (13.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (0.5ms) Completed 200 OK in 230ms (Views: 82.7ms | ActiveRecord: 106.4ms)  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 46ms (Views: 7.3ms | ActiveRecord: 8.5ms)  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 109ms (Views: 23.4ms | ActiveRecord: 19.2ms)  (7.1ms) ROLLBACK Connecting to database specified by database.yml  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Adherent::Member Load (36.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (1.1ms) Completed 200 OK in 230ms (Views: 163.3ms | ActiveRecord: 40.0ms)  (1.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Adherent::Member Load (7.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Completed 200 OK in 13ms (Views: 3.7ms | ActiveRecord: 7.2ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 21ms (Views: 6.3ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 22ms (Views: 6.4ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (1.0ms) Completed 200 OK in 22ms (Views: 7.5ms | ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 21ms (Views: 6.3ms | ActiveRecord: 2.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 21ms (Views: 6.8ms | ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Completed 200 OK in 36ms (Views: 34.9ms | ActiveRecord: 0.0ms)  (0.5ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 20ms (Views: 6.9ms | ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.7ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML Completed 200 OK in 44ms (Views: 33.8ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.3ms) BEGIN Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/new.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 42ms (Views: 6.8ms | ActiveRecord: 6.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 35ms (Views: 7.3ms | ActiveRecord: 8.1ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML Completed 200 OK in 11ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Completed 200 OK in 31ms (Views: 30.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.5ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/edit.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 19ms (Views: 6.4ms | ActiveRecord: 4.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#new as HTML Completed 200 OK in 60ms (Views: 1.7ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (0.0ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/new.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 47ms (Views: 5.9ms | ActiveRecord: 6.7ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}}  (35.7ms) SAVEPOINT active_record_1 Adherent::Member Exists (16.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (12.2ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 243ms (Views: 0.9ms | ActiveRecord: 64.3ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.6ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/edit.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 19ms (Views: 6.7ms | ActiveRecord: 4.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}}  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 88ms (Views: 1.4ms | ActiveRecord: 3.9ms)  (0.6ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#new as HTML Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/new.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 41ms (Views: 6.8ms | ActiveRecord: 6.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}}  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 31ms (Views: 1.1ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/show.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 21ms (Views: 6.7ms | ActiveRecord: 4.6ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.0ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}}  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 89ms (Views: 1.1ms | ActiveRecord: 2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/show.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 20ms (Views: 7.5ms | ActiveRecord: 4.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Completed 200 OK in 56ms (Views: 1.6ms | ActiveRecord: 2.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#new as HTML Completed 200 OK in 14ms (Views: 3.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}}  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 31ms (Views: 0.9ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 33ms (Views: 6.6ms | ActiveRecord: 6.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}}  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 39ms (Views: 1.4ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#new as HTML Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/new.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 41ms (Views: 6.7ms | ActiveRecord: 6.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Completed 404 Not Found in 2ms  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 34ms (Views: 6.8ms | ActiveRecord: 7.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML Completed 200 OK in 12ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/new.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 41ms (Views: 6.8ms | ActiveRecord: 6.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (2.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Completed 200 OK in 22ms (Views: 8.1ms | ActiveRecord: 5.4ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML Completed 200 OK in 61ms (Views: 1.4ms | ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/edit.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 20ms (Views: 5.9ms | ActiveRecord: 5.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}}  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Completed 200 OK in 87ms (Views: 1.3ms | ActiveRecord: 2.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#new as HTML Completed 200 OK in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" IS NULL Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.8ms) BEGIN Processing by Adherent::MembersController#new as HTML Organism Load (26.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (575.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:11:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:11:21 UTC +00:00]]  (3.0ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/new.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 796ms (Views: 42.6ms | ActiveRecord: 612.5ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 09:11:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:11:22 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) 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", Thu, 22 Aug 2013 09:11:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:11:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.9ms)  (0.9ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 09:11:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:11:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.8ms)  (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 (3.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:11:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:11:22 UTC +00:00]]  (1.8ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 1.2ms | ActiveRecord: 5.3ms)  (2.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (6.8ms) 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", Thu, 22 Aug 2013 09:11:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:11:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 6 Completed 200 OK in 20ms (Views: 1.5ms | ActiveRecord: 8.5ms)  (1.0ms) 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.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", Thu, 22 Aug 2013 09:11:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:11:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.1ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.0ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:11:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:11:22 UTC +00:00]]  (0.0ms) 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" = 'A001' AND "adherent_members"."organism_id" = 8) LIMIT 1 SQL (39.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", Thu, 22 Aug 2013 09:11:22 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 8], ["updated_at", Thu, 22 Aug 2013 09:11:22 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299154/coord/new Completed 302 Found in 60ms (ActiveRecord: 40.8ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (2.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", Thu, 22 Aug 2013 09:11:34 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 09:11:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (18.1ms) 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", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299155], ["office", nil], ["tel", nil], ["updated_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["zip", 59000]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299155 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.0ms) SAVEPOINT active_record_1 SQL (10.7ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190979]] SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299155]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.8ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (1.4ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (8.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.4ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (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.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", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (65.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", #], ["created_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299156], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299156 Adherent::Adhesion Load (17.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299156 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", #], ["created_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299156], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299156], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299156 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299156 ORDER BY to_date  (13.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191002  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191003  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191002 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980191002], ["amount", #], ["created_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["payment_id", 980190982], ["updated_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191003 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980191003], ["amount", #], ["created_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["payment_id", 980190982], ["updated_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190982  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190982  (0.5ms) 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", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299157], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 09:11: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" = 819299157 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299157 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", #], ["created_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299157], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 09:11:35 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", #], ["created_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299157], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00]] Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299157 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299157 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191004  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191005  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191004 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", 980191004], ["amount", #], ["created_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["payment_id", 980190983], ["updated_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191005 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", 980191005], ["amount", #], ["created_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["payment_id", 980190983], ["updated_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.3ms) 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.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", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299158], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 09:11: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" = 819299158 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299158 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", #], ["created_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299158], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299158], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299158 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299158 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191006  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191007  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191006 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", 980191006], ["amount", #], ["created_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["payment_id", 980190984], ["updated_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (1.0ms) 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.0ms) BEGIN Adherent::Member Exists (2.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.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.0ms) 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.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", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) 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", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Tue, 06 Jun 1944], ["created_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Organism Load (0.4ms) 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", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/show.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 24ms (Views: 6.8ms | ActiveRecord: 5.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.9ms | ActiveRecord: 1.0ms)  (0.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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (0.5ms) 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", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 12 Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} 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", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Organism Load (0.8ms) 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", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00]]  (0.0ms) 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#new as HTML 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", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 0.9ms)  (0.1ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:11: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" = 'A001' AND "adherent_members"."organism_id" = 16) 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", Thu, 22 Aug 2013 09:11:35 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 16], ["updated_at", Thu, 22 Aug 2013 09:11:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299162/coord/new Completed 302 Found in 9ms (ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" IS NULL  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (4.5ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.9ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:16:02 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" = 'A001' AND "adherent_members"."organism_id" = 17) 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", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 17], ["updated_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299163/coord/new Completed 302 Found in 50ms (ActiveRecord: 10.7ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Organism Load (0.1ms) 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", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 7.6ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} 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", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.1ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) 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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML 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", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (0.5ms) 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", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 23 Completed 200 OK in 9ms (Views: 2.0ms | ActiveRecord: 2.2ms)  (0.0ms) 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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 15ms (Views: 2.3ms | ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' 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", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", "Lille"], ["created_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299164], ["office", nil], ["tel", nil], ["updated_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (13.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299164 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) SAVEPOINT active_record_1 SQL (23.1ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190980]] SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299164]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '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", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (18.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", #], ["created_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299165], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299165 Adherent::Adhesion Load (19.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299165 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", #], ["created_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299165], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299165], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299165 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299165 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191008  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191009  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191008 SQL (35.4ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980191008], ["amount", #], ["created_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["payment_id", 980190985], ["updated_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191009 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", 980191009], ["amount", #], ["created_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["payment_id", 980190985], ["updated_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (8.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190985  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190985  (0.6ms) 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", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299166], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299166 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299166 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", #], ["created_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299166], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299166], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299166 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299166 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191010  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191011  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191010 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", 980191010], ["amount", #], ["created_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["payment_id", 980190986], ["updated_at", Thu, 22 Aug 2013 09:16:02 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.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", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299167], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299167 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299167 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", #], ["created_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299167], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 09:16:02 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", #], ["created_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299167], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00]] Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299167 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299167 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191012  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191013  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191012 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", 980191012], ["amount", #], ["created_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["payment_id", 980190987], ["updated_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191013 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980191013], ["amount", #], ["created_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00], ["payment_id", 980190987], ["updated_at", Thu, 22 Aug 2013 09:16:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (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.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.2ms) 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.0ms) BEGIN Adherent::Member Exists (0.2ms) 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.0ms) 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.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", Tue, 06 Jun 1944], ["created_at", Thu, 22 Aug 2013 09:16:03 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 09:16:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Thu, 22 Aug 2013 09:16:03 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 09:16:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Thu, 22 Aug 2013 09:16:03 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 09:16:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 2) LIMIT 1  (0.4ms) ROLLBACK  (0.2ms) 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  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.9ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (4.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", #], ["created_at", Thu, 22 Aug 2013 09:17:43 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 1], ["to_date", Thu, 21 Aug 2014], ["updated_at", Thu, 22 Aug 2013 09:17:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191014  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980191014], ["amount", #], ["created_at", Thu, 22 Aug 2013 09:17:43 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 22 Aug 2013 09:17:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191014  (0.3ms) ROLLBACK  (0.0ms) 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", #], ["created_at", Thu, 22 Aug 2013 09:17:43 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 1], ["to_date", Thu, 21 Aug 2014], ["updated_at", Thu, 22 Aug 2013 09:17:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191015  (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", 980191015], ["amount", #], ["created_at", Thu, 22 Aug 2013 09:17:43 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 22 Aug 2013 09:17:43 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" = 980191015  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191015  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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", #], ["created_at", Thu, 22 Aug 2013 09:17:43 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 1], ["to_date", Thu, 21 Aug 2014], ["updated_at", Thu, 22 Aug 2013 09:17:43 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" = 980191016  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980191016], ["amount", #], ["created_at", Thu, 22 Aug 2013 09:17:43 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 22 Aug 2013 09:17:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.6ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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.1ms) ROLLBACK  (0.8ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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.1ms) ROLLBACK  (0.1ms) 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", #], ["created_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 1], ["to_date", Thu, 21 Aug 2014], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191017  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980191017], ["amount", #], ["created_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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", #], ["created_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 1], ["to_date", Thu, 21 Aug 2014], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191018  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980191018], ["amount", #], ["created_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 22 Aug 2013 09:17:50 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" = 980191018  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191018  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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", #], ["created_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 1], ["to_date", Thu, 21 Aug 2014], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191019  (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", 980191019], ["amount", #], ["created_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 22 Aug 2013 09:17:50 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" = 980191019  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Organism Load (0.8ms) 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", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/show.html.erb within layouts/adherent/application (0.4ms) Completed 200 OK in 26ms (Views: 6.9ms | ActiveRecord: 3.6ms)  (0.4ms) ROLLBACK  (0.0ms) 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", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 27 Completed 200 OK in 14ms (Views: 1.5ms | ActiveRecord: 4.3ms)  (0.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.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.5ms)  (0.1ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 58ms (Views: 1.1ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.7ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) 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", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.0ms) 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", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:17:50 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" = 'A001' AND "adherent_members"."organism_id" = 32) 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", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 32], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299171/coord/new Completed 302 Found in 19ms (ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (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" = 'Adh1' 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", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299172], ["office", nil], ["tel", nil], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (1.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299172 LIMIT 1  (0.6ms) SELECT COUNT(*) FROM "adherent_coords"   (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190981]] SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299172]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.1ms) BEGIN 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  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.5ms) 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.0ms) BEGIN Adherent::Member Exists (0.1ms) 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.0ms) 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.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.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", Tue, 06 Jun 1944], ["created_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) 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.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", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]]  (0.1ms) RELEASE 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  (0.1ms) ROLLBACK  (0.7ms) 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", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) 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 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.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (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.2ms) 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", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299176], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (2.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299176 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299176 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", #], ["created_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299176], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", #], ["created_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299176], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299176 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299176 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191020  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191021  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191020 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", 980191020], ["amount", #], ["created_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["payment_id", 980190988], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191021 SQL (1.4ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980191021], ["amount", #], ["created_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["payment_id", 980190988], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190988  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190988  (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.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", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299177], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299177 Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299177 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", #], ["created_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299177], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 09:17:50 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", #], ["created_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299177], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299177 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299177 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191022  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191023  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191022 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", 980191022], ["amount", #], ["created_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["payment_id", 980190989], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (1.5ms) 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", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]]  (0.2ms) 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", #], ["created_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299178], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299178 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299178 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", #], ["created_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299178], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 09:17:50 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", #], ["created_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299178], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299178 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299178 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191024  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191025  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191024 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", 980191024], ["amount", #], ["created_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["payment_id", 980190990], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191025 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980191025], ["amount", #], ["created_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00], ["payment_id", 980190990], ["updated_at", Thu, 22 Aug 2013 09:17:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"   (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.2ms) 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.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} Organism Load (0.9ms) 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", Thu, 22 Aug 2013 09:19:14 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/edit.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 30ms (Views: 7.7ms | ActiveRecord: 8.6ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 09:19:14 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:19:14 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.8ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} 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", Thu, 22 Aug 2013 09:19:14 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 09:19:14 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:19:14 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} 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", Thu, 22 Aug 2013 09:19:14 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 31ms (Views: 2.0ms | ActiveRecord: 2.9ms)  (0.1ms) ROLLBACK  (0.0ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:19:14 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 38) 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", Thu, 22 Aug 2013 09:19:14 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 38], ["updated_at", Thu, 22 Aug 2013 09:19:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299179/coord/new Completed 302 Found in 20ms (ActiveRecord: 2.4ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#new as HTML 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", Thu, 22 Aug 2013 09:19:15 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:19:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.0ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:19:15 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:19:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.8ms)  (0.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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:19:15 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:19:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 41 Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.7ms) 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", Thu, 22 Aug 2013 09:21:32 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:21:32 UTC +00:00]]  (0.3ms) 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" = 'A001' 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", Thu, 22 Aug 2013 09:21:32 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 42], ["updated_at", Thu, 22 Aug 2013 09:21:32 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299180/coord/new Completed 302 Found in 91ms (ActiveRecord: 12.9ms)  (0.4ms) ROLLBACK  (0.0ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:21:32 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:21:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 7.0ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} 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", Thu, 22 Aug 2013 09:21:32 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:21:32 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" = 'A001' AND "adherent_members"."organism_id" = 44) 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", Thu, 22 Aug 2013 09:21:32 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 44], ["updated_at", Thu, 22 Aug 2013 09:21:32 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299181/coord/new Completed 302 Found in 11ms (ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 09:21:32 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:21:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 1.1ms)  (0.1ms) 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", Thu, 22 Aug 2013 09:21:32 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:21:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.9ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML 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", Thu, 22 Aug 2013 09:21:32 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:21:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.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", Thu, 22 Aug 2013 09:21:32 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:21:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 48 Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 1.3ms)  (0.0ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (1.8ms) 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", Thu, 22 Aug 2013 09:21:32 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:21:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 2.5ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 09:21:32 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:21:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.8ms)  (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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:21:32 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:21:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:23:33 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:23:33 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/edit.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 33ms (Views: 6.1ms | ActiveRecord: 12.8ms)  (1.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 09:23:33 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:23:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 2.0ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) 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", Thu, 22 Aug 2013 09:23:33 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:23:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.9ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 09:23:33 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:23:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:23:33 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:23:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 39ms (Views: 1.2ms | ActiveRecord: 2.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML 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", Thu, 22 Aug 2013 09:23:34 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:23:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML 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", Thu, 22 Aug 2013 09:23:34 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:23:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 58 Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} 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", Thu, 22 Aug 2013 09:23:34 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:23:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 1.0ms)  (0.0ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (1.0ms) 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", Thu, 22 Aug 2013 09:23:34 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:23:34 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" = 'A001' AND "adherent_members"."organism_id" = 60) LIMIT 1 SQL (4.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", Thu, 22 Aug 2013 09:23:34 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 60], ["updated_at", Thu, 22 Aug 2013 09:23:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299182/coord/new Completed 302 Found in 27ms (ActiveRecord: 6.1ms)  (3.9ms) 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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:23:34 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:23: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" = 'A001' AND "adherent_members"."organism_id" = 61) 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", Thu, 22 Aug 2013 09:23:34 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 61], ["updated_at", Thu, 22 Aug 2013 09:23:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299183/coord/new Completed 302 Found in 9ms (ActiveRecord: 2.7ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001", "birthdate"=>"06/06/1955"}} 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", Thu, 22 Aug 2013 09:23:34 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:23:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 62) 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", Thu, 22 Aug 2013 09:23:34 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 62], ["updated_at", Thu, 22 Aug 2013 09:23:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299184/coord/new Completed 302 Found in 21ms (ActiveRecord: 2.1ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (1.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (5.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:45:09 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:45:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 63 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 45ms (Views: 6.4ms | ActiveRecord: 14.4ms)  (0.6ms) ROLLBACK  (0.0ms) 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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:45:09 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:45:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.0ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:45:09 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:45:09 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" = 'A001' AND "adherent_members"."organism_id" = 65) 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", Thu, 22 Aug 2013 09:45:09 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 65], ["updated_at", Thu, 22 Aug 2013 09:45:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299185/coord/new Completed 302 Found in 32ms (ActiveRecord: 2.0ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001", "birthdate"=>"06/06/1955"}} 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", Thu, 22 Aug 2013 09:45:09 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:45:09 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" = 'A001' AND "adherent_members"."organism_id" = 66) 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", Thu, 22 Aug 2013 09:45:09 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 66], ["updated_at", Thu, 22 Aug 2013 09:45:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299186/coord/new Completed 302 Found in 22ms (ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.0ms) 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.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:45:09 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:45:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 2.3ms | ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.0ms) 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.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", Thu, 22 Aug 2013 09:45:10 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:45:10 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" = 'A001' AND "adherent_members"."organism_id" = 68) 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", Thu, 22 Aug 2013 09:45:10 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 68], ["updated_at", Thu, 22 Aug 2013 09:45:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299187/coord/new Completed 302 Found in 10ms (ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1003"} Organism Load (0.4ms) 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", Thu, 22 Aug 2013 09:45:10 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:45:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1003 Completed 302 Found in 8ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1004"} 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", Thu, 22 Aug 2013 09:45:10 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:45:10 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML 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", Thu, 22 Aug 2013 09:45:10 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:45:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.0ms) 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", Thu, 22 Aug 2013 09:45:10 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:45:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Organism Load (0.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", Thu, 22 Aug 2013 09:45:10 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:45:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 09:45:10 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:45:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 1.1ms)  (0.2ms) 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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:45:10 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:45:10 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 15ms (Views: 1.1ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:46:53 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:46:53 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" = 'A001' 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", Thu, 22 Aug 2013 09:46:53 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 76], ["updated_at", Thu, 22 Aug 2013 09:46:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299188/coord/new Completed 302 Found in 95ms (ActiveRecord: 14.4ms)  (0.8ms) ROLLBACK  (0.2ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:46:53 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:46:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 6.3ms | ActiveRecord: 0.8ms)  (0.1ms) 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.6ms) 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", Thu, 22 Aug 2013 09:46:53 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:46:53 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" = 'A001' AND "adherent_members"."organism_id" = 78) 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", Thu, 22 Aug 2013 09:46:53 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 78], ["updated_at", Thu, 22 Aug 2013 09:46:53 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299189/coord/new Completed 302 Found in 12ms (ActiveRecord: 2.6ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001", "birthdate"=>"06/06/1955"}} 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", Thu, 22 Aug 2013 09:46:53 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:46:53 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" = 'A001' 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", Mon, 06 Jun 1955], ["created_at", Thu, 22 Aug 2013 09:46:53 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 79], ["updated_at", Thu, 22 Aug 2013 09:46:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299190/coord/new Completed 302 Found in 19ms (ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 09:46:53 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:46:53 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) 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", Thu, 22 Aug 2013 09:46:53 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:46:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (0.4ms) 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", Thu, 22 Aug 2013 09:46:53 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:46:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 82 Completed 200 OK in 10ms (Views: 2.6ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.0ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:46:53 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:46:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Organism Load (1.1ms) 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", Thu, 22 Aug 2013 09:46:53 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:46:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.6ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) 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", Thu, 22 Aug 2013 09:46:53 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:46:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.7ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#new as HTML 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", Thu, 22 Aug 2013 09:46:54 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:46:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1005"} 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", Thu, 22 Aug 2013 09:46:54 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:46:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1005 Completed 302 Found in 6ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "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", Thu, 22 Aug 2013 09:46:54 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:46:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1006 Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1007"} 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", Thu, 22 Aug 2013 09:46:54 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:46:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.7ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1008"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:46:54 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:46:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:47:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:47:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/new.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 84ms (Views: 40.1ms | ActiveRecord: 11.1ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} 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", Thu, 22 Aug 2013 09:47:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:47:17 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" = 'A001' AND "adherent_members"."organism_id" = 92) 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", Thu, 22 Aug 2013 09:47:17 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 92], ["updated_at", Thu, 22 Aug 2013 09:47:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299191/coord/new Completed 302 Found in 19ms (ActiveRecord: 2.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001", "birthdate"=>"06/06/1955"}} 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", Thu, 22 Aug 2013 09:47:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:47:17 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" = 'A001' AND "adherent_members"."organism_id" = 93) LIMIT 1 SQL (111.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", Mon, 06 Jun 1955], ["created_at", Thu, 22 Aug 2013 09:47:17 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 93], ["updated_at", Thu, 22 Aug 2013 09:47:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299192/coord/new Completed 302 Found in 162ms (ActiveRecord: 112.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.9ms) 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", Thu, 22 Aug 2013 09:47:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:47:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 1.5ms)  (0.3ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:47:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:47:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 95) 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", Thu, 22 Aug 2013 09:47:17 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 95], ["updated_at", Thu, 22 Aug 2013 09:47:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299193/coord/new Completed 302 Found in 12ms (ActiveRecord: 3.3ms)  (0.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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:47:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:47:17 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML 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", Thu, 22 Aug 2013 09:47:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:47:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 97 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1001"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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", Thu, 22 Aug 2013 09:47:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:47:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1002"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:47:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:47:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1002 Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1003"} Organism Load (0.1ms) 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", Thu, 22 Aug 2013 09:47:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:47:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1003 Completed 302 Found in 5ms (ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1004"} 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", Thu, 22 Aug 2013 09:47:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:47:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1004 Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) 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 (2.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 09:47:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:47:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 1.4ms | ActiveRecord: 2.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 09:47:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:47:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} 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", Thu, 22 Aug 2013 09:47:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:47:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Organism Load (0.1ms) 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", Thu, 22 Aug 2013 09:47:18 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 09:47:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1001"} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:04:45 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:04:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 24ms (ActiveRecord: 10.5ms)  (0.0ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1002"} 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", Thu, 22 Aug 2013 12:04:45 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:04:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1002 Completed 302 Found in 9ms (ActiveRecord: 2.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1003"} 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", Thu, 22 Aug 2013 12:04:45 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:04:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 46ms (Views: 41.3ms | ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1004"} 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", Thu, 22 Aug 2013 12:04:45 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:04:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1004 Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.0ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1005"} 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", Thu, 22 Aug 2013 12:04:45 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:04:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1005 Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 12:04:45 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:04:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.1ms)  (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.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:04:45 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:04:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.6ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#new 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.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:04:45 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:04:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 26ms (Views: 1.4ms | ActiveRecord: 2.1ms)  (0.1ms) 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.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", Thu, 22 Aug 2013 12:04:45 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:04:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 114) LIMIT 1 SQL (10.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", Mon, 06 Jun 1955], ["created_at", Thu, 22 Aug 2013 12:04:45 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 114], ["updated_at", Thu, 22 Aug 2013 12:04:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299194/coord/new Completed 302 Found in 41ms (ActiveRecord: 11.8ms)  (0.3ms) ROLLBACK  (0.0ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:04:45 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:04:45 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" = 'A001' AND "adherent_members"."organism_id" = 115) 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", Thu, 22 Aug 2013 12:04:45 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 115], ["updated_at", Thu, 22 Aug 2013 12:04:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299195/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.8ms)  (0.1ms) 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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:04:45 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:04:45 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" = 'A001' AND "adherent_members"."organism_id" = 116) 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", Thu, 22 Aug 2013 12:04:45 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 116], ["updated_at", Thu, 22 Aug 2013 12:04:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299196/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.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", Thu, 22 Aug 2013 12:04:45 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:04:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 12:04:45 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:04:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) 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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:04:45 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:04:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:04:45 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:04:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 120 Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 1.0ms)  (0.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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:04:45 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:04:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.8ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:06:31 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:06:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/new.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 85ms (Views: 39.5ms | ActiveRecord: 12.8ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1001"} Organism Load (0.9ms) 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", Thu, 22 Aug 2013 12:06:31 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:06:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 6ms (ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1002"} 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", Thu, 22 Aug 2013 12:06:31 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:06:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.1ms) 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.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", Thu, 22 Aug 2013 12:06:31 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:06:31 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" = 'A001' AND "adherent_members"."organism_id" = 125) 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", Mon, 06 Jun 1955], ["created_at", Thu, 22 Aug 2013 12:06:31 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 125], ["updated_at", Thu, 22 Aug 2013 12:06:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299197/coord/new Completed 302 Found in 31ms (ActiveRecord: 2.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.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", Thu, 22 Aug 2013 12:06:31 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:06:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.4ms) 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", Thu, 22 Aug 2013 12:06:31 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:06:31 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" = 'A001' AND "adherent_members"."organism_id" = 127) 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", Thu, 22 Aug 2013 12:06:31 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 127], ["updated_at", Thu, 22 Aug 2013 12:06:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299198/coord/new Completed 302 Found in 9ms (ActiveRecord: 1.6ms)  (1.0ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:06:31 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:06:31 UTC +00:00]]  (0.1ms) 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" = 'A001' AND "adherent_members"."organism_id" = 128) 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", Thu, 22 Aug 2013 12:06:31 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 128], ["updated_at", Thu, 22 Aug 2013 12:06:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299199/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1003"} 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", Thu, 22 Aug 2013 12:06:31 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:06:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1003 Completed 302 Found in 7ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1004"} Organism Load (0.4ms) 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", Thu, 22 Aug 2013 12:06:31 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:06:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1004 Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1005"} 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", Thu, 22 Aug 2013 12:06:31 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:06:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "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", Thu, 22 Aug 2013 12:06:31 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:06:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1006 Completed 302 Found in 5ms (ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 12:06:31 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:06:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) 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  (1.3ms) 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", Thu, 22 Aug 2013 12:06:31 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:06:31 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.3ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 12:06:31 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:06:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) 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 (1.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:06:31 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:06:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 1.0ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (0.7ms) 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", Thu, 22 Aug 2013 12:06:31 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:06:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 137 Completed 200 OK in 47ms (Views: 1.6ms | ActiveRecord: 1.8ms)  (0.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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:06:31 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:06:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (5.1ms) SAVEPOINT active_record_1 SQL (7.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:07:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:07:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/edit.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 46ms (Views: 11.5ms | ActiveRecord: 17.8ms)  (0.4ms) ROLLBACK  (0.1ms) 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 (5.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:07:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:07:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 5.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1003"} 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", Thu, 22 Aug 2013 12:07:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:07:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1003 Completed 302 Found in 11ms (ActiveRecord: 2.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1004"} 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", Thu, 22 Aug 2013 12:07:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:07:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1005"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:07:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:07:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1005 Completed 302 Found in 4ms (ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "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", Thu, 22 Aug 2013 12:07:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:07:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1006 Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 12:07:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:07:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.7ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Organism Load (0.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (19.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:07:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:07:17 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 26ms (Views: 0.9ms | ActiveRecord: 20.2ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1009"} 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", Thu, 22 Aug 2013 12:07:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:07:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 6ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1010"} 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", Thu, 22 Aug 2013 12:07:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:07:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (1.2ms) 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", Thu, 22 Aug 2013 12:07:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:07:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 149 Completed 200 OK in 19ms (Views: 1.4ms | ActiveRecord: 2.4ms)  (0.1ms) ROLLBACK  (0.0ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:07:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:07:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#new as HTML Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:07:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:07:17 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 15ms (Views: 1.5ms | ActiveRecord: 0.9ms)  (0.1ms) 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.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", Thu, 22 Aug 2013 12:07:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:07:17 UTC +00:00]]  (0.0ms) 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" = 'A001' AND "adherent_members"."organism_id" = 152) 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", Mon, 06 Jun 1955], ["created_at", Thu, 22 Aug 2013 12:07:17 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 152], ["updated_at", Thu, 22 Aug 2013 12:07:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299200/coord/new Completed 302 Found in 32ms (ActiveRecord: 2.0ms)  (0.3ms) ROLLBACK  (0.0ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:07:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:07:17 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" = 'A001' AND "adherent_members"."organism_id" = 153) 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", Thu, 22 Aug 2013 12:07:17 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 153], ["updated_at", Thu, 22 Aug 2013 12:07:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299201/coord/new Completed 302 Found in 46ms (ActiveRecord: 1.6ms)  (0.1ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:07:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:07:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 0.9ms)  (0.1ms) 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.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:07:17 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:07:17 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" = 'A001' AND "adherent_members"."organism_id" = 155) 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", Thu, 22 Aug 2013 12:07:17 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 155], ["updated_at", Thu, 22 Aug 2013 12:07:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299202/coord/new Completed 302 Found in 9ms (ActiveRecord: 2.4ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1001"} Organism Load (0.8ms) 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", Thu, 22 Aug 2013 12:08:05 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 25ms (ActiveRecord: 10.8ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1002"} 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", Thu, 22 Aug 2013 12:08:05 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:08:05 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 158) LIMIT 1 SQL (26.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", Thu, 22 Aug 2013 12:08:05 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 158], ["updated_at", Thu, 22 Aug 2013 12:08:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299203/coord/new Completed 302 Found in 112ms (ActiveRecord: 30.9ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (1.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.4ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:08:05 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:05 UTC +00:00]]  (1.4ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 30ms (Views: 12.4ms | ActiveRecord: 8.3ms)  (1.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (1.1ms) 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", Thu, 22 Aug 2013 12:08:05 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:05 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" = 'A001' AND "adherent_members"."organism_id" = 160) 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", Thu, 22 Aug 2013 12:08:05 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 160], ["updated_at", Thu, 22 Aug 2013 12:08:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299204/coord/new Completed 302 Found in 13ms (ActiveRecord: 2.7ms)  (0.1ms) ROLLBACK  (0.0ms) 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 (0.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:08:05 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:05 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" = 'A001' AND "adherent_members"."organism_id" = 161) 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", Thu, 22 Aug 2013 12:08:05 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 161], ["updated_at", Thu, 22 Aug 2013 12:08:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299205/coord/new Completed 302 Found in 24ms (ActiveRecord: 2.2ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1003"} 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", Thu, 22 Aug 2013 12:08:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1003 Completed 302 Found in 6ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1004"} 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", Thu, 22 Aug 2013 12:08:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:06 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1004 Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1005"} 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", Thu, 22 Aug 2013 12:08:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1006"} 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", Thu, 22 Aug 2013 12:08:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:06 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1006 Completed 302 Found in 9ms (ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 12:08:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) 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", Thu, 22 Aug 2013 12:08:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.8ms)  (0.2ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:08:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 168 Completed 200 OK in 8ms (Views: 2.3ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML 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", Thu, 22 Aug 2013 12:08:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.7ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 12:08:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.9ms)  (0.1ms) 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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:08:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 46ms (Views: 42.5ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML 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", Thu, 22 Aug 2013 12:08:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (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" = 'Adh1' AND "adherent_members"."organism_id" = 1) 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", Thu, 22 Aug 2013 12:08:11 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 12:08:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (19.3ms) 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", Thu, 22 Aug 2013 12:08:11 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299206], ["office", nil], ["tel", nil], ["updated_at", Thu, 22 Aug 2013 12:08:11 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299206 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190982]] SQL (0.2ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299206]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.2ms) ROLLBACK  (0.0ms) 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.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) 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", #], ["created_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 1], ["to_date", Thu, 21 Aug 2014], ["updated_at", Thu, 22 Aug 2013 12:08:12 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" = 980191026  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980191026], ["amount", #], ["created_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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", #], ["created_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 1], ["to_date", Thu, 21 Aug 2014], ["updated_at", Thu, 22 Aug 2013 12:08:12 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" = 980191027  (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", 980191027], ["amount", #], ["created_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191027  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191027  (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", #], ["created_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 1], ["to_date", Thu, 21 Aug 2014], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191028  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980191028], ["amount", #], ["created_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191028  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (1.5ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} Organism Load (0.2ms) 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", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/edit.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 21ms (Views: 6.5ms | ActiveRecord: 2.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.8ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML 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", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (1.3ms) 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", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 176 Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 2.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML 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", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1008"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.7ms) 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", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1008 Completed 302 Found in 8ms (ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1009 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"=>"1010"} 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", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.8ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1011"} 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", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1011 Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) 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.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:12 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" = 'A001' AND "adherent_members"."organism_id" = 182) 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", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 182], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299207/coord/new Completed 302 Found in 9ms (ActiveRecord: 1.8ms)  (0.1ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.1ms) 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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:12 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" = 'A001' AND "adherent_members"."organism_id" = 184) 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", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 184], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299208/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.7ms)  (0.1ms) 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.2ms) 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", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:12 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" = 'A001' AND "adherent_members"."organism_id" = 185) 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", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 185], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299209/coord/new Completed 302 Found in 14ms (ActiveRecord: 3.4ms)  (0.1ms) 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 (13.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 19ms (Views: 1.7ms | ActiveRecord: 13.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1014"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 7ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1015"} Organism Load (0.6ms) 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", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 5ms (ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.7ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.5ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) 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", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 12:08:12 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", #], ["created_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299210], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299210 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299210 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", #], ["created_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299210], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299210], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299210 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299210 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191029  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191030  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191029 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", 980191029], ["amount", #], ["created_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["payment_id", 980190991], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191030 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980191030], ["amount", #], ["created_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["payment_id", 980190991], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190991  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190991  (0.0ms) ROLLBACK  (0.1ms) BEGIN 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  (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", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 12:08:12 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", #], ["created_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299211], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299211 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299211 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", #], ["created_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299211], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 12:08:12 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", #], ["created_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299211], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299211 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299211 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191031  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191032  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191031 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", 980191031], ["amount", #], ["created_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["payment_id", 980190992], ["updated_at", Thu, 22 Aug 2013 12:08:12 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.5ms) 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", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 12:08:12 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", #], ["created_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299212], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 12:08:12 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" = 819299212 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299212 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", #], ["created_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299212], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 12:08:12 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", #], ["created_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299212], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299212 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299212 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191033  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191034  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191033 SQL (76.1ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980191033], ["amount", #], ["created_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["payment_id", 980190993], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (1.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191034 SQL (1.0ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980191034], ["amount", #], ["created_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["payment_id", 980190993], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.9ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) ROLLBACK  (0.7ms) 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 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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.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" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) 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.0ms) 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", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.1ms) RELEASE 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" = 2) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' 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", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.1ms) RELEASE 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  (0.1ms) ROLLBACK  (0.0ms) 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 (3.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", Tue, 06 Jun 1944], ["created_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 12:08:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"id"=>"999"} Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (14.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:13:49 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:13:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 36ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#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.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:13:49 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:13:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 12:13:49 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:13:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 6ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"id"=>"998"} Organism Load (0.1ms) 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", Thu, 22 Aug 2013 12:13:49 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:13:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#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.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", Thu, 22 Aug 2013 12:13:49 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:13:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 404 Not Found in 5ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} 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", Thu, 22 Aug 2013 12:13:49 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:13:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 404 Not Found in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001", "birthdate"=>"06/06/1955"}} 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", Thu, 22 Aug 2013 12:13:49 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:13:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 404 Not Found in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:13:49 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:13:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 404 Not Found in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1013"} 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", Thu, 22 Aug 2013 12:13:49 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:13:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 198 Completed 200 OK in 22ms (Views: 6.5ms | ActiveRecord: 1.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1014"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:13:49 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:13:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML 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", Thu, 22 Aug 2013 12:13:49 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:13:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 404 Not Found in 5ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1017"} 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", Thu, 22 Aug 2013 12:13:49 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:13:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1019"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Thu, 22 Aug 2013 12:13:49 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:13:49 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1021"} 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", Thu, 22 Aug 2013 12:13:49 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:13:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1023"} 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", Thu, 22 Aug 2013 12:13:49 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:13:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 3ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#destroy as HTML Parameters: {"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.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:13:49 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:13:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#destroy as HTML Parameters: {"id"=>"1027"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.8ms) 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", Thu, 22 Aug 2013 12:13:49 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:13:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.8ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (5.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:16:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:16:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 404 Not Found in 25ms  (0.4ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} 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", Thu, 22 Aug 2013 12:16:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:16:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 404 Not Found in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.8ms) 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", Thu, 22 Aug 2013 12:16:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:16:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 404 Not Found in 6ms  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001", "birthdate"=>"06/06/1955"}} 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", Thu, 22 Aug 2013 12:16:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:16:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 404 Not Found in 43ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#new as HTML 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", Thu, 22 Aug 2013 12:16:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:16:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 404 Not Found in 4ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::CoordsController#show 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", Thu, 22 Aug 2013 12:16:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:16:11 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" = $1 LIMIT 1 [["id", "1006"]] Completed 404 Not Found in 7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1008"} 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", Thu, 22 Aug 2013 12:16:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:16:11 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" = $1 LIMIT 1 [["id", "1008"]] Completed 404 Not Found in 4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#destroy as HTML Parameters: {"id"=>"1011"} 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", Thu, 22 Aug 2013 12:16:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:16:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 3ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#destroy as HTML Parameters: {"id"=>"1013"} 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", Thu, 22 Aug 2013 12:16:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:16:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#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", Thu, 22 Aug 2013 12:16:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:16:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 12:16:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:16:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1019"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (110.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:16:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:16:11 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 116ms  (0.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1021"} 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", Thu, 22 Aug 2013 12:16:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:16:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 6ms  (1.7ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1023"} 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", Thu, 22 Aug 2013 12:16:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:16:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1025"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:16:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:16:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1026"} 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", Thu, 22 Aug 2013 12:16:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:16:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 15ms (Views: 10.3ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1027"} 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", Thu, 22 Aug 2013 12:16:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:16:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 223 Completed 200 OK in 17ms (Views: 2.3ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Thu, 22 Aug 2013 12:17:38 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:17:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 27ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1003"} 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", Thu, 22 Aug 2013 12:17:38 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:17:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1005"} 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", Thu, 22 Aug 2013 12:17:39 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:17:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 3ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1007"} Organism Load (0.4ms) 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", Thu, 22 Aug 2013 12:17:39 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:17:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1009"} Organism Load (0.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", Thu, 22 Aug 2013 12:17:39 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:17:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:17:39 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:17:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:17:39 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:17:39 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (1.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", Thu, 22 Aug 2013 12:17:39 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:17:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 6ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001", "birthdate"=>"06/06/1955"}} 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", Thu, 22 Aug 2013 12:17:39 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:17:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#destroy as HTML Parameters: {"id"=>"1015"} 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", Thu, 22 Aug 2013 12:17:39 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:17:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#destroy as HTML Parameters: {"id"=>"1017"} 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", Thu, 22 Aug 2013 12:17:39 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:17:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1018"} 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", Thu, 22 Aug 2013 12:17:39 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:17:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1020"} 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", Thu, 22 Aug 2013 12:17:39 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:17:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1022"} 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", Thu, 22 Aug 2013 12:17:39 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:17:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 237 Completed 200 OK in 22ms (Views: 6.0ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1023"} 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", Thu, 22 Aug 2013 12:17:39 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:17:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"id"=>"999"} Organism Load (0.3ms) 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", Thu, 22 Aug 2013 12:17:39 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:17:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#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", Thu, 22 Aug 2013 12:17:39 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:17:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1001"} Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:18:05 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 241 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/index.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 93ms (Views: 50.4ms | ActiveRecord: 12.2ms)  (0.7ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1002"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:18:05 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1004"} 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", Thu, 22 Aug 2013 12:18:05 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1006"} Organism Load (0.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", Thu, 22 Aug 2013 12:18:05 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1008"} Organism Load (0.3ms) 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", Thu, 22 Aug 2013 12:18:05 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 3ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1010"} 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", Thu, 22 Aug 2013 12:18:05 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#destroy as HTML Parameters: {"id"=>"1012"} 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", Thu, 22 Aug 2013 12:18:05 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#destroy as HTML Parameters: {"id"=>"1014"} 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", Thu, 22 Aug 2013 12:18:05 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:05 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:18:05 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#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.7ms) 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", Thu, 22 Aug 2013 12:18:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 7ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} 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", Thu, 22 Aug 2013 12:18:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.0ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001", "birthdate"=>"06/06/1955"}} 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", Thu, 22 Aug 2013 12:18:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:18:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 3ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1020"} 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", Thu, 22 Aug 2013 12:18:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:06 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1022"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:18:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.7ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 12:18:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"id"=>"998"} 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", Thu, 22 Aug 2013 12:18:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:06 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.9ms) SAVEPOINT active_record_1 SQL (4.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:18:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 28ms  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1003"} 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", Thu, 22 Aug 2013 12:18:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1005"} 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", Thu, 22 Aug 2013 12:18:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1007"} 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", Thu, 22 Aug 2013 12:18:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1009"} 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", Thu, 22 Aug 2013 12:18:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#destroy as HTML Parameters: {"id"=>"1011"} 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", Thu, 22 Aug 2013 12:18:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#destroy as HTML Parameters: {"id"=>"1013"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:18:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 3ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001", "birthdate"=>"06/06/1955"}} Organism Load (0.2ms) 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", Thu, 22 Aug 2013 12:18:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:18:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 3ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:18:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:18:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 12:18:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"id"=>"998"} 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", Thu, 22 Aug 2013 12:18:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1022"} 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", Thu, 22 Aug 2013 12:18:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 9.3ms | ActiveRecord: 1.0ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1024"} 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", Thu, 22 Aug 2013 12:18:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1026"} Organism Load (0.9ms) 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", Thu, 22 Aug 2013 12:18:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 273 Completed 200 OK in 18ms (Views: 1.9ms | ActiveRecord: 2.0ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1027"} 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", Thu, 22 Aug 2013 12:18:36 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:18:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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", Thu, 22 Aug 2013 12:19:31 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:19:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 27ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.5ms) 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", Thu, 22 Aug 2013 12:19:31 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:19:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001", "birthdate"=>"06/06/1955"}} 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", Thu, 22 Aug 2013 12:19:31 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:19:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} 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", Thu, 22 Aug 2013 12:19:32 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1005"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.5ms) 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", Thu, 22 Aug 2013 12:19:32 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 7.4ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1007"} 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", Thu, 22 Aug 2013 12:19:32 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1009"} 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", Thu, 22 Aug 2013 12:19:32 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1010"} Organism Load (0.7ms) 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", Thu, 22 Aug 2013 12:19:32 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 1.4ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1011"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:19:32 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 283 Completed 200 OK in 18ms (Views: 2.7ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#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.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:19:32 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 12:19:32 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 3ms  (0.9ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#destroy as HTML Parameters: {"id"=>"1017"} 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", Thu, 22 Aug 2013 12:19:32 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#destroy as HTML Parameters: {"id"=>"1019"} 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", Thu, 22 Aug 2013 12:19:32 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1021"} 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", Thu, 22 Aug 2013 12:19:32 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1023"} 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", Thu, 22 Aug 2013 12:19:32 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1025"} Organism Load (0.0ms) 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", Thu, 22 Aug 2013 12:19:32 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1027"} 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", Thu, 22 Aug 2013 12:19:32 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:19:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1001"} Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:21:01 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:21:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/new.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 31ms (Views: 6.5ms | ActiveRecord: 11.1ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#destroy as HTML Parameters: {"id"=>"1004"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:21:02 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:21:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 8ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#destroy as HTML Parameters: {"id"=>"1006"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:21:02 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:21:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"id"=>"998"} 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", Thu, 22 Aug 2013 12:21:02 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:21:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"id"=>"999"} Organism Load (0.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", Thu, 22 Aug 2013 12:21:02 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:21:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1011"} Organism Load (0.0ms) 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", Thu, 22 Aug 2013 12:21:02 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:21:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1013"} 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", Thu, 22 Aug 2013 12:21:02 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:21:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1015"} 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", Thu, 22 Aug 2013 12:21:02 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:21:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.4ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1016"} 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", Thu, 22 Aug 2013 12:21:02 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:21:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 300 Completed 200 OK in 16ms (Views: 0.9ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1018"} 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", Thu, 22 Aug 2013 12:21:02 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:21:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1020"} 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", Thu, 22 Aug 2013 12:21:02 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:21:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1022"} 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", Thu, 22 Aug 2013 12:21:02 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:21:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1024"} 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", Thu, 22 Aug 2013 12:21:02 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:21:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 3ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001", "birthdate"=>"06/06/1955"}} 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", Thu, 22 Aug 2013 12:21:02 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:21:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:21:02 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:21:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 3ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#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.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:21:02 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:21:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 8ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:21:02 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:21:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.3ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1002"} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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", Thu, 22 Aug 2013 12:23:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:23:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 27ms  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1004"} 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", Thu, 22 Aug 2013 12:23:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:23:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 40ms  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1006"} 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", Thu, 22 Aug 2013 12:23:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:23:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1008"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:23:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:23:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1009"} 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", Thu, 22 Aug 2013 12:23:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:23:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 6.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#destroy as HTML Parameters: {"id"=>"1012"} 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", Thu, 22 Aug 2013 12:23:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:23:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#destroy as HTML Parameters: {"id"=>"1014"} 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", Thu, 22 Aug 2013 12:23:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:23:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#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 (0.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:23:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:23:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} 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", Thu, 22 Aug 2013 12:23:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:23:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#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.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", Thu, 22 Aug 2013 12:23:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:23:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 3ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001", "birthdate"=>"06/06/1955"}} Organism Load (0.2ms) 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", Thu, 22 Aug 2013 12:23:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:23:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 6ms  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1019"} 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", Thu, 22 Aug 2013 12:23:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:23:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1021"} 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", Thu, 22 Aug 2013 12:23:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:23:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1023"} 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", Thu, 22 Aug 2013 12:23:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:23:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1024"} 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", Thu, 22 Aug 2013 12:23:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:23:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 323 Completed 200 OK in 19ms (Views: 0.9ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1025"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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", Thu, 22 Aug 2013 12:23:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:23:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 4.9ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1027"} 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", Thu, 22 Aug 2013 12:23:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:23:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1001"} Organism Load (1.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:27:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/edit.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 29ms (Views: 6.1ms | ActiveRecord: 9.6ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1003"} 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", Thu, 22 Aug 2013 12:27:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1006"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.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", Thu, 22 Aug 2013 12:27:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 10ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1008"} Organism Load (0.3ms) 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", Thu, 22 Aug 2013 12:27:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1010"} 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", Thu, 22 Aug 2013 12:27:04 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1012"} 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", Thu, 22 Aug 2013 12:27:04 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1013"} 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", Thu, 22 Aug 2013 12:27:04 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1015"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:27:04 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:04 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::CoordsController#index as HTML Parameters: {"member_id"=>"1017"} 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", Thu, 22 Aug 2013 12:27:04 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:04 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.0ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1018"} 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", Thu, 22 Aug 2013 12:27:04 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 335 Completed 200 OK in 19ms (Views: 1.6ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#destroy as HTML Parameters: {"id"=>"1020"} 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", Thu, 22 Aug 2013 12:27:04 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#destroy as HTML Parameters: {"id"=>"1022"} 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", Thu, 22 Aug 2013 12:27:04 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1023"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (27.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:27:04 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 32ms (Views: 1.3ms | ActiveRecord: 27.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1025"} 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", Thu, 22 Aug 2013 12:27:04 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1027"} Organism Load (0.1ms) 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", Thu, 22 Aug 2013 12:27:04 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 3ms  (0.9ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1001"} Organism Load (0.7ms) 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", Thu, 22 Aug 2013 12:27:40 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/index.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 29ms (Views: 6.6ms | ActiveRecord: 9.0ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1002"} 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", Thu, 22 Aug 2013 12:27:40 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 342 Completed 200 OK in 62ms (Views: 1.0ms | ActiveRecord: 3.4ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::CoordsController#destroy as HTML Parameters: {"id"=>"1004"} Organism Load (0.9ms) 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", Thu, 22 Aug 2013 12:27:40 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#destroy as HTML Parameters: {"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", Thu, 22 Aug 2013 12:27:40 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 3ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1007"} 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", Thu, 22 Aug 2013 12:27:40 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1009"} Organism Load (0.2ms) 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", Thu, 22 Aug 2013 12:27:40 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1012"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:27:40 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1014"} Organism Load (1.6ms) 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", Thu, 22 Aug 2013 12:27:40 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 6ms  (0.6ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1016"} Organism Load (0.9ms) 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", Thu, 22 Aug 2013 12:27:40 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1018"} 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", Thu, 22 Aug 2013 12:27:40 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1019"} 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", Thu, 22 Aug 2013 12:27:40 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1021"} 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", Thu, 22 Aug 2013 12:27:40 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1021/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1023"} 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", Thu, 22 Aug 2013 12:27:40 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1025"} 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", Thu, 22 Aug 2013 12:27:40 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1027"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:27:40 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.0ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::CoordsController#destroy as HTML Parameters: {"id"=>"1002"} Organism Load (1.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (3.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:30:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:30:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 25ms  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#destroy as HTML Parameters: {"id"=>"1004"} 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", Thu, 22 Aug 2013 12:30:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:30:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"city"=>"Dallas"}, "member_id"=>"1005"} 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", Thu, 22 Aug 2013 12:30:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:30:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 16ms  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"city"=>"Dallas"}, "member_id"=>"1007"} Organism Load (0.8ms) 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", Thu, 22 Aug 2013 12:30:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:30:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1007/coord Completed 302 Found in 5ms (ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"city"=>"Dallas"}, "member_id"=>"1009"} 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", Thu, 22 Aug 2013 12:30:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:30:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 15ms (Views: 10.7ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"member"=>{"city"=>"Dallas"}, "member_id"=>"1011"} 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", Thu, 22 Aug 2013 12:30:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:30:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1013"} 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", Thu, 22 Aug 2013 12:30:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:30:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1015"} 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", Thu, 22 Aug 2013 12:30:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:30:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1017"} 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", Thu, 22 Aug 2013 12:30:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:30:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1017/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1019"} 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", Thu, 22 Aug 2013 12:30:35 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:30:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1021"} Organism Load (1.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", Thu, 22 Aug 2013 12:30:36 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:30:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1023"} 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", Thu, 22 Aug 2013 12:30:36 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:30:36 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.0ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1025"} Organism Load (2.2ms) 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", Thu, 22 Aug 2013 12:30:36 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:30:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.1ms | ActiveRecord: 3.4ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1027"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:30:36 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:30:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 369 Completed 200 OK in 18ms (Views: 2.1ms | ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1028"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:30:36 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:30:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1001"} Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Thu, 22 Aug 2013 12:31:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/new.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 30ms (Views: 6.9ms | ActiveRecord: 9.7ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1003"} 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", Thu, 22 Aug 2013 12:31:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.8ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1005"} 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", Thu, 22 Aug 2013 12:31:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1007"} Organism Load (0.9ms) 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", Thu, 22 Aug 2013 12:31:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1007/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1009"} 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", Thu, 22 Aug 2013 12:31:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1011"} 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", Thu, 22 Aug 2013 12:31:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 376 Completed 200 OK in 23ms (Views: 2.1ms | ActiveRecord: 2.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1012"} 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", Thu, 22 Aug 2013 12:31:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:12 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1013"} 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", Thu, 22 Aug 2013 12:31:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1015"} Organism Load (0.3ms) 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", Thu, 22 Aug 2013 12:31:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:12 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::CoordsController#destroy as HTML Parameters: {"id"=>"1018"} Organism Load (0.2ms) 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", Thu, 22 Aug 2013 12:31:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:12 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 6ms  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#destroy as HTML Parameters: {"id"=>"1020"} 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", Thu, 22 Aug 2013 12:31:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1021"} Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:31:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1023"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) 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", Thu, 22 Aug 2013 12:31:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1023/coord Completed 302 Found in 9ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "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.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:31:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1025/coord Completed 302 Found in 4ms (ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1027"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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", Thu, 22 Aug 2013 12:31:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 14ms  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1001"} Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:31:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/new.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 30ms (Views: 6.8ms | ActiveRecord: 11.4ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1003"} 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", Thu, 22 Aug 2013 12:31:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.7ms | ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1005"} 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", Thu, 22 Aug 2013 12:31:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1007"} 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", Thu, 22 Aug 2013 12:31:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 389 Completed 200 OK in 22ms (Views: 1.1ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1008"} 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", Thu, 22 Aug 2013 12:31:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1009"} Organism Load (0.2ms) 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", Thu, 22 Aug 2013 12:31:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1011"} 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", Thu, 22 Aug 2013 12:31:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1013"} 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", Thu, 22 Aug 2013 12:31:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1013/coord Completed 302 Found in 6ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1015"} Organism Load (1.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:31:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1015/coord Completed 302 Found in 5ms (ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1017"} 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", Thu, 22 Aug 2013 12:31:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1017/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1019"} 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", Thu, 22 Aug 2013 12:31:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#destroy as HTML Parameters: {"id"=>"1022"} 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", Thu, 22 Aug 2013 12:31:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#destroy as HTML Parameters: {"id"=>"1024"} 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", Thu, 22 Aug 2013 12:31:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1025"} Organism Load (0.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", Thu, 22 Aug 2013 12:31:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1027"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:31:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:31:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1001"} Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:34:13 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:34:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/edit.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 30ms (Views: 6.4ms | ActiveRecord: 10.4ms)  (0.6ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1003"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.4ms) 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", Thu, 22 Aug 2013 12:34:13 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:34:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1005"} Organism Load (0.6ms) 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", Thu, 22 Aug 2013 12:34:13 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:34:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.4ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1007"} 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", Thu, 22 Aug 2013 12:34:13 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:34:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1009"} Organism Load (0.3ms) 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", Thu, 22 Aug 2013 12:34:13 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:34:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (13.9ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1011"} 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", Thu, 22 Aug 2013 12:34:13 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:34:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1011/coord Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1013"} 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", Thu, 22 Aug 2013 12:34:13 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:34:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1015"} 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", Thu, 22 Aug 2013 12:34:13 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:34:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1015/coord Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1017"} 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", Thu, 22 Aug 2013 12:34:13 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:34:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1017/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1019"} 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", Thu, 22 Aug 2013 12:34:13 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:34:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#destroy as HTML Parameters: {"member_id"=>"1021", "id"=>"1022"} 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", Thu, 22 Aug 2013 12:34:13 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:34:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/coords Completed 302 Found in 56ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"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.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:34:13 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:34:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1027"} 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", Thu, 22 Aug 2013 12:34:13 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:34:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 413 Completed 200 OK in 20ms (Views: 1.5ms | ActiveRecord: 3.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1028"} Organism Load (0.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", Thu, 22 Aug 2013 12:34:13 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:34:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1001"} Organism Load (3.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:34:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:34:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/index.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 42ms (Views: 5.9ms | ActiveRecord: 17.6ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1002"} 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", Thu, 22 Aug 2013 12:34:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:34:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 416 Completed 200 OK in 56ms (Views: 1.0ms | ActiveRecord: 3.9ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1003"} 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", Thu, 22 Aug 2013 12:34:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:34:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1005"} Organism Load (1.2ms) 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", Thu, 22 Aug 2013 12:34:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:34:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1005/coord Completed 302 Found in 7ms (ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1007"} 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", Thu, 22 Aug 2013 12:34:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:34:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1009"} 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", Thu, 22 Aug 2013 12:34:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:34:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1009/coord Completed 302 Found in 6ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1011"} 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", Thu, 22 Aug 2013 12:34:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:34:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1013"} 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", Thu, 22 Aug 2013 12:34:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:34:58 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.1ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1015"} 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", Thu, 22 Aug 2013 12:34:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:34:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1017"} 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", Thu, 22 Aug 2013 12:34:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:34:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1019"} 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", Thu, 22 Aug 2013 12:34:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:34:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1021"} 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", Thu, 22 Aug 2013 12:34:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:34:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1021/adhesions/new Completed 302 Found in 6ms (ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1023"} 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", Thu, 22 Aug 2013 12:34:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:34:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1001"} Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/index.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 31ms (Views: 6.7ms | ActiveRecord: 9.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1002"} Organism Load (0.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", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 429 Completed 200 OK in 19ms (Views: 1.1ms | ActiveRecord: 3.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1003"} 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", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.8ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1005"} 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", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1005/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1007"} 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", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1009"} 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", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1011"} 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", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1013"} 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", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1015"} 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", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1017"} 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", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1017/coord Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1019"} 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", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1021"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.4ms) 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", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1023"} 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", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1023/coord Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) 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.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (1.0ms) 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 (15.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", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299216], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (16.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299216 Adherent::Adhesion Load (6.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299216 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", #], ["created_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299216], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299216], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299216 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299216 ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191035  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191036  (3.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191035 SQL (7.5ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980191035], ["amount", #], ["created_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["payment_id", 980190994], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191036 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980191036], ["amount", #], ["created_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["payment_id", 980190994], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.4ms) 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", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", #], ["created_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299217], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 12:35:05 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" = 819299217 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299217 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", #], ["created_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299217], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299217], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299217 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299217 ORDER BY to_date  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191037  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191038  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191037 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", 980191037], ["amount", #], ["created_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["payment_id", 980190995], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191038 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", 980191038], ["amount", #], ["created_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["payment_id", 980190995], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.8ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190995  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190995  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.5ms) 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", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 12:35:05 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", #], ["created_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299218], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299218 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299218 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", #], ["created_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299218], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 12:35:05 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", #], ["created_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299218], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299218 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299218 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191039  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191040  (1.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191039 SQL (1.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980191039], ["amount", #], ["created_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["payment_id", 980190996], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (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", #], ["created_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 1], ["to_date", Thu, 21 Aug 2014], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191041  (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", 980191041], ["amount", #], ["created_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 22 Aug 2013 12:35:05 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" = 980191041  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (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", #], ["created_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 1], ["to_date", Thu, 21 Aug 2014], ["updated_at", Thu, 22 Aug 2013 12:35:05 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" = 980191042  (0.0ms) 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", 980191042], ["amount", #], ["created_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) 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", #], ["created_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 1], ["to_date", Thu, 21 Aug 2014], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191043  (0.1ms) SAVEPOINT active_record_1 SQL (28.4ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980191043], ["amount", #], ["created_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191043  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191043  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) 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) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (1.9ms) 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 (5.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" IS NULL AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.4ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (3.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 (2.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.9ms) ROLLBACK  (0.1ms) BEGIN  (1.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.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", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 2) LIMIT 1  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) 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", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.2ms) RELEASE 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  (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.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", Tue, 06 Jun 1944], ["created_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' 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", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_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", "Lille"], ["created_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299222], ["office", nil], ["tel", nil], ["updated_at", Thu, 22 Aug 2013 12:35:05 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299222 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  (0.0ms) SAVEPOINT active_record_1 SQL (32.3ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190983]] SQL (0.5ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299222]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (0.9ms) 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", Thu, 22 Aug 2013 12:35:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 1.9ms | ActiveRecord: 1.7ms)  (0.8ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (0.3ms) 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", Thu, 22 Aug 2013 12:35:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 442 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1030"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:35:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1030 Completed 302 Found in 7ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1031"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:35:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1031 Completed 302 Found in 4ms (ActiveRecord: 0.7ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1032"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:35:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 15ms (Views: 11.1ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "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", Thu, 22 Aug 2013 12:35:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1033 Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#new as HTML Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:35:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 8.5ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} 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", Thu, 22 Aug 2013 12:35:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) 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.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", Thu, 22 Aug 2013 12:35:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:06 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" = 'A001' AND "adherent_members"."organism_id" = 449) 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", Thu, 22 Aug 2013 12:35:06 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 449], ["updated_at", Thu, 22 Aug 2013 12:35:06 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299223/coord/new Completed 302 Found in 11ms (ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} 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", Thu, 22 Aug 2013 12:35:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 450) 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", Thu, 22 Aug 2013 12:35:06 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 450], ["updated_at", Thu, 22 Aug 2013 12:35:06 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299224/coord/new Completed 302 Found in 9ms (ActiveRecord: 2.3ms)  (0.1ms) ROLLBACK  (0.0ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:35:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:06 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" = 'A001' AND "adherent_members"."organism_id" = 451) 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", Thu, 22 Aug 2013 12:35:06 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 451], ["updated_at", Thu, 22 Aug 2013 12:35:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299225/coord/new Completed 302 Found in 9ms (ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.1ms) 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", Thu, 22 Aug 2013 12:35:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:06 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::MembersController#edit as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 12:35:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.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", Thu, 22 Aug 2013 12:35:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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", Thu, 22 Aug 2013 12:35:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1038"} 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", Thu, 22 Aug 2013 12:35:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 6ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (1.0ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1039"} 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", Thu, 22 Aug 2013 12:35:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:35:06 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 5ms (ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1001"} Organism Load (0.7ms) 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", Thu, 22 Aug 2013 12:38:01 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:38:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/show.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 29ms (Views: 5.8ms | ActiveRecord: 9.1ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1003"} 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", Thu, 22 Aug 2013 12:38:01 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:38:01 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1005"} Organism Load (0.9ms) 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", Thu, 22 Aug 2013 12:38:01 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:38:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.8ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1007"} 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", Thu, 22 Aug 2013 12:38:01 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:38:01 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1009"} Organism Load (0.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", Thu, 22 Aug 2013 12:38:01 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:38:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1009/coord Completed 302 Found in 4ms (ActiveRecord: 0.7ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1011"} 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", Thu, 22 Aug 2013 12:38:01 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:38:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1011/coord Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1013"} 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", Thu, 22 Aug 2013 12:38:01 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:38:01 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::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1015"} 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", Thu, 22 Aug 2013 12:38:01 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:38:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1015/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1017"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:38:01 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:38:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1019"} 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", Thu, 22 Aug 2013 12:38:01 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:38:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 2.0ms | ActiveRecord: 1.0ms)  (1.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1021"} 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", Thu, 22 Aug 2013 12:38:01 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:38:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 1.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1023"} 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", Thu, 22 Aug 2013 12:38:01 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:38:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 469 Completed 200 OK in 20ms (Views: 1.6ms | ActiveRecord: 2.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1024"} Organism Load (1.0ms) 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", Thu, 22 Aug 2013 12:38:01 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:38:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 6ms  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1017"} Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Thu, 22 Aug 2013 12:38:24 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:38:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 29ms  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1019"} 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", Thu, 22 Aug 2013 12:38:24 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:38:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1020"} 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", Thu, 22 Aug 2013 12:38:24 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:38:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1021"} 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", Thu, 22 Aug 2013 12:38:24 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:38:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1023"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Thu, 22 Aug 2013 12:38:24 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:38:24 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1009"} Organism Load (0.7ms) 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", Thu, 22 Aug 2013 12:39:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:39:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 31ms (Views: 6.7ms | ActiveRecord: 10.4ms)  (0.5ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1010"} 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", Thu, 22 Aug 2013 12:39:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:39:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 7ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1011"} Organism Load (0.2ms) 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", Thu, 22 Aug 2013 12:39:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:39:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1013"} 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", Thu, 22 Aug 2013 12:39:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:39:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1015"} 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", Thu, 22 Aug 2013 12:39:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:39:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (1.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1005"} Organism Load (1.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (36.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 12:39:59 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:39:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 62ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1007"} 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", Thu, 22 Aug 2013 12:39:59 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:39:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1009"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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", Thu, 22 Aug 2013 12:39:59 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:39:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 7ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1019"} Organism Load (1.0ms) 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", Thu, 22 Aug 2013 12:39:59 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:39:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 6.5ms | ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1020"} 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", Thu, 22 Aug 2013 12:39:59 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 12:39:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1001", "id"=>"1"} Organism Load (0.7ms) 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", Thu, 22 Aug 2013 16:24:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:24:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/show.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 33ms (Views: 8.2ms | ActiveRecord: 10.0ms)  (0.7ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1003", "id"=>"1"} Organism Load (1.1ms) 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", Thu, 22 Aug 2013 16:24:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:24:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 2.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1009"} 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", Thu, 22 Aug 2013 16:24:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:24:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 11ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1011"} 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", Thu, 22 Aug 2013 16:24:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:24:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1012"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.0ms) 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", Thu, 22 Aug 2013 16:24:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:24:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.0ms | ActiveRecord: 2.4ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1013"} 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", Thu, 22 Aug 2013 16:24:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:24:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1015"} 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", Thu, 22 Aug 2013 16:24:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:24:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 6ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.4ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1001", "id"=>"1"} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Thu, 22 Aug 2013 16:26:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:26:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/show.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 32ms (Views: 6.2ms | ActiveRecord: 10.5ms)  (0.5ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1003", "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.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:26:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:26:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.6ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1005"} Organism Load (0.3ms) 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", Thu, 22 Aug 2013 16:26:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:26:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 8ms  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1007"} 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", Thu, 22 Aug 2013 16:26:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:26:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1009"} 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", Thu, 22 Aug 2013 16:26:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:26:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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  (1.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1023"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (16.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:26:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:26:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 24ms (Views: 1.5ms | ActiveRecord: 17.4ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1024"} 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", Thu, 22 Aug 2013 16:26:03 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:26:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1005", "id"=>"1"} Organism Load (1.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (37.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:27:56 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:27:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 67ms (Views: 6.5ms | ActiveRecord: 43.7ms)  (0.5ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1007", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.5ms) 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", Thu, 22 Aug 2013 16:27:57 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:27:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1009"} 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", Thu, 22 Aug 2013 16:27:57 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:27:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 11ms  (0.1ms) ROLLBACK  (0.8ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1011"} 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", Thu, 22 Aug 2013 16:27:57 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:27:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.0ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1013"} Organism Load (1.4ms) 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", Thu, 22 Aug 2013 16:27:57 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:27:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.5ms | ActiveRecord: 2.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1014"} Organism Load (0.4ms) 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", Thu, 22 Aug 2013 16:27:57 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:27:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1015"} 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", Thu, 22 Aug 2013 16:27:57 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:27:57 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 1.7ms | ActiveRecord: 2.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1001", "id"=>"1"} Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Thu, 22 Aug 2013 16:29:46 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:29:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/show.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 29ms (Views: 6.5ms | ActiveRecord: 10.3ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1003", "id"=>"1"} 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", Thu, 22 Aug 2013 16:29:46 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:29:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1013"} 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", Thu, 22 Aug 2013 16:29:46 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:29:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1015"} 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", Thu, 22 Aug 2013 16:29:46 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:29:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1016"} 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", Thu, 22 Aug 2013 16:29:46 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:29:46 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.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1017"} Organism Load (1.1ms) 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", Thu, 22 Aug 2013 16:29:46 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:29:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 8ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1019"} 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", Thu, 22 Aug 2013 16:29:46 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:29:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1021", "id"=>"1"} 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", Thu, 22 Aug 2013 16:29:46 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:29:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 54ms (Views: 12.1ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1023", "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", Thu, 22 Aug 2013 16:29:46 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:29:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1001"} Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (35.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:41:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:41:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/index.html.haml within layouts/adherent/application (0.2ms) Completed 200 OK in 62ms (Views: 6.3ms | ActiveRecord: 40.6ms)  (0.5ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1002"} 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", Thu, 22 Aug 2013 16:41:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:41:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1003", "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", Thu, 22 Aug 2013 16:41:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:41:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1005", "id"=>"1"} Organism Load (0.1ms) 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", Thu, 22 Aug 2013 16:41:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:41:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"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.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:41:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:41:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"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", Thu, 22 Aug 2013 16:41:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:41:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"2013-08-22"}, "member_id"=>"1019"} 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", Thu, 22 Aug 2013 16:41:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:41:22 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"2013-08-22"}, "member_id"=>"1021"} Organism Load (0.8ms) 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", Thu, 22 Aug 2013 16:41:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:41:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1021/adhesions Completed 302 Found in 6ms (ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"2013-08-22"}, "member_id"=>"1023"} 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", Thu, 22 Aug 2013 16:41:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:41:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1023/adhesions Completed 302 Found in 6ms (ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1025"} 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", Thu, 22 Aug 2013 16:41:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:41:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.5ms | ActiveRecord: 2.5ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1001"} Organism Load (1.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (40.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:43:43 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:43:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1001/adhesions Completed 302 Found in 61ms (ActiveRecord: 46.8ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1003"} 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", Thu, 22 Aug 2013 16:43:43 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:43:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1003/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.1ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1005"} 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", Thu, 22 Aug 2013 16:43:43 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:43:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1007"} Organism Load (0.2ms) 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", Thu, 22 Aug 2013 16:43:43 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:43:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 6.8ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1009", "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", Thu, 22 Aug 2013 16:43:43 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:43:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1011", "id"=>"1"} Organism Load (0.8ms) 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", Thu, 22 Aug 2013 16:43:43 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:43:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.1ms | ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1021", "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.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:43:44 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:43:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 1.0ms)  (0.0ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1023", "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", Thu, 22 Aug 2013 16:43:44 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:43:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1025"} 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", Thu, 22 Aug 2013 16:43:44 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:43:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1026"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (5.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:43:44 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:43:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 0.9ms | ActiveRecord: 6.4ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1001"} Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:44:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:44:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 28ms (Views: 5.6ms | ActiveRecord: 10.2ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1003", "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", Thu, 22 Aug 2013 16:44:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:44:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1005", "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", Thu, 22 Aug 2013 16:44:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:44:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1007"} 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", Thu, 22 Aug 2013 16:44:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:44:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1009"} 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", Thu, 22 Aug 2013 16:44:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:44:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1009/adhesions Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1011"} 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", Thu, 22 Aug 2013 16:44:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:44:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1011/adhesions Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1013"} 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", Thu, 22 Aug 2013 16:44:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:44:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1014"} 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", Thu, 22 Aug 2013 16:44:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:44:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:44:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:44:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1017", "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", Thu, 22 Aug 2013 16:44:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:44:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1001"} Organism Load (1.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:50:01 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:50:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 30ms (Views: 6.8ms | ActiveRecord: 10.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1003", "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", Thu, 22 Aug 2013 16:50:01 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:50:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 2.7ms | ActiveRecord: 0.8ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1005", "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", Thu, 22 Aug 2013 16:50:01 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:50:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1007"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (6.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:50:01 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:50:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1007/adhesions Completed 302 Found in 11ms (ActiveRecord: 6.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1009"} 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", Thu, 22 Aug 2013 16:50:01 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:50:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1009/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1011"} 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", Thu, 22 Aug 2013 16:50:01 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:50:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1013"} 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", Thu, 22 Aug 2013 16:50:01 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:50:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.3ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1014"} 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", Thu, 22 Aug 2013 16:50:01 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:50:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1015", "id"=>"1"} Organism Load (0.9ms) 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", Thu, 22 Aug 2013 16:50:01 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:50:01 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 1.5ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"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", Thu, 22 Aug 2013 16:50:01 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:50:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1009"} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (6.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:51:09 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 42ms (Views: 15.7ms | ActiveRecord: 12.1ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1010"} Organism Load (2.1ms) 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", Thu, 22 Aug 2013 16:51:09 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:51:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 2.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1011"} 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", Thu, 22 Aug 2013 16:51:09 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:51:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 3.9ms | ActiveRecord: 0.9ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1013", "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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:51:09 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:51:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1015", "id"=>"1"} Organism Load (1.1ms) 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", Thu, 22 Aug 2013 16:51:09 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:51:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1017", "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", Thu, 22 Aug 2013 16:51:09 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:51:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1019", "id"=>"1"} Organism Load (1.1ms) 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", Thu, 22 Aug 2013 16:51:09 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:51:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1021"} 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", Thu, 22 Aug 2013 16:51:09 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:51:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1021/adhesions Completed 302 Found in 6ms (ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1023"} 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", Thu, 22 Aug 2013 16:51:09 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:51:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1023/adhesions Completed 302 Found in 6ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/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.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:51:09 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:51:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1001"} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:53:42 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:53:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 30ms (Views: 6.2ms | ActiveRecord: 9.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1003", "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", Thu, 22 Aug 2013 16:53:43 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:53:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1003/payments/1004 Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1005", "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", Thu, 22 Aug 2013 16:53:43 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:53:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1007", "id"=>"1"} Organism Load (1.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.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", Thu, 22 Aug 2013 16:53:43 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:53:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.9ms | ActiveRecord: 5.4ms)  (2.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1009", "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", Thu, 22 Aug 2013 16:53:43 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:53:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1009/payments/1010 Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.7ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:53:43 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:53:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 2.0ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"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.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:53:43 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:53:43 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1015"} 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", Thu, 22 Aug 2013 16:53:43 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:53:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.8ms)  (0.5ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1016"} 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", Thu, 22 Aug 2013 16:53:43 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:53:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1017"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.0ms) 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", Thu, 22 Aug 2013 16:53:43 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:53:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1017/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1019"} 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", Thu, 22 Aug 2013 16:53:43 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:53:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1019/adhesions Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1021"} 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", Thu, 22 Aug 2013 16:53:43 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:53:43 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1023", "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", Thu, 22 Aug 2013 16:53:43 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:53:43 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 2.5ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1025", "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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:53:43 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:53:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1001"} Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:54:00 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 63ms (Views: 40.6ms | ActiveRecord: 9.5ms)  (0.7ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1003"} 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", Thu, 22 Aug 2013 16:54:00 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1003/adhesions Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1005"} 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", Thu, 22 Aug 2013 16:54:00 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:00 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1005/adhesions Completed 302 Found in 10ms (ActiveRecord: 2.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1007", "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", Thu, 22 Aug 2013 16:54:00 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1009", "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", Thu, 22 Aug 2013 16:54:00 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1009/payments/1010 Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "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", Thu, 22 Aug 2013 16:54:00 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1011/payments/1012 Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1013", "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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:54:00 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"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.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:54:00 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1017", "id"=>"1"} Organism Load (0.4ms) 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", Thu, 22 Aug 2013 16:54:00 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1019"} Organism Load (0.1ms) 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", Thu, 22 Aug 2013 16:54:00 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1020"} 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", Thu, 22 Aug 2013 16:54:00 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1021", "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", Thu, 22 Aug 2013 16:54:00 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1023", "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.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:54:00 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1025"} Organism Load (0.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", Thu, 22 Aug 2013 16:54:00 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.7ms)  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1001"} Organism Load (2.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:54:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 32ms (Views: 7.0ms | ActiveRecord: 11.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1003", "id"=>"1"} 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", Thu, 22 Aug 2013 16:54:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1005", "id"=>"1"} Organism Load (1.0ms) 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", Thu, 22 Aug 2013 16:54:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1007"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:54:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1008"} 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", Thu, 22 Aug 2013 16:54:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:07 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.1ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1009", "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.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:54:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"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", Thu, 22 Aug 2013 16:54:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1013"} 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", Thu, 22 Aug 2013 16:54:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1013/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1015"} 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", Thu, 22 Aug 2013 16:54:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1015/adhesions Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1017"} 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", Thu, 22 Aug 2013 16:54:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1019", "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", Thu, 22 Aug 2013 16:54:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1021", "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", Thu, 22 Aug 2013 16:54:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1023", "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", Thu, 22 Aug 2013 16:54:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1023/payments/1024 Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1025", "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", Thu, 22 Aug 2013 16:54:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1025/payments/1026 Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) 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.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) 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.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (8.0ms) 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", #], ["created_at", Thu, 22 Aug 2013 16:54:07 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 1], ["to_date", Thu, 21 Aug 2014], ["updated_at", Thu, 22 Aug 2013 16:54:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191044  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980191044], ["amount", #], ["created_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191044  (0.3ms) 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", #], ["created_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 1], ["to_date", Thu, 21 Aug 2014], ["updated_at", Thu, 22 Aug 2013 16:54:08 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" = 980191045  (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", 980191045], ["amount", #], ["created_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191045  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191045  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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", #], ["created_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 1], ["to_date", Thu, 21 Aug 2014], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191046  (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", 980191046], ["amount", #], ["created_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1030"} 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", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 16ms (Views: 12.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1032"} 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", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.9ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1034"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (5.5ms) 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", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 2.5ms | ActiveRecord: 6.7ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1036"} 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", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 611 Completed 200 OK in 20ms (Views: 3.7ms | ActiveRecord: 3.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1037"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.6ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1038"} 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", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 3.0ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1040"} 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", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1042"} 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", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1042/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1044"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 1.7ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1046"} 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", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.9ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1048"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.4ms) 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", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (4.3ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 1.1ms | ActiveRecord: 7.9ms)  (3.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1050"} Organism Load (1.9ms) 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", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1050/coord Completed 302 Found in 7ms (ActiveRecord: 2.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1052"} Organism Load (0.4ms) 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", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1052/coord Completed 302 Found in 7ms (ActiveRecord: 1.3ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) 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" = 'Adh1' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (0.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", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.9ms) 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", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299226], ["office", nil], ["tel", nil], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (19.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299226 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) SAVEPOINT active_record_1 SQL (35.1ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190984]] SQL (0.1ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299226]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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.1ms) BEGIN Adherent::Member Exists (0.1ms) 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.0ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) 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  (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", Tue, 06 Jun 1944], ["created_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE 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  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) 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", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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 Adherent::Adhesion Load (13.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.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.5ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.5ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) 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", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299230], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 16:54:08 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" = 819299230 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299230 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", #], ["created_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299230], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299230], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299230 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299230 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191047  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191048  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191047 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", 980191047], ["amount", #], ["created_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["payment_id", 980190997], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191048 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980191048], ["amount", #], ["created_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["payment_id", 980190997], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.3ms) ROLLBACK  (0.1ms) BEGIN 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  (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.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", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299231], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 16:54:08 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" = 819299231 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299231 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", #], ["created_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299231], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 16:54:08 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", #], ["created_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299231], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299231 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299231 ORDER BY to_date  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191049  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191050  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191049 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", 980191049], ["amount", #], ["created_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["payment_id", 980190998], ["updated_at", Thu, 22 Aug 2013 16:54:08 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.4ms) 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 (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", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299232], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299232 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299232 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", #], ["created_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299232], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 16:54:08 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", #], ["created_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299232], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299232 LIMIT 1 Adherent::Adhesion Load (1.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299232 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191051  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191052  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191051 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", 980191051], ["amount", #], ["created_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["payment_id", 980190999], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191052 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", 980191052], ["amount", #], ["created_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["payment_id", 980190999], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190999  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980190999  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML Organism Load (0.1ms) 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", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 2.8ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.9ms)  (0.1ms) 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", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (0.4ms) 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", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 624 Completed 200 OK in 8ms (Views: 1.3ms | ActiveRecord: 1.4ms)  (0.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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 2.7ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) 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", Thu, 22 Aug 2013 16:54:08 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001", "birthdate"=>"06/06/1955"}} 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", Thu, 22 Aug 2013 16:54:09 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:09 UTC +00:00]]  (0.1ms) 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" = 'A001' AND "adherent_members"."organism_id" = 628) 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", Thu, 22 Aug 2013 16:54:09 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 628], ["updated_at", Thu, 22 Aug 2013 16:54:09 UTC +00:00]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299233/coord/new Completed 302 Found in 19ms (ActiveRecord: 4.4ms)  (3.9ms) 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.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", Thu, 22 Aug 2013 16:54:09 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (6.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 629) 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", Thu, 22 Aug 2013 16:54:09 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 629], ["updated_at", Thu, 22 Aug 2013 16:54:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299234/coord/new Completed 302 Found in 19ms (ActiveRecord: 9.6ms)  (2.2ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.6ms) 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", Thu, 22 Aug 2013 16:54:09 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:09 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.7ms | ActiveRecord: 2.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.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", Thu, 22 Aug 2013 16:54:09 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:09 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" = 631) LIMIT 1 SQL (1.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", Thu, 22 Aug 2013 16:54:09 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 631], ["updated_at", Thu, 22 Aug 2013 16:54:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299235/coord/new Completed 302 Found in 12ms (ActiveRecord: 3.0ms)  (19.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1060"} 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", Thu, 22 Aug 2013 16:54:09 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:09 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 7ms (ActiveRecord: 1.1ms)  (0.2ms) 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.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:54:09 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members 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"=>"1062"} 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", Thu, 22 Aug 2013 16:54:09 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1062 Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1063"} 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", Thu, 22 Aug 2013 16:54:09 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1064"} 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", Thu, 22 Aug 2013 16:54:09 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1064 Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1065"} 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", Thu, 22 Aug 2013 16:54:09 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:54:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1065 Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1001", "id"=>"1"} Organism Load (0.7ms) 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", Thu, 22 Aug 2013 16:57:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:57:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] Completed 404 Not Found in 27ms  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1003", "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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:57:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:57:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] Completed 404 Not Found in 41ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1005", "id"=>"1"} 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", Thu, 22 Aug 2013 16:57:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:57:58 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] Completed 404 Not Found in 5ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1007", "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", Thu, 22 Aug 2013 16:57:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:57:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] Completed 404 Not Found in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1009"} 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", Thu, 22 Aug 2013 16:57:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:57:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 7ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1011"} Organism Load (1.1ms) 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", Thu, 22 Aug 2013 16:57:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:57:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.0ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1013"} 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", Thu, 22 Aug 2013 16:57:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:57:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 3ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#show as HTML Parameters: {"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.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:57:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:57:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#show as HTML Parameters: {"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", Thu, 22 Aug 2013 16:57:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:57:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 3ms  (0.1ms) ROLLBACK  (0.0ms) 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", Thu, 22 Aug 2013 16:57:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:57:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 56ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1021", "id"=>"1"} 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", Thu, 22 Aug 2013 16:57:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:57:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1023"} 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", Thu, 22 Aug 2013 16:57:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:57:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1025"} 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", Thu, 22 Aug 2013 16:57:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:57:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1026"} 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", Thu, 22 Aug 2013 16:57:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:57:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 7.7ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1001"} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:59:26 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:59:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (0.3ms) Completed 200 OK in 30ms (Views: 6.9ms | ActiveRecord: 10.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1002"} 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", Thu, 22 Aug 2013 16:59:26 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:59:26 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1002/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1003"} 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", Thu, 22 Aug 2013 16:59:26 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:59:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 1.0ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#show as HTML Parameters: {"member_id"=>"1004", "id"=>"1"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.5ms) 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", Thu, 22 Aug 2013 16:59:26 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:59:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#show as HTML Parameters: {"member_id"=>"1006", "id"=>"1"} Organism Load (0.2ms) 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", Thu, 22 Aug 2013 16:59:26 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:59:26 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 6ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1008"} Organism Load (0.4ms) 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", Thu, 22 Aug 2013 16:59:26 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:59:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1010", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.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", Thu, 22 Aug 2013 16:59:26 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:59:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] Completed 404 Not Found in 11ms  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1012", "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", Thu, 22 Aug 2013 16:59:26 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:59:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] Completed 404 Not Found in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1014", "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", Thu, 22 Aug 2013 16:59:26 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:59:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] Completed 404 Not Found in 4ms  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1016", "id"=>"1"} 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", Thu, 22 Aug 2013 16:59:26 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:59:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] Completed 404 Not Found in 5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1018"} 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", Thu, 22 Aug 2013 16:59:26 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:59:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1020"} 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", Thu, 22 Aug 2013 16:59:26 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:59:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1022"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (114.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 16:59:26 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:59:26 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 121ms  (0.5ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1024", "id"=>"1"} Organism Load (0.5ms) 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", Thu, 22 Aug 2013 16:59:27 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:59:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 7ms  (0.7ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1026", "id"=>"1"} Organism Load (1.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (4.5ms) 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", Thu, 22 Aug 2013 16:59:27 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 16:59:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 11ms  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1001", "id"=>"1"} Organism Load (0.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:00:19 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:00:19 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] Completed 404 Not Found in 27ms  (0.4ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1003", "id"=>"1"} Organism Load (0.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", Thu, 22 Aug 2013 17:00:19 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:00:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] Completed 404 Not Found in 39ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1005", "id"=>"1"} Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) 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", Thu, 22 Aug 2013 17:00:19 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:00:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] Completed 404 Not Found in 6ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1007", "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", Thu, 22 Aug 2013 17:00:19 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:00:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] Completed 404 Not Found in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#show as HTML Parameters: {"member_id"=>"1009", "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", Thu, 22 Aug 2013 17:00:19 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:00:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 7ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#show as HTML Parameters: {"member_id"=>"1011", "id"=>"1"} Organism Load (0.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", Thu, 22 Aug 2013 17:00:19 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:00:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 3ms  (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1013"} Organism Load (0.9ms) 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", Thu, 22 Aug 2013 17:00:19 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:00:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1015"} 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", Thu, 22 Aug 2013 17:00:19 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:00:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 6.4ms | ActiveRecord: 0.8ms)  (0.9ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1016"} 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", Thu, 22 Aug 2013 17:00:19 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:00:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1017"} 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", Thu, 22 Aug 2013 17:00:19 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:00:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1017/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1018"} 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", Thu, 22 Aug 2013 17:00:19 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:00:19 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1020"} 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", Thu, 22 Aug 2013 17:00:19 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:00:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1022"} 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", Thu, 22 Aug 2013 17:00:19 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:00:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1024", "id"=>"1"} Organism Load (0.9ms) 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", Thu, 22 Aug 2013 17:00:19 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:00:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1026", "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", Thu, 22 Aug 2013 17:00:19 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:00:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#show as HTML Parameters: {"member_id"=>"1001", "id"=>"1"} Organism Load (1.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:03:26 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:03:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/show.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 31ms (Views: 6.2ms | ActiveRecord: 11.6ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#show as HTML Parameters: {"member_id"=>"1003", "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", Thu, 22 Aug 2013 17:03:26 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:03:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.7ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1005", "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", Thu, 22 Aug 2013 17:03:26 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:03:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 7ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1007", "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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:03:26 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:03:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1009"} 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", Thu, 22 Aug 2013 17:03:26 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:03:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1011"} 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", Thu, 22 Aug 2013 17:03:27 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:03:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 3ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1013"} 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", Thu, 22 Aug 2013 17:03:27 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:03:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "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.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:03:27 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:03:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] Completed 404 Not Found in 9ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1017", "id"=>"1"} Organism Load (0.4ms) 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", Thu, 22 Aug 2013 17:03:27 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:03:27 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] Completed 404 Not Found in 8ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1019", "id"=>"1"} 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", Thu, 22 Aug 2013 17:03:27 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:03:27 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] Completed 404 Not Found in 5ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "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.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:03:27 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:03:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] Completed 404 Not Found in 6ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1023"} 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", Thu, 22 Aug 2013 17:03:27 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:03:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1024"} 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", Thu, 22 Aug 2013 17:03:27 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:03:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1024/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.8ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1025"} 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", Thu, 22 Aug 2013 17:03:27 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:03:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1026"} 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", Thu, 22 Aug 2013 17:03:27 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:03:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Processing by Adherent::AdhesionsController#show as HTML Parameters: {"member_id"=>"1001", "id"=>"1"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:05:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/show.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 30ms (Views: 6.5ms | ActiveRecord: 9.1ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#show as HTML Parameters: {"member_id"=>"1003", "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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:05:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1005"} 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", Thu, 22 Aug 2013 17:05:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1005/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) 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.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:05:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1007"} 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", Thu, 22 Aug 2013 17:05:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.1ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1008"} Organism Load (0.6ms) 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", Thu, 22 Aug 2013 17:05:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1010", "id"=>"1"} 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", Thu, 22 Aug 2013 17:05:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 7ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1012", "id"=>"1"} 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", Thu, 22 Aug 2013 17:05:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.0ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1014"} 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", Thu, 22 Aug 2013 17:05:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1016"} 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", Thu, 22 Aug 2013 17:05:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 6ms  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1018"} 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", Thu, 22 Aug 2013 17:05:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 4ms  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1020", "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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:05:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:05:07 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] Completed 404 Not Found in 8ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1022", "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", Thu, 22 Aug 2013 17:05:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] Completed 404 Not Found in 9ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1024", "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", Thu, 22 Aug 2013 17:05:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] Completed 404 Not Found in 5ms  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1026", "id"=>"1"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.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", Thu, 22 Aug 2013 17:05:07 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] Completed 404 Not Found in 7ms  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1001", "id"=>"1"} Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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", Thu, 22 Aug 2013 17:06:56 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:06:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/edit.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 29ms (Views: 5.7ms | ActiveRecord: 9.6ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1003", "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.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:06:56 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:06:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1005"} 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", Thu, 22 Aug 2013 17:06:56 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:06:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#show as HTML Parameters: {"member_id"=>"1007", "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", Thu, 22 Aug 2013 17:06:56 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:06:56 UTC +00:00]]  (1.4ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.8ms | ActiveRecord: 2.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#show as HTML Parameters: {"member_id"=>"1009", "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.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:06:56 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:06:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1011"} 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", Thu, 22 Aug 2013 17:06:56 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:06:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1011/adhesions Completed 302 Found in 6ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1013"} Organism Load (1.6ms) 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", Thu, 22 Aug 2013 17:06:56 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:06:56 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1013/adhesions Completed 302 Found in 9ms (ActiveRecord: 2.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1015"} 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", Thu, 22 Aug 2013 17:06:56 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:06:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.4ms | ActiveRecord: 3.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1017"} 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", Thu, 22 Aug 2013 17:06:56 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:06:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.7ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1018"} 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", Thu, 22 Aug 2013 17:06:56 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:06:56 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1018/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1019"} Organism Load (2.5ms) 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", Thu, 22 Aug 2013 17:06:56 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:06:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 1.6ms | ActiveRecord: 3.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"mode"=>"Chèque"}, "member_id"=>"1020", "id"=>"1"} 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", Thu, 22 Aug 2013 17:06:56 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:06:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (2.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] Completed 404 Not Found in 12ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"mode"=>"Chèque"}, "member_id"=>"1022", "id"=>"1"} 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", Thu, 22 Aug 2013 17:06:56 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:06:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] Completed 404 Not Found in 6ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"mode"=>"Chèque"}, "member_id"=>"1024", "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", Thu, 22 Aug 2013 17:06:56 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:06:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] Completed 404 Not Found in 5ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"mode"=>"Chèque"}, "member_id"=>"1026", "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", Thu, 22 Aug 2013 17:06:57 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:06:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] Completed 404 Not Found in 4ms  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1001", "id"=>"1"} Organism Load (0.8ms) 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", Thu, 22 Aug 2013 17:09:49 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:09:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/edit.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 32ms (Views: 8.1ms | ActiveRecord: 11.1ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1003", "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", Thu, 22 Aug 2013 17:09:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:09:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1005"} 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", Thu, 22 Aug 2013 17:09:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:09:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1005/adhesions Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1007"} 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", Thu, 22 Aug 2013 17:09:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:09:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 2.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1009"} 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", Thu, 22 Aug 2013 17:09:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:09:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1009/adhesions Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.0ms) 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", Thu, 22 Aug 2013 17:09:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:09:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] Completed 404 Not Found in 8ms  (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.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", Thu, 22 Aug 2013 17:09:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:09:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] Completed 404 Not Found in 5ms  (0.1ms) ROLLBACK  (0.0ms) 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.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:09:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:09:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] Completed 404 Not Found in 4ms  (0.1ms) ROLLBACK  (0.0ms) 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", Thu, 22 Aug 2013 17:09:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:09:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]] Completed 404 Not Found in 5ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1019"} 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", Thu, 22 Aug 2013 17:09:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:09:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#show 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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:09:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:09:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#show as HTML Parameters: {"member_id"=>"1023", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) 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", Thu, 22 Aug 2013 17:09:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:09:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1025"} 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", Thu, 22 Aug 2013 17:09:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:09:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1026"} 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", Thu, 22 Aug 2013 17:09:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:09:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 3.3ms | ActiveRecord: 1.0ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1027"} 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", Thu, 22 Aug 2013 17:09:50 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:09:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1027/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1001"} Organism Load (0.9ms) 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", Thu, 22 Aug 2013 17:10:13 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1001/adhesions/new Completed 302 Found in 25ms (ActiveRecord: 9.3ms)  (0.7ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1002"} 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", Thu, 22 Aug 2013 17:10:13 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 6.5ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1003"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:10:13 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#show as HTML Parameters: {"member_id"=>"1004", "id"=>"1"} 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", Thu, 22 Aug 2013 17:10:13 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 1.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#show as HTML Parameters: {"member_id"=>"1006", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.8ms) 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", Thu, 22 Aug 2013 17:10:14 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.6ms | ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1008", "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.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:10:14 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:14 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1008/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1010", "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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:10:14 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 1.8ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1012", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.0ms) 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", Thu, 22 Aug 2013 17:10:14 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1012/adhesions Completed 302 Found in 5ms (ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1014", "id"=>"1"} Organism Load (1.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:10:14 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:14 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 2.4ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1016"} 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", Thu, 22 Aug 2013 17:10:14 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1018"} 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", Thu, 22 Aug 2013 17:10:14 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1018/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1020"} 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", Thu, 22 Aug 2013 17:10:14 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1020/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1022"} Organism Load (0.4ms) 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", Thu, 22 Aug 2013 17:10:14 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 3.0ms | ActiveRecord: 2.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1024", "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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:10:14 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1026", "id"=>"1"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:10:14 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' 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", Thu, 22 Aug 2013 17:10:20 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 17:10:20 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.9ms) 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", Thu, 22 Aug 2013 17:10:20 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299236], ["office", nil], ["tel", nil], ["updated_at", Thu, 22 Aug 2013 17:10:20 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299236 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190985]] SQL (0.6ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299236]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1003"} Organism Load (0.4ms) 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", Thu, 22 Aug 2013 17:10:20 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/new.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 21ms (Views: 6.6ms | ActiveRecord: 2.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1005"} 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", Thu, 22 Aug 2013 17:10:20 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.8ms | ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1007"} 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", Thu, 22 Aug 2013 17:10:20 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1007/coord Completed 302 Found in 9ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1009"} Organism Load (0.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", Thu, 22 Aug 2013 17:10:20 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1009/coord Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1011"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.9ms) 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", Thu, 22 Aug 2013 17:10:20 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 2.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1013"} 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", Thu, 22 Aug 2013 17:10:20 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 2.2ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1015"} Organism Load (2.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", Thu, 22 Aug 2013 17:10:20 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.8ms | ActiveRecord: 3.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1017"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:10:20 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1019"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1021"} Organism Load (0.8ms) 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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1021/adhesions/new Completed 302 Found in 6ms (ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1023"} Organism Load (0.3ms) 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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1025"} Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 768 Completed 200 OK in 15ms (Views: 1.4ms | ActiveRecord: 2.5ms)  (0.1ms) ROLLBACK  (0.7ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1026"} 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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.9ms)  (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.4ms) 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.2ms) 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.0ms) 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.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' 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", Tue, 06 Jun 1944], ["created_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE 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  (0.2ms) ROLLBACK  (0.0ms) 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.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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE 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" = 2) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Adhesion Load (0.5ms) 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.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (27.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", #], ["created_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 1], ["to_date", Thu, 21 Aug 2014], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191053  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980191053], ["amount", #], ["created_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191053  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191053  (0.4ms) 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", #], ["created_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 1], ["to_date", Thu, 21 Aug 2014], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191054  (0.2ms) 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", 980191054], ["amount", #], ["created_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 22 Aug 2013 17:10:21 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" = 980191054  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (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", #], ["created_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 1], ["to_date", Thu, 21 Aug 2014], ["updated_at", Thu, 22 Aug 2013 17:10:21 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" = 980191055  (0.0ms) 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", 980191055], ["amount", #], ["created_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) 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.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1030"} 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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1032", "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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1034", "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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1034/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1036", "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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1036/adhesions Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1038", "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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#show as HTML Parameters: {"member_id"=>"1040", "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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#show as HTML Parameters: {"member_id"=>"1042", "id"=>"1"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1044", "id"=>"1"} 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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1046", "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.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1048"} 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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1048/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1050"} 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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1050/adhesions Completed 302 Found in 7ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1052"} 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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1054"} Organism Load (1.1ms) 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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (1.8ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1054/adhesions/new Completed 302 Found in 12ms (ActiveRecord: 3.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1055"} 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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1056"} Organism Load (0.3ms) 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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 2.3ms | ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1057"} 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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 22ms (Views: 18.6ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1059", "id"=>"1"} 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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1061", "id"=>"1"} Organism Load (0.5ms) 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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1061/payments/1062 Completed 302 Found in 5ms (ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1063", "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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1063/payments/1064 Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1065", "id"=>"1"} 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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1067", "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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 3.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1069", "id"=>"1"} Organism Load (2.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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.4ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1071", "id"=>"1"} Organism Load (2.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.4ms) 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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 2.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1073", "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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1075"} Organism Load (1.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (12.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1075/adhesions Completed 302 Found in 18ms (ActiveRecord: 13.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1077"} 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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1077/adhesions Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1079"} 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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.6ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1081"} 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", Thu, 22 Aug 2013 17:10:21 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:21 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 18ms (Views: 12.7ms | ActiveRecord: 1.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1082"} 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", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 1.4ms)  (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.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '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", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299240], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 17:10:22 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" = 819299240 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299240 ORDER BY to_date DESC LIMIT 1  (1.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", #], ["created_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299240], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299240], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299240 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299240 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191056  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191057  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191056 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", 980191056], ["amount", #], ["created_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["payment_id", 980191000], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.2ms) 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", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299241], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 17:10:22 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" = 819299241 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299241 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", #], ["created_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299241], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 17:10:22 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", #], ["created_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299241], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299241 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299241 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191058  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191059  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191058 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", 980191058], ["amount", #], ["created_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["payment_id", 980191001], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]]  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191059 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", 980191059], ["amount", #], ["created_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["payment_id", 980191001], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"   (15.7ms) 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", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 17:10:22 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", #], ["created_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299242], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 17:10:22 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" = 819299242 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299242 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", #], ["created_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299242], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (4.6ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299242], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]] Adherent::Member Load (2.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299242 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299242 ORDER BY to_date  (1.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191060  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191061  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191060 SQL (2.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980191060], ["amount", #], ["created_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["payment_id", 980191002], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]]  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191061 SQL (4.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980191061], ["amount", #], ["created_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["payment_id", 980191002], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980191002  (1.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980191002  (1.8ms) ROLLBACK  (0.1ms) BEGIN  (2.2ms) ROLLBACK  (0.2ms) BEGIN  (1.4ms) ROLLBACK  (0.1ms) BEGIN  (3.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.3ms) ROLLBACK  (0.2ms) BEGIN  (1.8ms) ROLLBACK  (0.1ms) BEGIN  (1.2ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::MembersController#new as HTML Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.5ms) 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", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 2.3ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1083"} 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", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 6ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1084"} Organism Load (0.2ms) 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", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 6ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) 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", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 1.3ms)  (0.2ms) 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", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.9ms)  (0.1ms) 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 (11.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:22 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" = 'A001' AND "adherent_members"."organism_id" = 804) 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", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 804], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299243/coord/new Completed 302 Found in 22ms (ActiveRecord: 13.2ms)  (0.1ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:22 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" = 'A001' AND "adherent_members"."organism_id" = 805) 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", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 805], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299244/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.6ms)  (0.1ms) 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.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 1.4ms)  (0.4ms) 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.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", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:22 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" = 807) 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", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 807], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299245/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1087"} 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", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1088"} 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", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1088 Completed 302 Found in 5ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1089"} 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", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1089 Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1090"} Organism Load (0.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", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1090 Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 812 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 1.0ms)  (0.2ms) 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 (0.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 1.2ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} Organism Load (0.5ms) 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", Thu, 22 Aug 2013 17:10:22 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:10:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1002"} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:18:00 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:18:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "1002"]] Completed 404 Not Found in 26ms  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1002"} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Thu, 22 Aug 2013 17:18:27 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:18:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 27ms  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1002"} Organism Load (0.5ms) 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", Thu, 22 Aug 2013 17:18:49 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:18:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 28ms  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1002"} Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (38.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:24:10 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:24:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 66ms  (1.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1002"} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Thu, 22 Aug 2013 17:24:42 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:24:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/new.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 31ms (Views: 6.1ms | ActiveRecord: 11.9ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1002"} Organism Load (5.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (2.9ms) SAVEPOINT active_record_1 SQL (7.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:27:18 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:27:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/new.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 48ms (Views: 5.8ms | ActiveRecord: 26.7ms)  (1.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1005"} 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", Thu, 22 Aug 2013 17:27:18 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:27:18 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 6ms (Views: 1.5ms | ActiveRecord: 1.1ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1002"} Organism Load (1.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Thu, 22 Aug 2013 17:30:53 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:30:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/new.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 33ms (Views: 6.3ms | ActiveRecord: 12.6ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1005"} 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", Thu, 22 Aug 2013 17:30:53 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:30:53 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 7ms (Views: 1.0ms | ActiveRecord: 1.3ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1008"} 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", Thu, 22 Aug 2013 17:30:53 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:30:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "1008"]] Completed 404 Not Found in 8ms  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1002"} Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (3.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:31:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:31:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/new.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 32ms (Views: 6.5ms | ActiveRecord: 10.7ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1005"} 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", Thu, 22 Aug 2013 17:31:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:31:12 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: 0.9ms | ActiveRecord: 1.0ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1008"} 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", Thu, 22 Aug 2013 17:31:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:31:12 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 7ms  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1002"} Organism Load (0.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (5.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:31:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:31:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/new.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 38ms (Views: 6.4ms | ActiveRecord: 12.9ms)  (0.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1005"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:31:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:31:58 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: 0.9ms | ActiveRecord: 0.9ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1008"} 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", Thu, 22 Aug 2013 17:31:58 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:31:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1007/payments Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1002"} Organism Load (1.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (10.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:32:31 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:32:31 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1001/payments Completed 302 Found in 50ms (ActiveRecord: 22.9ms)  (5.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1004"} 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", Thu, 22 Aug 2013 17:32:31 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:32:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" Completed 200 OK in 97ms (Views: 81.4ms | ActiveRecord: 9.5ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1007"} Organism Load (5.8ms) 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", Thu, 22 Aug 2013 17:32:31 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:32:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (5.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  Completed 200 OK in 20ms (Views: 1.2ms | ActiveRecord: 14.3ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (39.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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299246], ["office", nil], ["tel", nil], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299246 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 980190986]] SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 819299246]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.3ms) ROLLBACK  (0.0ms) 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.1ms) 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" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) 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.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Tue, 06 Jun 1944], ["created_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE 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  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) 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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) 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.0ms) BEGIN Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1003"} Organism Load (0.7ms) 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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1003 Completed 302 Found in 18ms (ActiveRecord: 3.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1004"} Organism Load (0.4ms) 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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 6.6ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1005"} 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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1005 Completed 302 Found in 7ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1006 Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} 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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) 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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 841 Completed 200 OK in 9ms (Views: 1.5ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML 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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (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.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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.5ms) 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" = 'A001' AND "adherent_members"."organism_id" = 843) 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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 843], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299250/coord/new Completed 302 Found in 9ms (ActiveRecord: 2.1ms)  (0.1ms) 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.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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.4ms) 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" = 844) 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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 844], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299251/coord/new Completed 302 Found in 11ms (ActiveRecord: 2.5ms)  (0.1ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 1.3ms)  (0.1ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 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" = 'A001' AND "adherent_members"."organism_id" = 846) LIMIT 1 SQL (2.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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 846], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/819299252/coord/new Completed 302 Found in 50ms (ActiveRecord: 3.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML 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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} 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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.8ms)  (0.2ms) 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.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1011"} 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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1012"} Organism Load (0.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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 5ms (ActiveRecord: 1.2ms)  (0.3ms) 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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 40ms (Views: 35.1ms | ActiveRecord: 1.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1015", "id"=>"1"} 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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.9ms | ActiveRecord: 1.1ms)  (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.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1017/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1019/adhesions Completed 302 Found in 4ms (ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1021"} 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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 3.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1023"} 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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1023/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1025"} Organism Load (0.4ms) 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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1025/adhesions Completed 302 Found in 6ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1027"} 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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1029", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1031", "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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index 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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 23ms (Views: 19.4ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1034"} Organism Load (0.1ms) 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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1034/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1035"} 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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.0ms) 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#show as HTML Parameters: {"member_id"=>"1036", "id"=>"1"} Organism Load (0.2ms) 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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.8ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::AdhesionsController#show as HTML Parameters: {"member_id"=>"1038", "id"=>"1"} Organism Load (7.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 1.8ms | ActiveRecord: 9.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.0ms) 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", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299253], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299253 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299253 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", #], ["created_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299253], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299253], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299253 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299253 ORDER BY to_date  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191062  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191063  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191062 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980191062], ["amount", #], ["created_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00], ["payment_id", 980191003], ["updated_at", Thu, 22 Aug 2013 17:33:11 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191063 SQL (2.5ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980191063], ["amount", #], ["created_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["payment_id", 980191003], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980191003  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 980191003  (0.4ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.5ms) 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.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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.0ms) 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", #], ["created_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299254], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 17:33:12 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" = 819299254 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299254 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", #], ["created_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299254], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 17:33:12 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", #], ["created_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299254], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]] Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299254 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299254 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191064  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191065  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191064 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", 980191064], ["amount", #], ["created_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["payment_id", 980191004], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.1ms) 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.2ms) 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.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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 22 Aug 2013 17:33:12 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", #], ["created_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 819299255], ["to_date", Sun, 22 Sep 2013], ["updated_at", Thu, 22 Aug 2013 17:33:12 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" = 819299255 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299255 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", #], ["created_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["from_date", Mon, 23 Sep 2013], ["member_id", 819299255], ["to_date", Mon, 22 Sep 2014], ["updated_at", Thu, 22 Aug 2013 17:33:12 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", #], ["created_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["date", Thu, 22 Aug 2013], ["member_id", 819299255], ["mode", "CB"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 819299255 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299255 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191066  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191067  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191066 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", 980191066], ["amount", #], ["created_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["payment_id", 980191005], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191067 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", 980191067], ["amount", #], ["created_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["payment_id", 980191005], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"   (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.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1041"} Organism Load (1.0ms) 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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 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 8ms (Views: 2.1ms | ActiveRecord: 2.0ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1044"} 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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 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 6ms (Views: 1.0ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1047"} 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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1046/payments Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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", #], ["created_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 1], ["to_date", Thu, 21 Aug 2014], ["updated_at", Thu, 22 Aug 2013 17:33:12 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" = 980191068  (0.0ms) 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", 980191068], ["amount", #], ["created_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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", #], ["created_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 1], ["to_date", Thu, 21 Aug 2014], ["updated_at", Thu, 22 Aug 2013 17:33:12 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" = 980191069  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 980191069], ["amount", #], ["created_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 22 Aug 2013 17:33:12 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" = 980191069  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191069  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (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", #], ["created_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["from_date", Thu, 22 Aug 2013], ["member_id", 1], ["to_date", Thu, 21 Aug 2014], ["updated_at", Thu, 22 Aug 2013 17:33:12 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" = 980191070  (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", 980191070], ["amount", #], ["created_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191070  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) 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.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) 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.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1051", "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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 2.8ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1053", "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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1055", "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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1055/payments/1056 Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1057", "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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1057/payments/1058 Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "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 (10.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 17ms (Views: 1.8ms | ActiveRecord: 11.5ms)  (1.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1061"} 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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1061/adhesions Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"22/08/2013"}, "member_id"=>"1063"} Organism Load (0.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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1063/adhesions Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1065"} Organism Load (0.9ms) 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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1067", "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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.9ms)  (0.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1069", "id"=>"1"} Organism Load (2.3ms) 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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.1ms | ActiveRecord: 4.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1071"} Organism Load (1.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.6ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 1.5ms | ActiveRecord: 4.7ms)  (3.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1072"} 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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.8ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1073", "id"=>"1"} Organism Load (0.3ms) 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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1075", "id"=>"1"} Organism Load (0.6ms) 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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1077"} Organism Load (6.1ms) 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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 2.3ms | ActiveRecord: 6.7ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1079"} 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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1081"} Organism Load (0.4ms) 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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1081/coord Completed 302 Found in 5ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1083"} 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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1083/coord Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1085"} 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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1085/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1087"} 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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1089"} Organism Load (0.3ms) 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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1091"} 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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1093"} 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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1095"} Organism Load (0.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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 893 Completed 200 OK in 8ms (Views: 3.4ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1096"} Organism Load (0.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 2.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1097"} 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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 2.8ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1099"} 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", Thu, 22 Aug 2013 17:33:12 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Thu, 22 Aug 2013 17:33:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (2.0ms) BEGIN  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 08:19:24 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (2.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (91.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 06:19:25 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 06:19:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 897 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (155.6ms) Rendered layouts/adherent/_header.html.haml (2.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (5.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.6ms) Completed 200 OK in 719ms (Views: 304.2ms | ActiveRecord: 299.5ms)  (48.2ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Started GET "/adherent/" for 127.0.0.1 at 2013-08-23 08:22:26 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 06:22:26 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 06:22:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 898 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (162.7ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 248ms (Views: 208.3ms | ActiveRecord: 12.3ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 08:23:54 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Fri, 23 Aug 2013 06:23:54 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 06:23:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 899 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (52.6ms) Rendered layouts/adherent/_header.html.haml (1.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (4.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 111ms (Views: 71.8ms | ActiveRecord: 13.3ms)  (0.5ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-23 08:24:06 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 06:24:06 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 06:24:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (72.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/new.html.erb within layouts/adherent/application (97.5ms) 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.0ms) Completed 200 OK in 220ms (Views: 173.2ms | ActiveRecord: 11.5ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 08:27:57 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (12.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 06:27:57 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 06:27:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 901 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (54.7ms) Rendered layouts/adherent/_header.html.haml (1.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 117ms (Views: 71.8ms | ActiveRecord: 19.7ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 08:28:11 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 06:28:11 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 06:28:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 902 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (47.7ms) Rendered layouts/adherent/_header.html.haml (1.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.2ms) Completed 200 OK in 102ms (Views: 65.2ms | ActiveRecord: 11.5ms)  (0.5ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 08:31:55 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (9.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (76.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 06:31:55 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 06:31:55 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 903 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (171.6ms) Rendered layouts/adherent/_header.html.haml (1.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.3ms) Completed 200 OK in 566ms (Views: 292.3ms | ActiveRecord: 175.2ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (0.4ms) BEGIN Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 08:41:12 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (60.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 06:41:13 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 06:41:13 UTC +00:00]]  (46.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 904 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (212.5ms) Rendered layouts/adherent/_header.html.haml (1.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.3ms) Completed 200 OK in 1608ms (Views: 1337.6ms | ActiveRecord: 200.8ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 08:42:04 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (3.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (67.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 06:42:04 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 06:42:04 UTC +00:00]]  (31.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 905 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (190.4ms) Rendered layouts/adherent/_header.html.haml (1.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.2ms) Completed 200 OK in 851ms (Views: 542.7ms | ActiveRecord: 227.9ms)  (0.5ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 08:42:24 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 06:42:24 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 06:42:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 906 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (16.2ms) Rendered layouts/adherent/_header.html.haml (1.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.2ms) Completed 200 OK in 114ms (Views: 73.4ms | ActiveRecord: 12.7ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 08:42:39 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.8ms) 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", Fri, 23 Aug 2013 06:42:39 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 06:42:39 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 907 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (17.3ms) Rendered layouts/adherent/_header.html.haml (2.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 115ms (Views: 75.7ms | ActiveRecord: 11.2ms)  (2.3ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 11:31:44 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (91.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (102.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 09:31:44 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 09:31:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 908 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (79.3ms) Rendered layouts/adherent/_header.html.haml (1.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.8ms) Completed 200 OK in 608ms (Views: 224.9ms | ActiveRecord: 309.0ms)  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Started GET "/members" for 127.0.0.1 at 2013-08-23 11:33:41 +0200  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 11:34:09 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (2.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (2.9ms) SAVEPOINT active_record_1 SQL (126.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 09:34:10 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 09:34:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (2.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 909 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (59.5ms) Rendered layouts/adherent/_header.html.haml (1.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.2ms) Completed 200 OK in 746ms (Views: 160.1ms | ActiveRecord: 474.4ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 11:34:59 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (2.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (55.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 09:34:59 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 09:34:59 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 910 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (96.9ms) Rendered layouts/adherent/_header.html.haml (1.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.3ms) Completed 200 OK in 460ms (Views: 165.1ms | ActiveRecord: 234.8ms)  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 11:36:38 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (2.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.2ms) SAVEPOINT active_record_1 SQL (74.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 09:36:38 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 09:36:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (3.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 911 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (56.3ms) Rendered layouts/adherent/_header.html.haml (1.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 489ms (Views: 82.4ms | ActiveRecord: 341.1ms)  (0.9ms) ROLLBACK Connecting to database specified by database.yml  (16.5ms) BEGIN Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 12:08:54 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (100.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 10:08:54 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 10:08:54 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 912 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (81.7ms) Rendered layouts/adherent/_header.html.haml (1.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 486ms (Views: 181.0ms | ActiveRecord: 253.1ms)  (7.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml Connecting to database specified by database.yml  (15.6ms) BEGIN  (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" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.7ms) 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" IS NULL) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" LIMIT 1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) 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" = 1) LIMIT 1 SQL (120.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", Fri, 23 Aug 2013 10:17:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:17:42 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" = 'Adh001' 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", Fri, 23 Aug 2013 10:17:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:17: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" = 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", Fri, 23 Aug 2013 10:17:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:17:42 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" = 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", Fri, 23 Aug 2013 10:17:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:17:42 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" = 'Adh004' 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", Fri, 23 Aug 2013 10:17:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:17:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 12:17:42 +0200 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 (0.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 10:17:42 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 10:17:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 913 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (15.6ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.7ms) Completed 200 OK in 113ms (Views: 77.7ms | ActiveRecord: 4.1ms)  (0.7ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) 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" = 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", Fri, 23 Aug 2013 10:17:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:17:42 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" = 'Adh001' 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", Fri, 23 Aug 2013 10:17:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:17: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" = 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", Fri, 23 Aug 2013 10:17:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:17: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" = 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", Fri, 23 Aug 2013 10:17:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:17:42 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" = 'Adh004' 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", Fri, 23 Aug 2013 10:17:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:17:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 12:17:42 +0200 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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 10:17:42 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 10:17:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 914 Rendered layouts/adherent/_header.html.haml (0.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 9ms (Views: 3.6ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.7ms) 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" = 1) LIMIT 1 SQL (30.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", Fri, 23 Aug 2013 10:17:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:17:59 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" = 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", Fri, 23 Aug 2013 10:17:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:17:59 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" = 1) LIMIT 1 SQL (29.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", Fri, 23 Aug 2013 10:17:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:17:59 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 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", Fri, 23 Aug 2013 10:17:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:17:59 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" = 'Adh004' 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", Fri, 23 Aug 2013 10:17:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:17:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 12:17:59 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.4ms) 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", Fri, 23 Aug 2013 10:17:59 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 10:17:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 915 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (47.9ms) Rendered layouts/adherent/_header.html.haml (1.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.9ms) Completed 200 OK in 93ms (Views: 66.2ms | ActiveRecord: 2.5ms)  (0.6ms) ROLLBACK  (0.0ms) BEGIN  (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" = 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", Fri, 23 Aug 2013 10:17:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:17:59 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" = 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", Fri, 23 Aug 2013 10:17:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:17:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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" = 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", Fri, 23 Aug 2013 10:17:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:17:59 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" = 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", Fri, 23 Aug 2013 10:17:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:17:59 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" = 'Adh004' 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", Fri, 23 Aug 2013 10:17:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:17:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 12:17:59 +0200 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 (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 10:17:59 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 10:17:59 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 916 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 10ms (Views: 3.7ms | ActiveRecord: 1.0ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (8.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (37.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", Fri, 23 Aug 2013 10:48:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:48:28 UTC +00:00]]  (9.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" = 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", Fri, 23 Aug 2013 10:48:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:48:28 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" = 1) 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", Fri, 23 Aug 2013 10:48:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:48:28 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" = 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", Fri, 23 Aug 2013 10:48:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:48:28 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" = 'Adh004' 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", Fri, 23 Aug 2013 10:48:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:48:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 12:48:28 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (33.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", Fri, 23 Aug 2013 10:48:28 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 10:48:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 917 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (70.6ms) Rendered layouts/adherent/_header.html.haml (1.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 202ms (Views: 126.8ms | ActiveRecord: 36.4ms)  (0.6ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) 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" = 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", Fri, 23 Aug 2013 10:48:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:48:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' 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", Fri, 23 Aug 2013 10:48:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:48:29 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" = 1) 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", Fri, 23 Aug 2013 10:48:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:48:29 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" = 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", Fri, 23 Aug 2013 10:48:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:48:29 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" = 'Adh004' 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", Fri, 23 Aug 2013 10:48:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:48:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 12:48:29 +0200 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 10:48:29 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 10:48:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 918 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 10ms (Views: 4.3ms | ActiveRecord: 0.9ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) 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" = 1) LIMIT 1 SQL (1.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", Fri, 23 Aug 2013 10:49:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:49:51 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" = 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", Fri, 23 Aug 2013 10:49:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:49:51 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" = '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", Fri, 23 Aug 2013 10:49:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:49:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 1) LIMIT 1 SQL (0.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", Fri, 23 Aug 2013 10:49:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:49:51 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" = 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", Fri, 23 Aug 2013 10:49:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:49:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 12:49:51 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.4ms) 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", Fri, 23 Aug 2013 10:49:51 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 10:49:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 919 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (15.1ms) Rendered layouts/adherent/_header.html.haml (4.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.2ms) Completed 200 OK in 69ms (Views: 40.3ms | ActiveRecord: 3.2ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN  (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" = 1) 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", Fri, 23 Aug 2013 10:49:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:49:52 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" = 1) LIMIT 1 SQL (1.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", Fri, 23 Aug 2013 10:49:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:49:52 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" = '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", Fri, 23 Aug 2013 10:49:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:49:52 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" = 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", Fri, 23 Aug 2013 10:49:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:49:52 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" = 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", Fri, 23 Aug 2013 10:49:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:49:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 12:49:52 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.6ms) 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", Fri, 23 Aug 2013 10:49:52 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 10:49:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 920 Rendered layouts/adherent/_header.html.haml (0.9ms) 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 10ms (Views: 4.5ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) 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" = 1) 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", Fri, 23 Aug 2013 10:50:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:50:09 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" = 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", Fri, 23 Aug 2013 10:50:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:50:09 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" = 'Adh002' AND "adherent_members"."organism_id" = 1) 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", Fri, 23 Aug 2013 10:50:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:50:09 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" = 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", Fri, 23 Aug 2013 10:50:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:50:09 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" = 'Adh004' 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", Fri, 23 Aug 2013 10:50:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:50:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 12:50:10 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.8ms) 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", Fri, 23 Aug 2013 10:50:10 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 10:50:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 921 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (14.9ms) Rendered layouts/adherent/_header.html.haml (1.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 72ms (Views: 32.7ms | ActiveRecord: 4.8ms)  (0.6ms) 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" = 'Adh000' 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", Fri, 23 Aug 2013 10:50:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:50:10 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" = 1) LIMIT 1 SQL (0.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", Fri, 23 Aug 2013 10:50:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:50:10 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" = '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", Fri, 23 Aug 2013 10:50:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:50:10 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" = 1) 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", Fri, 23 Aug 2013 10:50:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:50:10 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" = '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", Fri, 23 Aug 2013 10:50:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:50:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_members"  Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 12:50:10 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.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", Fri, 23 Aug 2013 10:50:10 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 10:50:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 922 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 9ms (Views: 3.6ms | ActiveRecord: 1.5ms)  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) 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" = 1) LIMIT 1 SQL (1.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", Fri, 23 Aug 2013 10:50:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:50:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' 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", Fri, 23 Aug 2013 10:50:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:50:39 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" = 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", Fri, 23 Aug 2013 10:50:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:50:39 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" = 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", Fri, 23 Aug 2013 10:50:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:50:39 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" = '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", Fri, 23 Aug 2013 10:50:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:50:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_members" Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 12:50:39 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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", Fri, 23 Aug 2013 10:50:39 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 10:50:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 923 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (50.7ms) Rendered layouts/adherent/_header.html.haml (1.2ms) 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.2ms) Completed 200 OK in 99ms (Views: 70.8ms | ActiveRecord: 4.2ms)  (0.4ms) 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" = '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", Fri, 23 Aug 2013 10:50:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:50:40 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" = 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", Fri, 23 Aug 2013 10:50:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:50:40 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" = 1) 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", Fri, 23 Aug 2013 10:50:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:50:40 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" = 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", Fri, 23 Aug 2013 10:50:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:50:40 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" = 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", Fri, 23 Aug 2013 10:50:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 10:50:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 12:50:40 +0200 Processing by Adherent::MembersController#index as HTML 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", Fri, 23 Aug 2013 10:50:40 UTC +00:00], ["status", "Association"], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 10:50:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 924 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: 5.1ms | ActiveRecord: 1.8ms)  (0.2ms) 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.2ms) SAVEPOINT active_record_1 SQL (112.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 10:53:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 10:53:56 UTC +00:00]]  (0.3ms) 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" = 925) LIMIT 1 SQL (17.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", Fri, 23 Aug 2013 10:53:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 925], ["updated_at", Fri, 23 Aug 2013 10:53:57 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 925) 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", Fri, 23 Aug 2013 10:53:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 925], ["updated_at", Fri, 23 Aug 2013 10:53:57 UTC +00:00]]  (0.3ms) 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" = 925) LIMIT 1 SQL (1.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", Fri, 23 Aug 2013 10:53:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 925], ["updated_at", Fri, 23 Aug 2013 10:53:57 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 925) 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", Fri, 23 Aug 2013 10:53:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 925], ["updated_at", Fri, 23 Aug 2013 10:53:57 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" = 925) 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", Fri, 23 Aug 2013 10:53:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 925], ["updated_at", Fri, 23 Aug 2013 10:53:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 12:53:57 +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.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 925 Adherent::Adhesion Load (50.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299316 ORDER BY to_date Adherent::Coord Load (17.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299316 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299317 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299317 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299318 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299318 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299319 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299319 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299320 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299320 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (281.0ms) Rendered layouts/adherent/_header.html.haml (1.1ms) 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.0ms) Completed 200 OK in 381ms (Views: 263.6ms | ActiveRecord: 98.7ms)  (0.3ms) 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 (0.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 10:53:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 10:53:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (5.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" = 926) 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", Fri, 23 Aug 2013 10:53:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 926], ["updated_at", Fri, 23 Aug 2013 10:53:58 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 926) 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", Fri, 23 Aug 2013 10:53:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 926], ["updated_at", Fri, 23 Aug 2013 10:53:58 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" = 926) 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", Fri, 23 Aug 2013 10:53:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 926], ["updated_at", Fri, 23 Aug 2013 10:53:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 926) 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", Fri, 23 Aug 2013 10:53:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 926], ["updated_at", Fri, 23 Aug 2013 10:53:58 UTC +00:00]]  (0.0ms) 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" = 926) LIMIT 1 SQL (5.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", Fri, 23 Aug 2013 10:53:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 926], ["updated_at", Fri, 23 Aug 2013 10:53:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_members" Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 12:53:58 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (2.8ms) 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"."organism_id" = 926 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299321 ORDER BY to_date Adherent::Coord Load (5.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299321 LIMIT 1 Adherent::Adhesion Load (2.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299322 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299322 LIMIT 1 Adherent::Adhesion Load (3.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299323 ORDER BY to_date Adherent::Coord Load (3.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299323 LIMIT 1 Adherent::Adhesion Load (7.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299324 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299324 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299325 ORDER BY to_date Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299325 LIMIT 1 Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 59ms (Views: 28.5ms | ActiveRecord: 27.9ms)  (9.5ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (27.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (57.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:14:25 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:14:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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" = 927) LIMIT 1 SQL (14.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", Fri, 23 Aug 2013 11:14:26 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 927], ["updated_at", Fri, 23 Aug 2013 11:14:26 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" = 927) 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", Fri, 23 Aug 2013 11:14:26 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 927], ["updated_at", Fri, 23 Aug 2013 11:14:26 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" = 927) 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", Fri, 23 Aug 2013 11:14:26 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 927], ["updated_at", Fri, 23 Aug 2013 11:14:26 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" = 927) 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", Fri, 23 Aug 2013 11:14:26 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 927], ["updated_at", Fri, 23 Aug 2013 11:14:26 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" = 927) 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", Fri, 23 Aug 2013 11:14:26 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 927], ["updated_at", Fri, 23 Aug 2013 11:14:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:14:26 +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" = 927 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299326 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299326 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299327 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299327 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299328 ORDER BY to_date Adherent::Coord Load (2.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299328 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299329 ORDER BY to_date Adherent::Coord Load (1.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299329 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299330 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299330 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (176.0ms) Rendered layouts/adherent/_header.html.haml (5.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (5.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.9ms) Completed 200 OK in 280ms (Views: 240.3ms | ActiveRecord: 20.4ms)  (0.5ms) 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", Fri, 23 Aug 2013 11:14:27 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:14:27 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" = 'Adh000' AND "adherent_members"."organism_id" = 928) 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", Fri, 23 Aug 2013 11:14:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 928], ["updated_at", Fri, 23 Aug 2013 11:14:27 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" = 'Adh001' AND "adherent_members"."organism_id" = 928) 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", Fri, 23 Aug 2013 11:14:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 928], ["updated_at", Fri, 23 Aug 2013 11:14:27 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 928) 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", Fri, 23 Aug 2013 11:14:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 928], ["updated_at", Fri, 23 Aug 2013 11:14:27 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" = 928) 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", Fri, 23 Aug 2013 11:14:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 928], ["updated_at", Fri, 23 Aug 2013 11:14:27 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" = 'Adh004' AND "adherent_members"."organism_id" = 928) 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", Fri, 23 Aug 2013 11:14:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 928], ["updated_at", Fri, 23 Aug 2013 11:14:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:14:27 +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" = 928 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299331 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299331 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299332 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299332 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299333 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299333 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299334 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299334 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299335 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299335 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 37ms (Views: 28.7ms | ActiveRecord: 3.5ms)  (0.4ms) ROLLBACK  (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.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:14:27 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:14:27 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" = 'Adh000' AND "adherent_members"."organism_id" = 929) 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", Fri, 23 Aug 2013 11:14:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 929], ["updated_at", Fri, 23 Aug 2013 11:14:27 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" = 929) 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", Fri, 23 Aug 2013 11:14:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 929], ["updated_at", Fri, 23 Aug 2013 11:14:27 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" = 929) 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", Fri, 23 Aug 2013 11:14:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 929], ["updated_at", Fri, 23 Aug 2013 11:14:27 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" = 929) 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", Fri, 23 Aug 2013 11:14:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 929], ["updated_at", Fri, 23 Aug 2013 11:14:27 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" = 'Adh004' AND "adherent_members"."organism_id" = 929) 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", Fri, 23 Aug 2013 11:14:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 929], ["updated_at", Fri, 23 Aug 2013 11:14:27 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:14:27 +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.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 929 Adherent::Adhesion Load (1.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299336 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299336 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299337 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299337 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299338 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299338 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299339 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299339 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299340 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299340 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 36ms (Views: 27.6ms | ActiveRecord: 5.2ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (1.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:15:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:15:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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" = 930) 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", Fri, 23 Aug 2013 11:15:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 930], ["updated_at", Fri, 23 Aug 2013 11:15: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" = 'Adh001' AND "adherent_members"."organism_id" = 930) 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", Fri, 23 Aug 2013 11:15:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 930], ["updated_at", Fri, 23 Aug 2013 11:15:16 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" = 'Adh002' AND "adherent_members"."organism_id" = 930) 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", Fri, 23 Aug 2013 11:15:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 930], ["updated_at", Fri, 23 Aug 2013 11:15:16 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" = 930) 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", Fri, 23 Aug 2013 11:15:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 930], ["updated_at", Fri, 23 Aug 2013 11:15:16 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" = 'Adh004' AND "adherent_members"."organism_id" = 930) 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", Fri, 23 Aug 2013 11:15:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 930], ["updated_at", Fri, 23 Aug 2013 11:15:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:15:16 +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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 930 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299341 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299341 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299342 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299342 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299343 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299343 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299344 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299344 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299345 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299345 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (58.2ms) Rendered layouts/adherent/_header.html.haml (3.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (4.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.2ms) Completed 200 OK in 130ms (Views: 107.3ms | ActiveRecord: 7.8ms)  (0.5ms) 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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:15:17 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:15:17 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" = 931) 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", Fri, 23 Aug 2013 11:15:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 931], ["updated_at", Fri, 23 Aug 2013 11:15:17 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" = 'Adh001' AND "adherent_members"."organism_id" = 931) 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", Fri, 23 Aug 2013 11:15:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 931], ["updated_at", Fri, 23 Aug 2013 11:15:17 UTC +00:00]]  (0.2ms) 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" = 'Adh002' AND "adherent_members"."organism_id" = 931) 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", Fri, 23 Aug 2013 11:15:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 931], ["updated_at", Fri, 23 Aug 2013 11:15:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 931) 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", Fri, 23 Aug 2013 11:15:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 931], ["updated_at", Fri, 23 Aug 2013 11:15:17 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" = 'Adh004' AND "adherent_members"."organism_id" = 931) 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", Fri, 23 Aug 2013 11:15:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 931], ["updated_at", Fri, 23 Aug 2013 11:15:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:15:17 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.8ms) 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"."organism_id" = 931 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299346 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299346 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299347 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299347 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299348 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299348 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299349 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299349 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299350 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299350 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: 25.4ms | ActiveRecord: 5.5ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Organism Load (1.0ms) 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", Fri, 23 Aug 2013 11:15:17 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:15:17 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" = 932) 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", Fri, 23 Aug 2013 11:15:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 932], ["updated_at", Fri, 23 Aug 2013 11:15:17 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" = 932) 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", Fri, 23 Aug 2013 11:15:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 932], ["updated_at", Fri, 23 Aug 2013 11:15:17 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" = 932) 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", Fri, 23 Aug 2013 11:15:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 932], ["updated_at", Fri, 23 Aug 2013 11:15:17 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" = 932) 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", Fri, 23 Aug 2013 11:15:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 932], ["updated_at", Fri, 23 Aug 2013 11:15:17 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" = 'Adh004' AND "adherent_members"."organism_id" = 932) 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", Fri, 23 Aug 2013 11:15:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 932], ["updated_at", Fri, 23 Aug 2013 11:15:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:15:17 +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" = 932 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299351 ORDER BY to_date Adherent::Coord Load (1.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299351 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299352 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299352 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299353 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299353 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299354 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299354 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299355 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299355 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: 24.9ms | ActiveRecord: 4.5ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (5.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:15:27 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:15:27 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" = 933) 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", Fri, 23 Aug 2013 11:15:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 933], ["updated_at", Fri, 23 Aug 2013 11:15:27 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" = 933) 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", Fri, 23 Aug 2013 11:15:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 933], ["updated_at", Fri, 23 Aug 2013 11:15:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 933) 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", Fri, 23 Aug 2013 11:15:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 933], ["updated_at", Fri, 23 Aug 2013 11:15:27 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" = 933) 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", Fri, 23 Aug 2013 11:15:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 933], ["updated_at", Fri, 23 Aug 2013 11:15:27 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" = 'Adh004' AND "adherent_members"."organism_id" = 933) LIMIT 1 SQL (0.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", Fri, 23 Aug 2013 11:15:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 933], ["updated_at", Fri, 23 Aug 2013 11:15:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:15:27 +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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 933 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299356 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299356 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299357 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299357 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299358 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299358 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299359 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299359 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299360 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299360 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (59.3ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.3ms) Completed 200 OK in 127ms (Views: 104.2ms | ActiveRecord: 7.3ms)  (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", Fri, 23 Aug 2013 11:15:27 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:15:27 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" = 'Adh000' AND "adherent_members"."organism_id" = 934) 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", Fri, 23 Aug 2013 11:15:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 934], ["updated_at", Fri, 23 Aug 2013 11:15:27 UTC +00:00]]  (0.2ms) 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" = 'Adh001' AND "adherent_members"."organism_id" = 934) 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", Fri, 23 Aug 2013 11:15:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 934], ["updated_at", Fri, 23 Aug 2013 11:15:27 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" = 934) 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", Fri, 23 Aug 2013 11:15:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 934], ["updated_at", Fri, 23 Aug 2013 11:15:27 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" = 934) 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", Fri, 23 Aug 2013 11:15:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 934], ["updated_at", Fri, 23 Aug 2013 11:15:27 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" = 'Adh004' AND "adherent_members"."organism_id" = 934) 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", Fri, 23 Aug 2013 11:15:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 934], ["updated_at", Fri, 23 Aug 2013 11:15:27 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:15:27 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.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"."organism_id" = 934 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299361 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299361 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299362 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299362 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299363 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299363 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299364 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299364 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299365 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299365 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 34ms (Views: 24.3ms | ActiveRecord: 4.9ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Fri, 23 Aug 2013 11:15:27 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:15:27 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" = 935) 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", Fri, 23 Aug 2013 11:15:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 935], ["updated_at", Fri, 23 Aug 2013 11:15:27 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" = 935) 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", Fri, 23 Aug 2013 11:15:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 935], ["updated_at", Fri, 23 Aug 2013 11:15:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 935) 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", Fri, 23 Aug 2013 11:15:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 935], ["updated_at", Fri, 23 Aug 2013 11:15:27 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" = 'Adh003' AND "adherent_members"."organism_id" = 935) 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", Fri, 23 Aug 2013 11:15:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 935], ["updated_at", Fri, 23 Aug 2013 11:15:27 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" = 935) 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", Fri, 23 Aug 2013 11:15:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 935], ["updated_at", Fri, 23 Aug 2013 11:15:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:15:27 +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" = 935 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299366 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299366 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299367 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299367 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299368 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299368 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299369 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299369 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299370 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299370 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 33ms (Views: 26.1ms | ActiveRecord: 3.8ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Organism Load (1.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:16:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:16:20 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" = 936) 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", Fri, 23 Aug 2013 11:16:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 936], ["updated_at", Fri, 23 Aug 2013 11:16:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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" = 936) 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", Fri, 23 Aug 2013 11:16:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 936], ["updated_at", Fri, 23 Aug 2013 11:16:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 936) 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", Fri, 23 Aug 2013 11:16:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 936], ["updated_at", Fri, 23 Aug 2013 11:16:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 936) LIMIT 1 SQL (33.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", Fri, 23 Aug 2013 11:16:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 936], ["updated_at", Fri, 23 Aug 2013 11:16:20 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" = 'Adh004' AND "adherent_members"."organism_id" = 936) 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", Fri, 23 Aug 2013 11:16:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 936], ["updated_at", Fri, 23 Aug 2013 11:16:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:16:21 +0200 Processing by Adherent::MembersController#index as HTML 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"."organism_id" = 936 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299371 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299371 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299372 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299372 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299373 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299373 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299374 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299374 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299375 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299375 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (63.2ms) Rendered layouts/adherent/_header.html.haml (1.3ms) 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 (0.9ms) Completed 200 OK in 132ms (Views: 110.1ms | ActiveRecord: 7.8ms)  (0.7ms) ROLLBACK  (0.0ms) BEGIN 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", Fri, 23 Aug 2013 11:16:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:16:21 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" = 'Adh000' AND "adherent_members"."organism_id" = 937) 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", Fri, 23 Aug 2013 11:16:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 937], ["updated_at", Fri, 23 Aug 2013 11:16:21 UTC +00:00]]  (0.0ms) 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" = 937) 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", Fri, 23 Aug 2013 11:16:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 937], ["updated_at", Fri, 23 Aug 2013 11:16:21 UTC +00:00]]  (1.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" = 'Adh002' AND "adherent_members"."organism_id" = 937) 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", Fri, 23 Aug 2013 11:16:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 937], ["updated_at", Fri, 23 Aug 2013 11:16:21 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" = 937) 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", Fri, 23 Aug 2013 11:16:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 937], ["updated_at", Fri, 23 Aug 2013 11:16:21 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" = 'Adh004' AND "adherent_members"."organism_id" = 937) 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", Fri, 23 Aug 2013 11:16:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 937], ["updated_at", Fri, 23 Aug 2013 11:16:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:16:21 +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" = 937 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299376 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299376 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299377 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299377 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299378 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299378 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299379 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299379 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299380 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299380 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 35ms (Views: 24.5ms | ActiveRecord: 3.8ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Fri, 23 Aug 2013 11:16:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:16:21 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" = 'Adh000' AND "adherent_members"."organism_id" = 938) 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", Fri, 23 Aug 2013 11:16:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 938], ["updated_at", Fri, 23 Aug 2013 11:16:21 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" = 'Adh001' AND "adherent_members"."organism_id" = 938) 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", Fri, 23 Aug 2013 11:16:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 938], ["updated_at", Fri, 23 Aug 2013 11:16:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 938) 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", Fri, 23 Aug 2013 11:16:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 938], ["updated_at", Fri, 23 Aug 2013 11:16:21 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" = 938) 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", Fri, 23 Aug 2013 11:16:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 938], ["updated_at", Fri, 23 Aug 2013 11:16:21 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" = 938) 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", Fri, 23 Aug 2013 11:16:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 938], ["updated_at", Fri, 23 Aug 2013 11:16:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:16:21 +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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 938 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299381 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299381 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299382 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299382 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299383 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299383 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299384 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299384 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299385 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299385 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.8ms | ActiveRecord: 3.9ms)  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:16:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:16:40 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" = 939) 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", Fri, 23 Aug 2013 11:16:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 939], ["updated_at", Fri, 23 Aug 2013 11:16:40 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" = 939) 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", Fri, 23 Aug 2013 11:16:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 939], ["updated_at", Fri, 23 Aug 2013 11:16:40 UTC +00:00]]  (0.9ms) 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" = 939) 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", Fri, 23 Aug 2013 11:16:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 939], ["updated_at", Fri, 23 Aug 2013 11:16:40 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" = 939) 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", Fri, 23 Aug 2013 11:16:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 939], ["updated_at", Fri, 23 Aug 2013 11:16:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 939) 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", Fri, 23 Aug 2013 11:16:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 939], ["updated_at", Fri, 23 Aug 2013 11:16:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:16:40 +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" = 939 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299386 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299386 LIMIT 1 Adherent::Adhesion Load (1.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299387 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299387 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299388 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299388 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299389 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299389 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299390 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299390 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (64.9ms) Rendered layouts/adherent/_header.html.haml (1.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.9ms) Completed 200 OK in 132ms (Views: 105.2ms | ActiveRecord: 9.3ms)  (0.4ms) 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", Fri, 23 Aug 2013 11:16:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:16:40 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" = 940) 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", Fri, 23 Aug 2013 11:16:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 940], ["updated_at", Fri, 23 Aug 2013 11:16:40 UTC +00:00]]  (0.6ms) 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" = 940) 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", Fri, 23 Aug 2013 11:16:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 940], ["updated_at", Fri, 23 Aug 2013 11:16:40 UTC +00:00]]  (0.0ms) 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" = 940) 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", Fri, 23 Aug 2013 11:16:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 940], ["updated_at", Fri, 23 Aug 2013 11:16:40 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" = 940) 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", Fri, 23 Aug 2013 11:16:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 940], ["updated_at", Fri, 23 Aug 2013 11:16:40 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" = 'Adh004' AND "adherent_members"."organism_id" = 940) 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", Fri, 23 Aug 2013 11:16:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 940], ["updated_at", Fri, 23 Aug 2013 11:16:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:16:40 +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" = 940 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299391 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299391 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299392 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299392 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299393 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299393 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299394 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299394 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299395 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299395 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: 24.6ms | ActiveRecord: 3.7ms)  (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", Fri, 23 Aug 2013 11:16:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:16:40 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" = 'Adh000' AND "adherent_members"."organism_id" = 941) 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", Fri, 23 Aug 2013 11:16:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 941], ["updated_at", Fri, 23 Aug 2013 11:16:40 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" = 941) 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", Fri, 23 Aug 2013 11:16:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 941], ["updated_at", Fri, 23 Aug 2013 11:16:40 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" = 'Adh002' AND "adherent_members"."organism_id" = 941) 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", Fri, 23 Aug 2013 11:16:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 941], ["updated_at", Fri, 23 Aug 2013 11:16:40 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" = 941) 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", Fri, 23 Aug 2013 11:16:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 941], ["updated_at", Fri, 23 Aug 2013 11:16:40 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" = 941) 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", Fri, 23 Aug 2013 11:16:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 941], ["updated_at", Fri, 23 Aug 2013 11:16:40 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:16:40 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.1ms) 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"."organism_id" = 941 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299396 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299396 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299397 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299397 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299398 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299398 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299399 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299399 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299400 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299400 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 35ms (Views: 25.2ms | ActiveRecord: 5.2ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (2.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (90.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:21:13 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:21:13 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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" = 942) LIMIT 1 SQL (13.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", Fri, 23 Aug 2013 11:21:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 942], ["updated_at", Fri, 23 Aug 2013 11:21:13 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" = 'Adh001' AND "adherent_members"."organism_id" = 942) 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", Fri, 23 Aug 2013 11:21:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 942], ["updated_at", Fri, 23 Aug 2013 11:21:13 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" = 942) 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", Fri, 23 Aug 2013 11:21:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 942], ["updated_at", Fri, 23 Aug 2013 11:21:13 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" = 942) 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", Fri, 23 Aug 2013 11:21:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 942], ["updated_at", Fri, 23 Aug 2013 11:21:13 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" = 'Adh004' AND "adherent_members"."organism_id" = 942) 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", Fri, 23 Aug 2013 11:21:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 942], ["updated_at", Fri, 23 Aug 2013 11:21:13 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:21:13 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.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"."organism_id" = 942 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299401 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299401 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299402 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299402 LIMIT 1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299403 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299403 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299404 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299404 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299405 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299405 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (165.3ms) Rendered layouts/adherent/_header.html.haml (1.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.9ms) Completed 200 OK in 338ms (Views: 309.2ms | ActiveRecord: 10.4ms)  (17.6ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:21:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:21:14 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" = 943) 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", Fri, 23 Aug 2013 11:21:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 943], ["updated_at", Fri, 23 Aug 2013 11:21:14 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" = 'Adh001' AND "adherent_members"."organism_id" = 943) 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", Fri, 23 Aug 2013 11:21:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 943], ["updated_at", Fri, 23 Aug 2013 11:21:14 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" = 'Adh002' AND "adherent_members"."organism_id" = 943) 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", Fri, 23 Aug 2013 11:21:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 943], ["updated_at", Fri, 23 Aug 2013 11:21:14 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" = 943) 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", Fri, 23 Aug 2013 11:21:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 943], ["updated_at", Fri, 23 Aug 2013 11:21:14 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" = 'Adh004' AND "adherent_members"."organism_id" = 943) 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", Fri, 23 Aug 2013 11:21:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 943], ["updated_at", Fri, 23 Aug 2013 11:21:14 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:21:14 +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" = 943 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299406 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299406 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299407 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299407 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299408 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299408 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299409 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299409 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299410 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299410 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.8ms | ActiveRecord: 4.1ms)  (0.4ms) 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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:21:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:21:14 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" = 944) 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", Fri, 23 Aug 2013 11:21:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 944], ["updated_at", Fri, 23 Aug 2013 11:21:14 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" = 944) 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", Fri, 23 Aug 2013 11:21:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 944], ["updated_at", Fri, 23 Aug 2013 11:21:14 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" = 944) 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", Fri, 23 Aug 2013 11:21:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 944], ["updated_at", Fri, 23 Aug 2013 11:21:14 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" = 944) 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", Fri, 23 Aug 2013 11:21:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 944], ["updated_at", Fri, 23 Aug 2013 11:21:14 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" = 944) 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", Fri, 23 Aug 2013 11:21:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 944], ["updated_at", Fri, 23 Aug 2013 11:21:14 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:21:14 +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" = 944 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299411 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299411 LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299412 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299412 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299413 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299413 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299414 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299414 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299415 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299415 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 29ms (Views: 22.1ms | ActiveRecord: 4.8ms) Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299411/coord" for 127.0.0.1 at 2013-08-23 13:21:14 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299411"} Organism Load (0.3ms) 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", "819299411"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299411 LIMIT 1 Redirected to http://www.example.com/adherent/members/819299411/coord/new Completed 302 Found in 5ms (ActiveRecord: 1.1ms) Started GET "/adherent/members/819299411/coord/new" for 127.0.0.1 at 2013-08-23 13:21:14 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299411"} 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", "819299411"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299411 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (66.7ms) 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 116ms (Views: 101.1ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (1.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (93.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:23:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:23:42 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" = 'Adh000' AND "adherent_members"."organism_id" = 945) 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", Fri, 23 Aug 2013 11:23:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 945], ["updated_at", Fri, 23 Aug 2013 11:23:43 UTC +00:00]]  (0.4ms) 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" = 945) 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", Fri, 23 Aug 2013 11:23:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 945], ["updated_at", Fri, 23 Aug 2013 11:23: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" = 945) 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", Fri, 23 Aug 2013 11:23:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 945], ["updated_at", Fri, 23 Aug 2013 11:23: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" = 945) LIMIT 1 SQL (0.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", Fri, 23 Aug 2013 11:23:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 945], ["updated_at", Fri, 23 Aug 2013 11:23: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" = 945) 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", Fri, 23 Aug 2013 11:23:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 945], ["updated_at", Fri, 23 Aug 2013 11:23:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:23: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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 945 Adherent::Adhesion Load (9.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299416 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299416 LIMIT 1 Adherent::Adhesion Load (4.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299417 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299417 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299418 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299418 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299419 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299419 LIMIT 1 Adherent::Adhesion Load (7.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299420 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299420 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (171.4ms) Rendered layouts/adherent/_header.html.haml (1.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (6.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.2ms) Completed 200 OK in 320ms (Views: 187.8ms | ActiveRecord: 39.0ms)  (17.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.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:23:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:23:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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" = 946) 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", Fri, 23 Aug 2013 11:23:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 946], ["updated_at", Fri, 23 Aug 2013 11:23:43 UTC +00:00]]  (4.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" = 946) 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", Fri, 23 Aug 2013 11:23:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 946], ["updated_at", Fri, 23 Aug 2013 11:23:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 946) 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", Fri, 23 Aug 2013 11:23:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 946], ["updated_at", Fri, 23 Aug 2013 11:23:43 UTC +00:00]]  (0.9ms) 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" = 946) 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", Fri, 23 Aug 2013 11:23:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 946], ["updated_at", Fri, 23 Aug 2013 11:23: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" = 'Adh004' AND "adherent_members"."organism_id" = 946) 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", Fri, 23 Aug 2013 11:23:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 946], ["updated_at", Fri, 23 Aug 2013 11:23:43 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:23:43 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (2.8ms) 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"."organism_id" = 946 Adherent::Adhesion Load (1.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299421 ORDER BY to_date Adherent::Coord Load (1.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299421 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299422 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299422 LIMIT 1 Adherent::Adhesion Load (7.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299423 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299423 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299424 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299424 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299425 ORDER BY to_date Adherent::Coord Load (4.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299425 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 56ms (Views: 30.6ms | ActiveRecord: 23.0ms)  (7.7ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (5.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:23:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:23:44 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" = 947) 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", Fri, 23 Aug 2013 11:23:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 947], ["updated_at", Fri, 23 Aug 2013 11:23:44 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" = 'Adh001' AND "adherent_members"."organism_id" = 947) LIMIT 1 SQL (25.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", Fri, 23 Aug 2013 11:23:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 947], ["updated_at", Fri, 23 Aug 2013 11:23:44 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" = 947) 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", nil], ["created_at", Fri, 23 Aug 2013 11:23:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 947], ["updated_at", Fri, 23 Aug 2013 11:23: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" = 'Adh003' AND "adherent_members"."organism_id" = 947) 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", Fri, 23 Aug 2013 11:23:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 947], ["updated_at", Fri, 23 Aug 2013 11:23:44 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 947) 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", Fri, 23 Aug 2013 11:23:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 947], ["updated_at", Fri, 23 Aug 2013 11:23:44 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:23: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 (4.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 947 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299426 ORDER BY to_date Adherent::Coord Load (2.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299426 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299427 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299427 LIMIT 1 Adherent::Adhesion Load (3.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299428 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299428 LIMIT 1 Adherent::Adhesion Load (6.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299429 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299429 LIMIT 1 Adherent::Adhesion Load (5.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299430 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299430 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 60ms (Views: 32.7ms | ActiveRecord: 24.9ms) Adherent::Member Load (5.2ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299426/coord" for 127.0.0.1 at 2013-08-23 13:23:44 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299426"} 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", "819299426"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299426 LIMIT 1 Redirected to http://www.example.com/adherent/members/819299426/coord/new Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET "/adherent/members/819299426/coord/new" for 127.0.0.1 at 2013-08-23 13:23:44 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299426"} 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", "819299426"]] Adherent::Coord Load (5.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299426 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (68.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 137ms (Views: 106.1ms | ActiveRecord: 5.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (1.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (8.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:23:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:23: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" = 948) 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", Fri, 23 Aug 2013 11:23:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 948], ["updated_at", Fri, 23 Aug 2013 11:23: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" = 948) 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", Fri, 23 Aug 2013 11:23:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 948], ["updated_at", Fri, 23 Aug 2013 11:23:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 948) LIMIT 1 SQL (4.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", Fri, 23 Aug 2013 11:23:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 948], ["updated_at", Fri, 23 Aug 2013 11:23: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" = 'Adh003' AND "adherent_members"."organism_id" = 948) LIMIT 1 SQL (1.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", Fri, 23 Aug 2013 11:23:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 948], ["updated_at", Fri, 23 Aug 2013 11:23:44 UTC +00:00]]  (4.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" = 948) 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", Fri, 23 Aug 2013 11:23:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 948], ["updated_at", Fri, 23 Aug 2013 11:23:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (2.4ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (81.9ms) 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", Fri, 23 Aug 2013 11:23:44 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299431], ["office", nil], ["tel", nil], ["updated_at", Fri, 23 Aug 2013 11:23: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" = 819299431 LIMIT 1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.8ms) BEGIN Organism Load (1.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (55.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:29:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:29:31 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" = 949) LIMIT 1 SQL (28.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", Fri, 23 Aug 2013 11:29:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 949], ["updated_at", Fri, 23 Aug 2013 11:29:31 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" = 949) 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", Fri, 23 Aug 2013 11:29:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 949], ["updated_at", Fri, 23 Aug 2013 11:29:31 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" = 949) LIMIT 1 SQL (1.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", Fri, 23 Aug 2013 11:29:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 949], ["updated_at", Fri, 23 Aug 2013 11:29:31 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" = 949) 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", Fri, 23 Aug 2013 11:29:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 949], ["updated_at", Fri, 23 Aug 2013 11:29:31 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" = 949) 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", Fri, 23 Aug 2013 11:29:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 949], ["updated_at", Fri, 23 Aug 2013 11:29:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:29:31 +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" = 949 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299436 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299436 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299437 ORDER BY to_date Adherent::Coord Load (0.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299437 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299438 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299438 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299439 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299439 LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299440 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299440 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (80.9ms) Rendered layouts/adherent/_header.html.haml (1.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.9ms) Completed 200 OK in 144ms (Views: 119.2ms | ActiveRecord: 8.0ms)  (0.6ms) 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", Fri, 23 Aug 2013 11:29:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:29:31 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" = 950) 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", Fri, 23 Aug 2013 11:29:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 950], ["updated_at", Fri, 23 Aug 2013 11:29:31 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" = 950) 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", Fri, 23 Aug 2013 11:29:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 950], ["updated_at", Fri, 23 Aug 2013 11:29:31 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" = 'Adh002' AND "adherent_members"."organism_id" = 950) 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", Fri, 23 Aug 2013 11:29:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 950], ["updated_at", Fri, 23 Aug 2013 11:29:31 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" = 950) 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", Fri, 23 Aug 2013 11:29:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 950], ["updated_at", Fri, 23 Aug 2013 11:29:31 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" = 950) 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", Fri, 23 Aug 2013 11:29:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 950], ["updated_at", Fri, 23 Aug 2013 11:29:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:29:31 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.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" = 950 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299441 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299441 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299442 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299442 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299443 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299443 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299444 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299444 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299445 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299445 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 35ms (Views: 26.2ms | ActiveRecord: 4.8ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Fri, 23 Aug 2013 11:29:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:29:31 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" = 951) 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", Fri, 23 Aug 2013 11:29:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 951], ["updated_at", Fri, 23 Aug 2013 11:29:31 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" = 951) 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", Fri, 23 Aug 2013 11:29:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 951], ["updated_at", Fri, 23 Aug 2013 11:29:31 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" = 'Adh002' AND "adherent_members"."organism_id" = 951) 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", Fri, 23 Aug 2013 11:29:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 951], ["updated_at", Fri, 23 Aug 2013 11:29:31 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" = 951) 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", Fri, 23 Aug 2013 11:29:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 951], ["updated_at", Fri, 23 Aug 2013 11:29:31 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" = 951) 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", Fri, 23 Aug 2013 11:29:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 951], ["updated_at", Fri, 23 Aug 2013 11:29:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:29:31 +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 (1.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 951 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299446 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299446 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299447 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299447 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299448 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299448 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299449 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299449 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299450 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299450 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 33ms (Views: 26.0ms | ActiveRecord: 4.4ms) Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299446 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299446 ORDER BY to_date DESC LIMIT 1  (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.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:29:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:29:31 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" = 952) 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", Fri, 23 Aug 2013 11:29:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 952], ["updated_at", Fri, 23 Aug 2013 11:29:31 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" = 952) LIMIT 1 SQL (1.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", Fri, 23 Aug 2013 11:29:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 952], ["updated_at", Fri, 23 Aug 2013 11:29:31 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" = 952) 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", Fri, 23 Aug 2013 11:29:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 952], ["updated_at", Fri, 23 Aug 2013 11:29:31 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" = 952) 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", Fri, 23 Aug 2013 11:29:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 952], ["updated_at", Fri, 23 Aug 2013 11:29:31 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" = 'Adh004' AND "adherent_members"."organism_id" = 952) 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", Fri, 23 Aug 2013 11:29:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 952], ["updated_at", Fri, 23 Aug 2013 11:29:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:29:31 +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 (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 952 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299451 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299451 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299452 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299452 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299453 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299453 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299454 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299454 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299455 ORDER BY to_date Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299455 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 32ms (Views: 24.7ms | ActiveRecord: 4.9ms) Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (14.2ms) 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", Fri, 23 Aug 2013 11:29:32 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299451], ["office", nil], ["tel", nil], ["updated_at", Fri, 23 Aug 2013 11:29:32 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" = 819299451 LIMIT 1  (0.4ms) 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", Fri, 23 Aug 2013 11:29:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:29: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" = 'Adh000' AND "adherent_members"."organism_id" = 953) 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", Fri, 23 Aug 2013 11:29:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 953], ["updated_at", Fri, 23 Aug 2013 11:29:32 UTC +00:00]]  (0.1ms) 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" = 'Adh001' AND "adherent_members"."organism_id" = 953) 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", Fri, 23 Aug 2013 11:29:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 953], ["updated_at", Fri, 23 Aug 2013 11:29:32 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" = 953) 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", Fri, 23 Aug 2013 11:29:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 953], ["updated_at", Fri, 23 Aug 2013 11:29:32 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" = 'Adh003' AND "adherent_members"."organism_id" = 953) 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", Fri, 23 Aug 2013 11:29:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 953], ["updated_at", Fri, 23 Aug 2013 11:29:32 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" = 953) 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", Fri, 23 Aug 2013 11:29:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 953], ["updated_at", Fri, 23 Aug 2013 11:29:32 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:29:32 +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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 953 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299456 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299456 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299457 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299457 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299458 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299458 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299459 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299459 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299460 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299460 LIMIT 1 Rendered layouts/adherent/_header.html.haml (0.7ms) 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.5ms | ActiveRecord: 4.0ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299456/adhesions" for 127.0.0.1 at 2013-08-23 13:29:32 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299456"} 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", "819299456"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299456 Redirected to http://www.example.com/adherent/members/819299456/adhesions/new Completed 302 Found in 6ms (ActiveRecord: 1.2ms) Started GET "/adherent/members/819299456/adhesions/new" for 127.0.0.1 at 2013-08-23 13:29:32 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"819299456"} 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", "819299456"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299456 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299456 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (95.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 108ms (Views: 101.9ms | 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:29:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:29: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" = 'Adh000' AND "adherent_members"."organism_id" = 954) 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", Fri, 23 Aug 2013 11:29:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 954], ["updated_at", Fri, 23 Aug 2013 11:29:32 UTC +00:00]]  (0.0ms) 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" = 954) 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", Fri, 23 Aug 2013 11:29:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 954], ["updated_at", Fri, 23 Aug 2013 11:29: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" = 'Adh002' AND "adherent_members"."organism_id" = 954) 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", Fri, 23 Aug 2013 11:29:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 954], ["updated_at", Fri, 23 Aug 2013 11:29: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" = 'Adh003' AND "adherent_members"."organism_id" = 954) 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", Fri, 23 Aug 2013 11:29:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 954], ["updated_at", Fri, 23 Aug 2013 11:29:32 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" = 954) 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", Fri, 23 Aug 2013 11:29:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 954], ["updated_at", Fri, 23 Aug 2013 11:29:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:29:32 +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.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 954 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299461 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299461 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299462 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299462 LIMIT 1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299463 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299463 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299464 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299464 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299465 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299465 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 38ms (Views: 29.2ms | ActiveRecord: 4.7ms) Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299461/coord" for 127.0.0.1 at 2013-08-23 13:29:32 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299461"} 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", "819299461"]] Adherent::Coord Load (2.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299461 LIMIT 1 Redirected to http://www.example.com/adherent/members/819299461/coord/new Completed 302 Found in 6ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/819299461/coord/new" for 127.0.0.1 at 2013-08-23 13:29:32 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299461"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (3.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299461"]] Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299461 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (19.3ms) 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 35ms (Views: 25.7ms | ActiveRecord: 4.8ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:30:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:30:35 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" = 'Adh000' AND "adherent_members"."organism_id" = 955) 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", Fri, 23 Aug 2013 11:30:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 955], ["updated_at", Fri, 23 Aug 2013 11:30:35 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" = 'Adh001' AND "adherent_members"."organism_id" = 955) 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", Fri, 23 Aug 2013 11:30:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 955], ["updated_at", Fri, 23 Aug 2013 11:30:35 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" = 'Adh002' AND "adherent_members"."organism_id" = 955) 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", Fri, 23 Aug 2013 11:30:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 955], ["updated_at", Fri, 23 Aug 2013 11:30:35 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" = 955) 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", Fri, 23 Aug 2013 11:30:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 955], ["updated_at", Fri, 23 Aug 2013 11:30:35 UTC +00:00]]  (0.1ms) 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" = 'Adh004' AND "adherent_members"."organism_id" = 955) 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", Fri, 23 Aug 2013 11:30:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 955], ["updated_at", Fri, 23 Aug 2013 11:30:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:30:35 +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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 955 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299466 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299466 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299467 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299467 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299468 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299468 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299469 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299469 LIMIT 1 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299470 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299470 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (62.0ms) Rendered layouts/adherent/_header.html.haml (1.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 131ms (Views: 73.6ms | ActiveRecord: 8.6ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Fri, 23 Aug 2013 11:30:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:30: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" = 'Adh000' AND "adherent_members"."organism_id" = 956) 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", Fri, 23 Aug 2013 11:30:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 956], ["updated_at", Fri, 23 Aug 2013 11:30:35 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" = 'Adh001' AND "adherent_members"."organism_id" = 956) 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", Fri, 23 Aug 2013 11:30:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 956], ["updated_at", Fri, 23 Aug 2013 11:30:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 956) 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", Fri, 23 Aug 2013 11:30:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 956], ["updated_at", Fri, 23 Aug 2013 11:30:35 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" = 956) LIMIT 1 SQL (120.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", Fri, 23 Aug 2013 11:30:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 956], ["updated_at", Fri, 23 Aug 2013 11:30:35 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 956) 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", Fri, 23 Aug 2013 11:30:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 956], ["updated_at", Fri, 23 Aug 2013 11:30:36 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:30:36 +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 (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 956 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299471 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299471 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299472 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299472 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299473 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299473 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299474 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299474 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299475 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299475 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.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 41ms (Views: 32.6ms | ActiveRecord: 4.8ms)  (0.4ms) 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", Fri, 23 Aug 2013 11:30:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:30:36 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" = 957) 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", Fri, 23 Aug 2013 11:30:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 957], ["updated_at", Fri, 23 Aug 2013 11:30:36 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" = 'Adh001' AND "adherent_members"."organism_id" = 957) 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", Fri, 23 Aug 2013 11:30:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 957], ["updated_at", Fri, 23 Aug 2013 11:30:36 UTC +00:00]]  (1.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" = 957) LIMIT 1 SQL (0.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", Fri, 23 Aug 2013 11:30:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 957], ["updated_at", Fri, 23 Aug 2013 11:30:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 957) 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", Fri, 23 Aug 2013 11:30:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 957], ["updated_at", Fri, 23 Aug 2013 11:30:36 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" = 957) 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", Fri, 23 Aug 2013 11:30:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 957], ["updated_at", Fri, 23 Aug 2013 11:30:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:30:36 +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" = 957 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299476 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299476 LIMIT 1 Adherent::Adhesion Load (2.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299477 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299477 LIMIT 1 Adherent::Adhesion Load (5.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299478 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299478 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299479 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299479 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299480 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299480 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 56ms (Views: 41.5ms | ActiveRecord: 11.2ms) Adherent::Member Load (4.5ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299476/coord" for 127.0.0.1 at 2013-08-23 13:30:36 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299476"} 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", "819299476"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299476 LIMIT 1 Redirected to http://www.example.com/adherent/members/819299476/coord/new Completed 302 Found in 5ms (ActiveRecord: 1.1ms) Started GET "/adherent/members/819299476/coord/new" for 127.0.0.1 at 2013-08-23 13:30:36 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299476"} Organism Load (5.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299476"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299476 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (61.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 117ms (Views: 81.5ms | ActiveRecord: 7.7ms)  (7.4ms) 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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:30:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:30:36 UTC +00:00]]  (5.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" = 958) 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", Fri, 23 Aug 2013 11:30:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 958], ["updated_at", Fri, 23 Aug 2013 11:30:36 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" = 958) 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", Fri, 23 Aug 2013 11:30:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 958], ["updated_at", Fri, 23 Aug 2013 11:30:36 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 958) 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", Fri, 23 Aug 2013 11:30:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 958], ["updated_at", Fri, 23 Aug 2013 11:30:36 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" = 'Adh003' AND "adherent_members"."organism_id" = 958) LIMIT 1 SQL (2.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", Fri, 23 Aug 2013 11:30:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 958], ["updated_at", Fri, 23 Aug 2013 11:30:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 958) 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", Fri, 23 Aug 2013 11:30:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 958], ["updated_at", Fri, 23 Aug 2013 11:30:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:30:36 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (5.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (5.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 958 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299481 ORDER BY to_date Adherent::Coord Load (3.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299481 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299482 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299482 LIMIT 1 Adherent::Adhesion Load (3.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299483 ORDER BY to_date Adherent::Coord Load (7.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299483 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299484 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299484 LIMIT 1 Adherent::Adhesion Load (5.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299485 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299485 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.2ms) Completed 200 OK in 132ms (Views: 97.3ms | ActiveRecord: 31.6ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.3ms) 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", Fri, 23 Aug 2013 11:30:36 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299481], ["office", nil], ["tel", nil], ["updated_at", Fri, 23 Aug 2013 11:30:36 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" = 819299481 LIMIT 1 Started GET "/adherent/members/819299481/coord" for 127.0.0.1 at 2013-08-23 13:30:36 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299481"} Organism Load (5.7ms) 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", "819299481"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299481 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 27ms (Views: 17.3ms | ActiveRecord: 6.3ms)  (0.3ms) ROLLBACK  (2.4ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:30:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:30:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 959) 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", Fri, 23 Aug 2013 11:30:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 959], ["updated_at", Fri, 23 Aug 2013 11:30:36 UTC +00:00]]  (5.2ms) 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" = 'Adh001' AND "adherent_members"."organism_id" = 959) 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", Fri, 23 Aug 2013 11:30:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 959], ["updated_at", Fri, 23 Aug 2013 11:30:36 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (5.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 959) 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", Fri, 23 Aug 2013 11:30:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 959], ["updated_at", Fri, 23 Aug 2013 11:30:36 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" = 'Adh003' AND "adherent_members"."organism_id" = 959) 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", Fri, 23 Aug 2013 11:30:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 959], ["updated_at", Fri, 23 Aug 2013 11:30:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (6.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 959) 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", Fri, 23 Aug 2013 11:30:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 959], ["updated_at", Fri, 23 Aug 2013 11:30:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:30:36 +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" = 959 Adherent::Adhesion Load (4.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299486 ORDER BY to_date Adherent::Coord Load (5.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299486 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299487 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299487 LIMIT 1 Adherent::Adhesion Load (5.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299488 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299488 LIMIT 1 Adherent::Adhesion Load (2.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299489 ORDER BY to_date Adherent::Coord Load (4.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299489 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299490 ORDER BY to_date Adherent::Coord Load (3.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299490 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 60ms (Views: 27.6ms | ActiveRecord: 27.7ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (5.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299486 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299486 ORDER BY to_date DESC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (41.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", #], ["created_at", Fri, 23 Aug 2013 11:30:36 UTC +00:00], ["from_date", Fri, 23 Aug 2013], ["member_id", 819299486], ["to_date", Fri, 22 Aug 2014], ["updated_at", Fri, 23 Aug 2013 11:30:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:30:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:30:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 960) 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", Fri, 23 Aug 2013 11:30:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 960], ["updated_at", Fri, 23 Aug 2013 11:30:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 960) 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", Fri, 23 Aug 2013 11:30:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 960], ["updated_at", Fri, 23 Aug 2013 11:30:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 960) 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", Fri, 23 Aug 2013 11:30:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 960], ["updated_at", Fri, 23 Aug 2013 11:30:36 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (5.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 960) 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", Fri, 23 Aug 2013 11:30:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 960], ["updated_at", Fri, 23 Aug 2013 11:30:36 UTC +00:00]]  (0.0ms) 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" = 960) 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", Fri, 23 Aug 2013 11:30:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 960], ["updated_at", Fri, 23 Aug 2013 11:30:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:30:36 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (5.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" = 960 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299491 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299491 LIMIT 1 Adherent::Adhesion Load (3.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299492 ORDER BY to_date Adherent::Coord Load (3.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299492 LIMIT 1 Adherent::Adhesion Load (5.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299493 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299493 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299494 ORDER BY to_date Adherent::Coord Load (3.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299494 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299495 ORDER BY to_date Adherent::Coord Load (6.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299495 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 58ms (Views: 25.0ms | ActiveRecord: 30.2ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299491/adhesions" for 127.0.0.1 at 2013-08-23 13:30:36 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299491"} Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (5.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299491"]]  (0.5ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299491 Redirected to http://www.example.com/adherent/members/819299491/adhesions/new Completed 302 Found in 11ms (ActiveRecord: 6.7ms) Started GET "/adherent/members/819299491/adhesions/new" for 127.0.0.1 at 2013-08-23 13:30:36 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"819299491"} Organism Load (4.6ms) 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", "819299491"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299491 Adherent::Adhesion Load (6.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299491 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (25.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 51ms (Views: 31.1ms | ActiveRecord: 14.9ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (4.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:31:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:31:53 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" = 961) 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", Fri, 23 Aug 2013 11:31:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 961], ["updated_at", Fri, 23 Aug 2013 11:31:53 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" = 961) 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", Fri, 23 Aug 2013 11:31:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 961], ["updated_at", Fri, 23 Aug 2013 11:31:53 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" = 'Adh002' AND "adherent_members"."organism_id" = 961) 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", Fri, 23 Aug 2013 11:31:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 961], ["updated_at", Fri, 23 Aug 2013 11:31:53 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" = 961) 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", Fri, 23 Aug 2013 11:31:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 961], ["updated_at", Fri, 23 Aug 2013 11:31:53 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" = 'Adh004' AND "adherent_members"."organism_id" = 961) 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", Fri, 23 Aug 2013 11:31:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 961], ["updated_at", Fri, 23 Aug 2013 11:31:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:31:53 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (7.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"."organism_id" = 961 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299496 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299496 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299497 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299497 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299498 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299498 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299499 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299499 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299500 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299500 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (59.3ms) Rendered layouts/adherent/_header.html.haml (1.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 151ms (Views: 69.9ms | ActiveRecord: 15.1ms)  (0.6ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) 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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:31:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 962) 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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 962], ["updated_at", Fri, 23 Aug 2013 11:31:54 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" = 962) 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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 962], ["updated_at", Fri, 23 Aug 2013 11:31:54 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 962) 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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 962], ["updated_at", Fri, 23 Aug 2013 11:31:54 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" = 962) 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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 962], ["updated_at", Fri, 23 Aug 2013 11:31:54 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" = 'Adh004' AND "adherent_members"."organism_id" = 962) 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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 962], ["updated_at", Fri, 23 Aug 2013 11:31:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:31:54 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.7ms) 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" = 962 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299501 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299501 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299502 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299502 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299503 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299503 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299504 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299504 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299505 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299505 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.0ms) Completed 200 OK in 41ms (Views: 33.0ms | ActiveRecord: 4.8ms)  (1.2ms) ROLLBACK  (0.2ms) BEGIN Organism Load (2.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (2.3ms) 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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:31:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 963) LIMIT 1 SQL (148.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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 963], ["updated_at", Fri, 23 Aug 2013 11:31:54 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" = 'Adh001' AND "adherent_members"."organism_id" = 963) LIMIT 1 SQL (3.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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 963], ["updated_at", Fri, 23 Aug 2013 11:31:54 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 963) 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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 963], ["updated_at", Fri, 23 Aug 2013 11:31:54 UTC +00:00]]  (2.5ms) 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" = 'Adh003' AND "adherent_members"."organism_id" = 963) 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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 963], ["updated_at", Fri, 23 Aug 2013 11:31:54 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" = 963) 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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 963], ["updated_at", Fri, 23 Aug 2013 11:31:54 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:31:54 +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" = 963 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299506 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299506 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299507 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299507 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299508 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299508 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299509 ORDER BY to_date Adherent::Coord Load (0.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299509 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299510 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299510 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 35ms (Views: 25.8ms | ActiveRecord: 4.0ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299506/adhesions" for 127.0.0.1 at 2013-08-23 13:31:54 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299506"} 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", "819299506"]]  (0.5ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299506 Redirected to http://www.example.com/adherent/members/819299506/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 1.1ms) Started GET "/adherent/members/819299506/adhesions/new" for 127.0.0.1 at 2013-08-23 13:31:54 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"819299506"} 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", "819299506"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299506 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299506 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 46ms (Views: 31.6ms | 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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:31:54 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" = 964) 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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 964], ["updated_at", Fri, 23 Aug 2013 11:31:54 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" = 'Adh001' AND "adherent_members"."organism_id" = 964) 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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 964], ["updated_at", Fri, 23 Aug 2013 11:31:54 UTC +00:00]]  (0.2ms) 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" = 964) 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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 964], ["updated_at", Fri, 23 Aug 2013 11:31:54 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" = 964) 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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 964], ["updated_at", Fri, 23 Aug 2013 11:31:54 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" = 964) 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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 964], ["updated_at", Fri, 23 Aug 2013 11:31:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:31:54 +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" = 964 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299511 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299511 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299512 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299512 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299513 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299513 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299514 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299514 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299515 ORDER BY to_date Adherent::Coord Load (4.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299515 LIMIT 1 Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.0ms) Completed 200 OK in 77ms (Views: 64.6ms | ActiveRecord: 8.4ms) Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299511/coord" for 127.0.0.1 at 2013-08-23 13:31:54 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299511"} 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", "819299511"]] Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299511 LIMIT 1 Redirected to http://www.example.com/adherent/members/819299511/coord/new Completed 302 Found in 5ms (ActiveRecord: 1.2ms) Started GET "/adherent/members/819299511/coord/new" for 127.0.0.1 at 2013-08-23 13:31:54 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299511"} 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", "819299511"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299511 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (22.9ms) 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 93ms (Views: 28.9ms | ActiveRecord: 1.2ms)  (0.2ms) 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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:31:54 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" = 965) 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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 965], ["updated_at", Fri, 23 Aug 2013 11:31:54 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" = 965) 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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 965], ["updated_at", Fri, 23 Aug 2013 11:31:54 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" = 965) 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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 965], ["updated_at", Fri, 23 Aug 2013 11:31:54 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" = 965) 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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 965], ["updated_at", Fri, 23 Aug 2013 11:31:54 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" = 'Adh004' AND "adherent_members"."organism_id" = 965) 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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 965], ["updated_at", Fri, 23 Aug 2013 11:31:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:31:54 +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" = 965 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299516 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299516 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299517 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299517 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299518 ORDER BY to_date Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299518 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299519 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299519 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299520 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299520 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 33ms (Views: 26.7ms | ActiveRecord: 4.3ms) Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.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", "Marseille"], ["created_at", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299516], ["office", nil], ["tel", nil], ["updated_at", Fri, 23 Aug 2013 11:31:54 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" = 819299516 LIMIT 1 Started GET "/adherent/members/819299516/coord" for 127.0.0.1 at 2013-08-23 13:31:54 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299516"} 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", "819299516"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299516 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 10ms (Views: 6.5ms | ActiveRecord: 0.8ms)  (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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:31:54 UTC +00:00]]  (0.0ms) 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" = 966) 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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 966], ["updated_at", Fri, 23 Aug 2013 11:31:54 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" = 966) 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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 966], ["updated_at", Fri, 23 Aug 2013 11:31:54 UTC +00:00]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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" = 966) 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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 966], ["updated_at", Fri, 23 Aug 2013 11:31:54 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" = 966) 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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 966], ["updated_at", Fri, 23 Aug 2013 11:31:54 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" = 966) 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", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 966], ["updated_at", Fri, 23 Aug 2013 11:31:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:31:54 +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 (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 966 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299521 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299521 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299522 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299522 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299523 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299523 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299524 ORDER BY to_date Adherent::Coord Load (0.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299524 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299525 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299525 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 32ms (Views: 22.2ms | ActiveRecord: 4.0ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299521 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299521 ORDER BY to_date DESC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Fri, 23 Aug 2013 11:31:54 UTC +00:00], ["from_date", Fri, 23 Aug 2013], ["member_id", 819299521], ["to_date", Fri, 22 Aug 2014], ["updated_at", Fri, 23 Aug 2013 11:31:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.4ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Fri, 23 Aug 2013 11:32:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:32:35 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" = 'Adh000' AND "adherent_members"."organism_id" = 967) 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", Fri, 23 Aug 2013 11:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 967], ["updated_at", Fri, 23 Aug 2013 11:32:35 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" = 'Adh001' AND "adherent_members"."organism_id" = 967) 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", Fri, 23 Aug 2013 11:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 967], ["updated_at", Fri, 23 Aug 2013 11:32:35 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" = 967) 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", Fri, 23 Aug 2013 11:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 967], ["updated_at", Fri, 23 Aug 2013 11:32:35 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" = 967) 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", Fri, 23 Aug 2013 11:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 967], ["updated_at", Fri, 23 Aug 2013 11:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 967) 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", Fri, 23 Aug 2013 11:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 967], ["updated_at", Fri, 23 Aug 2013 11:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:32:35 +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" = 967 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299526 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299526 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299527 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299527 LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299528 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299528 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299529 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299529 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299530 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299530 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (58.0ms) Rendered layouts/adherent/_header.html.haml (1.2ms) 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.1ms) Completed 200 OK in 91ms (Views: 68.4ms | ActiveRecord: 8.4ms)  (1.2ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Fri, 23 Aug 2013 11:32:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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" = 968) 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", Fri, 23 Aug 2013 11:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 968], ["updated_at", Fri, 23 Aug 2013 11: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" = 'Adh001' AND "adherent_members"."organism_id" = 968) 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", Fri, 23 Aug 2013 11:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 968], ["updated_at", Fri, 23 Aug 2013 11: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" = 968) 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", Fri, 23 Aug 2013 11:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 968], ["updated_at", Fri, 23 Aug 2013 11: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" = 'Adh003' AND "adherent_members"."organism_id" = 968) LIMIT 1 SQL (0.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", Fri, 23 Aug 2013 11:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 968], ["updated_at", Fri, 23 Aug 2013 11:32:35 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" = 'Adh004' AND "adherent_members"."organism_id" = 968) 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", Fri, 23 Aug 2013 11:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 968], ["updated_at", Fri, 23 Aug 2013 11:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:32:35 +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 (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 968 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299531 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299531 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299532 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299532 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299533 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299533 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299534 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299534 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299535 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299535 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: 27.1ms | ActiveRecord: 4.1ms)  (0.4ms) 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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:32:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:32:35 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" = 'Adh000' AND "adherent_members"."organism_id" = 969) 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", Fri, 23 Aug 2013 11:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 969], ["updated_at", Fri, 23 Aug 2013 11: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" = 'Adh001' AND "adherent_members"."organism_id" = 969) 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", Fri, 23 Aug 2013 11:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 969], ["updated_at", Fri, 23 Aug 2013 11:32:35 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" = 969) 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", Fri, 23 Aug 2013 11:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 969], ["updated_at", Fri, 23 Aug 2013 11: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" = 'Adh003' AND "adherent_members"."organism_id" = 969) 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", Fri, 23 Aug 2013 11:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 969], ["updated_at", Fri, 23 Aug 2013 11: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" = 'Adh004' AND "adherent_members"."organism_id" = 969) 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", Fri, 23 Aug 2013 11:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 969], ["updated_at", Fri, 23 Aug 2013 11:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:32:35 +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" = 969 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299536 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299536 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299537 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299537 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299538 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299538 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299539 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299539 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299540 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299540 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.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 33ms (Views: 24.5ms | ActiveRecord: 3.6ms) Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299536 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299536 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", #], ["created_at", Fri, 23 Aug 2013 11:32:35 UTC +00:00], ["from_date", Fri, 23 Aug 2013], ["member_id", 819299536], ["to_date", Fri, 22 Aug 2014], ["updated_at", Fri, 23 Aug 2013 11:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/819299536/adhesions" for 127.0.0.1 at 2013-08-23 13:32:35 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299536"} Organism Load (2.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", "819299536"]]  (0.0ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299536 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299536  (29.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191073 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191073 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 75ms (Views: 37.0ms | ActiveRecord: 34.5ms)  (0.4ms) 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", Fri, 23 Aug 2013 11:32:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11: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" = 'Adh000' AND "adherent_members"."organism_id" = 970) 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", Fri, 23 Aug 2013 11:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 970], ["updated_at", Fri, 23 Aug 2013 11:32:35 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" = 'Adh001' AND "adherent_members"."organism_id" = 970) 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", Fri, 23 Aug 2013 11:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 970], ["updated_at", Fri, 23 Aug 2013 11: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" = 970) 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", Fri, 23 Aug 2013 11:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 970], ["updated_at", Fri, 23 Aug 2013 11:32:35 UTC +00:00]]  (0.0ms) 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" = 970) LIMIT 1 SQL (39.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", Fri, 23 Aug 2013 11:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 970], ["updated_at", Fri, 23 Aug 2013 11: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" = 'Adh004' AND "adherent_members"."organism_id" = 970) 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", Fri, 23 Aug 2013 11:32:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 970], ["updated_at", Fri, 23 Aug 2013 11:32:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:32:35 +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" = 970 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299541 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299541 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299542 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299542 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299543 ORDER BY to_date Adherent::Coord Load (0.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299543 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299544 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299544 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299545 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299545 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 31ms (Views: 24.9ms | ActiveRecord: 3.5ms) Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) 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", Fri, 23 Aug 2013 11:32:36 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299541], ["office", nil], ["tel", nil], ["updated_at", Fri, 23 Aug 2013 11:32:36 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" = 819299541 LIMIT 1 Started GET "/adherent/members/819299541/coord" for 127.0.0.1 at 2013-08-23 13:32:36 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299541"} 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", "819299541"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299541 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 14ms (Views: 6.6ms | ActiveRecord: 1.0ms)  (0.1ms) 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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:32:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 971) 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", Fri, 23 Aug 2013 11:32:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 971], ["updated_at", Fri, 23 Aug 2013 11:32:36 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" = 'Adh001' AND "adherent_members"."organism_id" = 971) 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", Fri, 23 Aug 2013 11:32:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 971], ["updated_at", Fri, 23 Aug 2013 11:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 971) 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", Fri, 23 Aug 2013 11:32:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 971], ["updated_at", Fri, 23 Aug 2013 11:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 971) 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", Fri, 23 Aug 2013 11:32:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 971], ["updated_at", Fri, 23 Aug 2013 11:32:36 UTC +00:00]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (2.4ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 971) LIMIT 1 SQL (4.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", Fri, 23 Aug 2013 11:32:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 971], ["updated_at", Fri, 23 Aug 2013 11:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:32:36 +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 (3.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 971 Adherent::Adhesion Load (1.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299546 ORDER BY to_date Adherent::Coord Load (2.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299546 LIMIT 1 Adherent::Adhesion Load (4.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299547 ORDER BY to_date Adherent::Coord Load (5.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299547 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299548 ORDER BY to_date Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299548 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299549 ORDER BY to_date Adherent::Coord Load (1.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299549 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299550 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299550 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 51ms (Views: 26.4ms | ActiveRecord: 21.9ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299546/adhesions" for 127.0.0.1 at 2013-08-23 13:32:36 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299546"} 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", "819299546"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299546 Redirected to http://www.example.com/adherent/members/819299546/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 0.9ms) Started GET "/adherent/members/819299546/adhesions/new" for 127.0.0.1 at 2013-08-23 13:32:36 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"819299546"} 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", "819299546"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299546 Adherent::Adhesion Load (2.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299546 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (75.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 90ms (Views: 82.1ms | ActiveRecord: 3.3ms)  (0.2ms) 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", Fri, 23 Aug 2013 11:32:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:32:36 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" = 'Adh000' AND "adherent_members"."organism_id" = 972) 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", Fri, 23 Aug 2013 11:32:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 972], ["updated_at", Fri, 23 Aug 2013 11:32:36 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" = 'Adh001' AND "adherent_members"."organism_id" = 972) 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", Fri, 23 Aug 2013 11:32:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 972], ["updated_at", Fri, 23 Aug 2013 11:32:36 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" = 972) 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", Fri, 23 Aug 2013 11:32:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 972], ["updated_at", Fri, 23 Aug 2013 11:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 972) 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", Fri, 23 Aug 2013 11:32:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 972], ["updated_at", Fri, 23 Aug 2013 11:32:36 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" = 'Adh004' AND "adherent_members"."organism_id" = 972) 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", Fri, 23 Aug 2013 11:32:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 972], ["updated_at", Fri, 23 Aug 2013 11:32:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:32:36 +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" = 972 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299551 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299551 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299552 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299552 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299553 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299553 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299554 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299554 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299555 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299555 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 35ms (Views: 28.2ms | ActiveRecord: 3.6ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299551/coord" for 127.0.0.1 at 2013-08-23 13:32:36 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299551"} 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", "819299551"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299551 LIMIT 1 Redirected to http://www.example.com/adherent/members/819299551/coord/new Completed 302 Found in 5ms (ActiveRecord: 1.1ms) Started GET "/adherent/members/819299551/coord/new" for 127.0.0.1 at 2013-08-23 13:32:36 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299551"} 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", "819299551"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299551 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (17.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 28ms (Views: 22.7ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:35:18 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:35:18 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" = 'Adh000' AND "adherent_members"."organism_id" = 973) 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", Fri, 23 Aug 2013 11:35:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 973], ["updated_at", Fri, 23 Aug 2013 11:35:18 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" = 'Adh001' AND "adherent_members"."organism_id" = 973) 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", Fri, 23 Aug 2013 11:35:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 973], ["updated_at", Fri, 23 Aug 2013 11:35:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 973) 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", Fri, 23 Aug 2013 11:35:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 973], ["updated_at", Fri, 23 Aug 2013 11:35:18 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" = 973) 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", Fri, 23 Aug 2013 11:35:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 973], ["updated_at", Fri, 23 Aug 2013 11:35:18 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" = 'Adh004' AND "adherent_members"."organism_id" = 973) 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", Fri, 23 Aug 2013 11:35:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 973], ["updated_at", Fri, 23 Aug 2013 11:35:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:35:18 +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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 973 Adherent::Adhesion Load (3.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299556 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299556 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299557 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299557 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299558 ORDER BY to_date Adherent::Coord Load (4.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299558 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299559 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299559 LIMIT 1 Adherent::Adhesion Load (2.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299560 ORDER BY to_date Adherent::Coord Load (0.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299560 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (114.7ms) Rendered layouts/adherent/_header.html.haml (1.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (9.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.9ms) Completed 200 OK in 257ms (Views: 136.0ms | ActiveRecord: 24.5ms)  (4.9ms) 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 (6.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:35:19 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:35:19 UTC +00:00]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (1.5ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 974) LIMIT 1 SQL (3.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", Fri, 23 Aug 2013 11:35:19 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 974], ["updated_at", Fri, 23 Aug 2013 11:35:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 974) LIMIT 1 SQL (3.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", Fri, 23 Aug 2013 11:35:19 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 974], ["updated_at", Fri, 23 Aug 2013 11:35:19 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (3.5ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 974) LIMIT 1 SQL (5.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", Fri, 23 Aug 2013 11:35:19 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 974], ["updated_at", Fri, 23 Aug 2013 11:35:19 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 974) 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", Fri, 23 Aug 2013 11:35:19 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 974], ["updated_at", Fri, 23 Aug 2013 11:35:19 UTC +00:00]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 974) LIMIT 1 SQL (4.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", Fri, 23 Aug 2013 11:35:19 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 974], ["updated_at", Fri, 23 Aug 2013 11:35:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:35:19 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (4.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"."organism_id" = 974 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299561 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299561 LIMIT 1 Adherent::Adhesion Load (5.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299562 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299562 LIMIT 1 Adherent::Adhesion Load (4.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299563 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299563 LIMIT 1 Adherent::Adhesion Load (8.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299564 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299564 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299565 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299565 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 61ms (Views: 23.0ms | ActiveRecord: 25.0ms)  (0.5ms) 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.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:35:19 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:35:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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" = 975) 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", Fri, 23 Aug 2013 11:35:19 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 975], ["updated_at", Fri, 23 Aug 2013 11:35:19 UTC +00:00]]  (0.2ms) 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" = 'Adh001' AND "adherent_members"."organism_id" = 975) 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", Fri, 23 Aug 2013 11:35:19 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 975], ["updated_at", Fri, 23 Aug 2013 11:35:19 UTC +00:00]]  (5.4ms) 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" = 'Adh002' AND "adherent_members"."organism_id" = 975) 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", Fri, 23 Aug 2013 11:35:19 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 975], ["updated_at", Fri, 23 Aug 2013 11:35:19 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" = 975) 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", Fri, 23 Aug 2013 11:35:19 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 975], ["updated_at", Fri, 23 Aug 2013 11:35:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.6ms) 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" = 975) 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", Fri, 23 Aug 2013 11:35:19 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 975], ["updated_at", Fri, 23 Aug 2013 11:35:19 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:35:19 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (4.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 975 Adherent::Adhesion Load (6.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299566 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299566 LIMIT 1 Adherent::Adhesion Load (4.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299567 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299567 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299568 ORDER BY to_date Adherent::Coord Load (5.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299568 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299569 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299569 LIMIT 1 Adherent::Adhesion Load (5.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299570 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299570 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 64ms (Views: 30.1ms | ActiveRecord: 31.3ms) Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299566/coord" for 127.0.0.1 at 2013-08-23 13:35:19 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299566"} 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", "819299566"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299566 LIMIT 1 Redirected to http://www.example.com/adherent/members/819299566/coord/new Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET "/adherent/members/819299566/coord/new" for 127.0.0.1 at 2013-08-23 13:35:19 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299566"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (6.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299566"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299566 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (61.2ms) Rendered layouts/adherent/_header.html.haml (0.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 111ms (Views: 71.9ms | ActiveRecord: 7.0ms)  (6.7ms) ROLLBACK  (0.1ms) BEGIN 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", Fri, 23 Aug 2013 11:35:19 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:35:19 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" = 'Adh000' AND "adherent_members"."organism_id" = 976) LIMIT 1 SQL (4.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", Fri, 23 Aug 2013 11:35:19 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 976], ["updated_at", Fri, 23 Aug 2013 11:35:19 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" = 976) 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", Fri, 23 Aug 2013 11:35:19 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 976], ["updated_at", Fri, 23 Aug 2013 11:35:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 [1mAdherent::Member Exists (4.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 976) 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", Fri, 23 Aug 2013 11:35:19 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 976], ["updated_at", Fri, 23 Aug 2013 11:35:19 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" = 976) 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", Fri, 23 Aug 2013 11:35:19 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 976], ["updated_at", Fri, 23 Aug 2013 11:35:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.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" = 976) 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", Fri, 23 Aug 2013 11:35:19 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 976], ["updated_at", Fri, 23 Aug 2013 11:35:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:35:19 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (4.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"."organism_id" = 976 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299571 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299571 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299572 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299572 LIMIT 1 Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299573 ORDER BY to_date Adherent::Coord Load (2.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299573 LIMIT 1 Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299574 ORDER BY to_date Adherent::Coord Load (6.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299574 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299575 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299575 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 147ms (Views: 123.9ms | ActiveRecord: 18.7ms) Adherent::Member Load (4.5ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299571/adhesions" for 127.0.0.1 at 2013-08-23 13:35:20 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299571"} Organism Load (1.7ms) 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", "819299571"]]  (2.1ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299571 Redirected to http://www.example.com/adherent/members/819299571/adhesions/new Completed 302 Found in 14ms (ActiveRecord: 4.1ms) Started GET "/adherent/members/819299571/adhesions/new" for 127.0.0.1 at 2013-08-23 13:35:20 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"819299571"} Organism Load (4.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", "819299571"]] Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299571 Adherent::Adhesion Load (3.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299571 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (22.4ms) Rendered layouts/adherent/_header.html.haml (8.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 183ms (Views: 50.0ms | ActiveRecord: 8.7ms)  (1.2ms) ROLLBACK  (0.1ms) BEGIN Organism Load (6.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", Fri, 23 Aug 2013 11:35:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:35:20 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" = 977) 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", Fri, 23 Aug 2013 11:35:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 977], ["updated_at", Fri, 23 Aug 2013 11:35:20 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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" = 977) LIMIT 1 SQL (1.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", Fri, 23 Aug 2013 11:35:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 977], ["updated_at", Fri, 23 Aug 2013 11:35:20 UTC +00:00]]  (2.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" = 'Adh002' AND "adherent_members"."organism_id" = 977) 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", Fri, 23 Aug 2013 11:35:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 977], ["updated_at", Fri, 23 Aug 2013 11:35:20 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.6ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 977) LIMIT 1 SQL (4.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", Fri, 23 Aug 2013 11:35:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 977], ["updated_at", Fri, 23 Aug 2013 11:35:20 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" = 'Adh004' AND "adherent_members"."organism_id" = 977) 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", Fri, 23 Aug 2013 11:35:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 977], ["updated_at", Fri, 23 Aug 2013 11:35:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:35:20 +0200 Processing by Adherent::MembersController#index as HTML 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"."organism_id" = 977 Adherent::Adhesion Load (3.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299576 ORDER BY to_date Adherent::Coord Load (1.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299576 LIMIT 1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299577 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299577 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299578 ORDER BY to_date Adherent::Coord Load (2.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299578 LIMIT 1 Adherent::Adhesion Load (3.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299579 ORDER BY to_date Adherent::Coord Load (2.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299579 LIMIT 1 Adherent::Adhesion Load (1.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299580 ORDER BY to_date Adherent::Coord Load (2.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299580 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 59ms (Views: 36.4ms | ActiveRecord: 19.7ms) Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299576/payments" for 127.0.0.1 at 2013-08-23 13:35:20 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"819299576"} Organism Load (1.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (3.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299576"]] Adherent::Payment Load (10.9ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299576 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 70ms (Views: 45.2ms | ActiveRecord: 22.0ms)  (0.0ms) 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", Fri, 23 Aug 2013 11:35:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:35:20 UTC +00:00]]  (6.2ms) 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" = 978) 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", Fri, 23 Aug 2013 11:35:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 978], ["updated_at", Fri, 23 Aug 2013 11:35:20 UTC +00:00]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (5.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 978) 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", Fri, 23 Aug 2013 11:35:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 978], ["updated_at", Fri, 23 Aug 2013 11:35:20 UTC +00:00]]  (3.4ms) 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" = 978) 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", Fri, 23 Aug 2013 11:35:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 978], ["updated_at", Fri, 23 Aug 2013 11:35:20 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (2.2ms) 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" = 978) LIMIT 1 SQL (2.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", Fri, 23 Aug 2013 11:35:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 978], ["updated_at", Fri, 23 Aug 2013 11:35:20 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" = 'Adh004' AND "adherent_members"."organism_id" = 978) LIMIT 1 SQL (5.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", Fri, 23 Aug 2013 11:35:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 978], ["updated_at", Fri, 23 Aug 2013 11:35:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:35:20 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (2.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 978 Adherent::Adhesion Load (7.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299581 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299581 LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299582 ORDER BY to_date Adherent::Coord Load (4.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299582 LIMIT 1 Adherent::Adhesion Load (6.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299583 ORDER BY to_date Adherent::Coord Load (1.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299583 LIMIT 1 Adherent::Adhesion Load (2.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299584 ORDER BY to_date Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299584 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299585 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299585 LIMIT 1 Rendered layouts/adherent/_header.html.haml (0.1ms) 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 (0.1ms) Completed 200 OK in 137ms (Views: 92.7ms | ActiveRecord: 27.8ms) Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (2.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299581 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299581 ORDER BY to_date DESC LIMIT 1  (1.5ms) SAVEPOINT active_record_1 SQL (84.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", #], ["created_at", Fri, 23 Aug 2013 11:35:20 UTC +00:00], ["from_date", Fri, 23 Aug 2013], ["member_id", 819299581], ["to_date", Fri, 22 Aug 2014], ["updated_at", Fri, 23 Aug 2013 11:35:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/819299581/adhesions" for 127.0.0.1 at 2013-08-23 13:35:20 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299581"} Organism Load (6.9ms) 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", "819299581"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299581 Adherent::Adhesion Load (1.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299581  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191074 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191074 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 56ms (Views: 35.9ms | ActiveRecord: 12.9ms)  (3.4ms) ROLLBACK  (0.0ms) BEGIN Organism Load (3.0ms) 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", Fri, 23 Aug 2013 11:35:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:35:20 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.9ms) 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" = 979) 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", Fri, 23 Aug 2013 11:35:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 979], ["updated_at", Fri, 23 Aug 2013 11:35:20 UTC +00:00]]  (1.7ms) 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" = 'Adh001' AND "adherent_members"."organism_id" = 979) 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", Fri, 23 Aug 2013 11:35:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 979], ["updated_at", Fri, 23 Aug 2013 11:35:20 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" = 979) LIMIT 1 SQL (2.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", Fri, 23 Aug 2013 11:35:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 979], ["updated_at", Fri, 23 Aug 2013 11:35:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 979) 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", Fri, 23 Aug 2013 11:35:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 979], ["updated_at", Fri, 23 Aug 2013 11:35:20 UTC +00:00]]  (7.3ms) 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" = 979) 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", Fri, 23 Aug 2013 11:35:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 979], ["updated_at", Fri, 23 Aug 2013 11:35:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:35:20 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 979 Adherent::Adhesion Load (6.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299586 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299586 LIMIT 1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299587 ORDER BY to_date Adherent::Coord Load (4.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299587 LIMIT 1 Adherent::Adhesion Load (2.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299588 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299588 LIMIT 1 Adherent::Adhesion Load (5.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299589 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299589 LIMIT 1 Adherent::Adhesion Load (6.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299590 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299590 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 129ms (Views: 95.9ms | ActiveRecord: 30.5ms) Adherent::Member Load (6.4ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (80.9ms) 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", Fri, 23 Aug 2013 11:35:21 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299586], ["office", nil], ["tel", nil], ["updated_at", Fri, 23 Aug 2013 11:35:21 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" = 819299586 LIMIT 1 Started GET "/adherent/members/819299586/coord" for 127.0.0.1 at 2013-08-23 13:35:21 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299586"} Organism Load (3.8ms) 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", "819299586"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299586 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 19ms (Views: 5.8ms | ActiveRecord: 4.4ms)  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (1.9ms) 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", Fri, 23 Aug 2013 11:36:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:36:59 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" = 'Adh000' AND "adherent_members"."organism_id" = 980) 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", Fri, 23 Aug 2013 11:36:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 980], ["updated_at", Fri, 23 Aug 2013 11:36:59 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" = 980) 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", Fri, 23 Aug 2013 11:36:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 980], ["updated_at", Fri, 23 Aug 2013 11:36:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 980) 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", Fri, 23 Aug 2013 11:36:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 980], ["updated_at", Fri, 23 Aug 2013 11:36:59 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" = 980) 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", Fri, 23 Aug 2013 11:36:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 980], ["updated_at", Fri, 23 Aug 2013 11:36:59 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" = 980) 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", Fri, 23 Aug 2013 11:36:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 980], ["updated_at", Fri, 23 Aug 2013 11:36:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:37:00 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.7ms) 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"."organism_id" = 980 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299591 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299591 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299592 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299592 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299593 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299593 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299594 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299594 LIMIT 1 Adherent::Adhesion Load (1.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299595 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299595 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (56.6ms) Rendered layouts/adherent/_header.html.haml (1.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.2ms) Completed 200 OK in 135ms (Views: 73.3ms | ActiveRecord: 8.4ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:37:00 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" = 981) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 981], ["updated_at", Fri, 23 Aug 2013 11:37:00 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" = 981) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 981], ["updated_at", Fri, 23 Aug 2013 11:37:00 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" = 'Adh002' AND "adherent_members"."organism_id" = 981) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 981], ["updated_at", Fri, 23 Aug 2013 11:37:00 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" = 981) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 981], ["updated_at", Fri, 23 Aug 2013 11:37:00 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" = 'Adh004' AND "adherent_members"."organism_id" = 981) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 981], ["updated_at", Fri, 23 Aug 2013 11:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:37:00 +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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 981 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299596 ORDER BY to_date Adherent::Coord Load (0.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299596 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299597 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299597 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299598 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299598 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299599 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299599 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299600 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299600 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 39ms (Views: 28.3ms | ActiveRecord: 3.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 (1.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:37:00 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" = 982) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 982], ["updated_at", Fri, 23 Aug 2013 11:37:00 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" = 982) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 982], ["updated_at", Fri, 23 Aug 2013 11:37:00 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" = 982) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 982], ["updated_at", Fri, 23 Aug 2013 11:37:00 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" = 'Adh003' AND "adherent_members"."organism_id" = 982) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 982], ["updated_at", Fri, 23 Aug 2013 11:37:00 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" = 'Adh004' AND "adherent_members"."organism_id" = 982) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 982], ["updated_at", Fri, 23 Aug 2013 11:37:00 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:37:00 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.8ms) 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" = 982 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299601 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299601 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299602 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299602 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299603 ORDER BY to_date Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299603 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299604 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299604 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299605 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299605 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 31ms (Views: 22.7ms | ActiveRecord: 5.4ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299601/coord" for 127.0.0.1 at 2013-08-23 13:37:00 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299601"} 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", "819299601"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299601 LIMIT 1 Redirected to http://www.example.com/adherent/members/819299601/coord/new Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET "/adherent/members/819299601/coord/new" for 127.0.0.1 at 2013-08-23 13:37:00 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299601"} Organism Load (0.4ms) 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"."id" = $1 LIMIT 1 [["id", "819299601"]] Adherent::Coord Load (1.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299601 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (29.4ms) 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 52ms (Views: 36.2ms | ActiveRecord: 2.0ms)  (0.2ms) 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.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:37:00 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" = 983) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 983], ["updated_at", Fri, 23 Aug 2013 11:37:00 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" = 983) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 983], ["updated_at", Fri, 23 Aug 2013 11:37:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 983) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 983], ["updated_at", Fri, 23 Aug 2013 11:37:00 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" = 983) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 983], ["updated_at", Fri, 23 Aug 2013 11:37:00 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" = 'Adh004' AND "adherent_members"."organism_id" = 983) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 983], ["updated_at", Fri, 23 Aug 2013 11:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:37:00 +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" = 983 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299606 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299606 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299607 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299607 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299608 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299608 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299609 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299609 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299610 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299610 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.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 72ms (Views: 61.9ms | ActiveRecord: 4.2ms) Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299606 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299606 ORDER BY to_date DESC LIMIT 1  (0.2ms) 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", #], ["created_at", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["from_date", Fri, 23 Aug 2013], ["member_id", 819299606], ["to_date", Fri, 22 Aug 2014], ["updated_at", Fri, 23 Aug 2013 11:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/819299606/adhesions" for 127.0.0.1 at 2013-08-23 13:37:00 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299606"} 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", "819299606"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299606 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299606  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191075 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191075 Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (1.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 29ms (Views: 22.2ms | ActiveRecord: 3.6ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:37:00 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" = 984) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 984], ["updated_at", Fri, 23 Aug 2013 11:37:00 UTC +00:00]]  (0.0ms) 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" = 984) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 984], ["updated_at", Fri, 23 Aug 2013 11:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 984) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 984], ["updated_at", Fri, 23 Aug 2013 11:37:00 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" = 984) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 984], ["updated_at", Fri, 23 Aug 2013 11:37:00 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" = 984) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 984], ["updated_at", Fri, 23 Aug 2013 11:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:37:00 +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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 984 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299611 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299611 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299612 ORDER BY to_date Adherent::Coord Load (2.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299612 LIMIT 1 Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299613 ORDER BY to_date Adherent::Coord Load (1.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299613 LIMIT 1 Adherent::Adhesion Load (3.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299614 ORDER BY to_date Adherent::Coord Load (7.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299614 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299615 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299615 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: 32.9ms | ActiveRecord: 18.8ms) Adherent::Member Load (4.9ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299611/payments" for 127.0.0.1 at 2013-08-23 13:37:00 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"819299611"} Organism Load (0.5ms) 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"."id" = $1 LIMIT 1 [["id", "819299611"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299611 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 31ms (Views: 17.3ms | ActiveRecord: 7.0ms) Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.2ms) 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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:37:00 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" = 985) LIMIT 1 SQL (26.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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 985], ["updated_at", Fri, 23 Aug 2013 11:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 985) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 985], ["updated_at", Fri, 23 Aug 2013 11:37:00 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" = 985) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 985], ["updated_at", Fri, 23 Aug 2013 11:37:00 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" = 985) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 985], ["updated_at", Fri, 23 Aug 2013 11:37:00 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" = 985) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 985], ["updated_at", Fri, 23 Aug 2013 11:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:37:00 +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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 985 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299616 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299616 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299617 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299617 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299618 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299618 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299619 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299619 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299620 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299620 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.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 33ms (Views: 25.6ms | ActiveRecord: 4.2ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299616/adhesions" for 127.0.0.1 at 2013-08-23 13:37:00 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299616"} 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", "819299616"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299616 Redirected to http://www.example.com/adherent/members/819299616/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET "/adherent/members/819299616/adhesions/new" for 127.0.0.1 at 2013-08-23 13:37:00 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"819299616"} 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", "819299616"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299616 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299616 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (11.5ms) 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: 17.2ms | ActiveRecord: 1.4ms)  (0.2ms) 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.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:37:00 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" = 986) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 986], ["updated_at", Fri, 23 Aug 2013 11:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 986) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 986], ["updated_at", Fri, 23 Aug 2013 11:37:00 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" = 986) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 986], ["updated_at", Fri, 23 Aug 2013 11:37:00 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" = 986) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 986], ["updated_at", Fri, 23 Aug 2013 11:37:00 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" = 'Adh004' AND "adherent_members"."organism_id" = 986) 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", Fri, 23 Aug 2013 11:37:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 986], ["updated_at", Fri, 23 Aug 2013 11:37:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:37:00 +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" = 986 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299621 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299621 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299622 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299622 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299623 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299623 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299624 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299624 LIMIT 1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299625 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299625 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 37ms (Views: 29.3ms | ActiveRecord: 4.3ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) 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", Fri, 23 Aug 2013 11:37:01 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299621], ["office", nil], ["tel", nil], ["updated_at", Fri, 23 Aug 2013 11:37:01 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" = 819299621 LIMIT 1 Started GET "/adherent/members/819299621/coord" for 127.0.0.1 at 2013-08-23 13:37:01 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299621"} Organism Load (2.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", "819299621"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299621 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 13ms (Views: 7.0ms | ActiveRecord: 3.0ms)  (0.1ms) 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 (4.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:37:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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" = 987) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 987], ["updated_at", Fri, 23 Aug 2013 11:37:20 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" = 987) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 987], ["updated_at", Fri, 23 Aug 2013 11:37:20 UTC +00:00]]  (0.0ms) 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" = 'Adh002' AND "adherent_members"."organism_id" = 987) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 987], ["updated_at", Fri, 23 Aug 2013 11:37:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 987) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 987], ["updated_at", Fri, 23 Aug 2013 11:37:20 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" = 987) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 987], ["updated_at", Fri, 23 Aug 2013 11:37:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:37:20 +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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 987 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299626 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299626 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299627 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299627 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299628 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299628 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299629 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299629 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299630 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299630 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (57.4ms) Rendered layouts/adherent/_header.html.haml (1.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (1.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.2ms) Completed 200 OK in 122ms (Views: 66.6ms | ActiveRecord: 9.2ms)  (0.5ms) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:37:20 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" = 988) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 988], ["updated_at", Fri, 23 Aug 2013 11:37:20 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" = 'Adh001' AND "adherent_members"."organism_id" = 988) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 988], ["updated_at", Fri, 23 Aug 2013 11:37:20 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" = 988) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 988], ["updated_at", Fri, 23 Aug 2013 11:37:20 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" = 988) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 988], ["updated_at", Fri, 23 Aug 2013 11:37:20 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" = 988) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 988], ["updated_at", Fri, 23 Aug 2013 11:37:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:37:20 +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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 988 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299631 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299631 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299632 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299632 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299633 ORDER BY to_date Adherent::Coord Load (1.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299633 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299634 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299634 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299635 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299635 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.2ms) Completed 200 OK in 36ms (Views: 27.4ms | ActiveRecord: 4.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:37:20 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" = 'Adh000' AND "adherent_members"."organism_id" = 989) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 989], ["updated_at", Fri, 23 Aug 2013 11:37:20 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" = 'Adh001' AND "adherent_members"."organism_id" = 989) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 989], ["updated_at", Fri, 23 Aug 2013 11:37:20 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" = 989) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 989], ["updated_at", Fri, 23 Aug 2013 11:37:20 UTC +00:00]]  (0.6ms) 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" = 989) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 989], ["updated_at", Fri, 23 Aug 2013 11:37:20 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" = 989) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 989], ["updated_at", Fri, 23 Aug 2013 11:37:20 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:37:20 +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 (1.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 989 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299636 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299636 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299637 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299637 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299638 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299638 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299639 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299639 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299640 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299640 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 33ms (Views: 26.4ms | ActiveRecord: 4.8ms) Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299636/coord" for 127.0.0.1 at 2013-08-23 13:37:20 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299636"} 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", "819299636"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299636 LIMIT 1 Redirected to http://www.example.com/adherent/members/819299636/coord/new Completed 302 Found in 5ms (ActiveRecord: 1.1ms) Started GET "/adherent/members/819299636/coord/new" for 127.0.0.1 at 2013-08-23 13:37:20 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299636"} 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", "819299636"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299636 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (29.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 51ms (Views: 35.9ms | ActiveRecord: 0.9ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.1ms) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:37:20 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" = 990) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 990], ["updated_at", Fri, 23 Aug 2013 11:37:20 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" = 990) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 990], ["updated_at", Fri, 23 Aug 2013 11:37:20 UTC +00:00]]  (0.4ms) 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" = 990) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 990], ["updated_at", Fri, 23 Aug 2013 11:37:20 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" = 990) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 990], ["updated_at", Fri, 23 Aug 2013 11:37:20 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" = 990) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 990], ["updated_at", Fri, 23 Aug 2013 11:37:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:37:20 +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" = 990 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299641 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299641 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299642 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299642 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299643 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299643 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299644 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299644 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299645 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299645 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 70ms (Views: 60.3ms | ActiveRecord: 4.1ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299641], ["office", nil], ["tel", nil], ["updated_at", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["zip", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299641 LIMIT 1 Started GET "/adherent/members/819299641/coord" for 127.0.0.1 at 2013-08-23 13:37:20 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299641"} 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", "819299641"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299641 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 10ms (Views: 5.9ms | ActiveRecord: 0.8ms)  (3.4ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.8ms) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:37:20 UTC +00:00]]  (4.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" = 991) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 991], ["updated_at", Fri, 23 Aug 2013 11:37:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 991) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 991], ["updated_at", Fri, 23 Aug 2013 11:37:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 991) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 991], ["updated_at", Fri, 23 Aug 2013 11:37:20 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" = 991) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 991], ["updated_at", Fri, 23 Aug 2013 11:37:20 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" = 'Adh004' AND "adherent_members"."organism_id" = 991) 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", Fri, 23 Aug 2013 11:37:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 991], ["updated_at", Fri, 23 Aug 2013 11:37:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:37:20 +0200 Processing by Adherent::MembersController#index as HTML 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"."organism_id" = 991 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299646 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299646 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299647 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299647 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299648 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299648 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299649 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299649 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299650 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299650 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 32ms (Views: 25.9ms | ActiveRecord: 3.7ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299646/payments" for 127.0.0.1 at 2013-08-23 13:37:21 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"819299646"} 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", "819299646"]] Adherent::Payment Load (1.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299646 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 28ms (Views: 21.7ms | ActiveRecord: 4.3ms) Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:37:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:37:21 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" = 992) 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", Fri, 23 Aug 2013 11:37:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 992], ["updated_at", Fri, 23 Aug 2013 11:37:21 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" = 'Adh001' AND "adherent_members"."organism_id" = 992) 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", Fri, 23 Aug 2013 11:37:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 992], ["updated_at", Fri, 23 Aug 2013 11:37:21 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" = 992) LIMIT 1 SQL (21.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", Fri, 23 Aug 2013 11:37:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 992], ["updated_at", Fri, 23 Aug 2013 11:37:21 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" = 992) 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", Fri, 23 Aug 2013 11:37:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 992], ["updated_at", Fri, 23 Aug 2013 11:37:21 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" = 'Adh004' AND "adherent_members"."organism_id" = 992) 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", Fri, 23 Aug 2013 11:37:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 992], ["updated_at", Fri, 23 Aug 2013 11:37:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:37:21 +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" = 992 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299651 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299651 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299652 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299652 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299653 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299653 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299654 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299654 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299655 ORDER BY to_date Adherent::Coord Load (0.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299655 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.6ms) Completed 200 OK in 30ms (Views: 24.1ms | ActiveRecord: 3.2ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299651/adhesions" for 127.0.0.1 at 2013-08-23 13:37:21 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299651"} 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", "819299651"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299651 Redirected to http://www.example.com/adherent/members/819299651/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET "/adherent/members/819299651/adhesions/new" for 127.0.0.1 at 2013-08-23 13:37:21 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"819299651"} 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", "819299651"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299651 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299651 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (12.6ms) 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 33ms (Views: 19.4ms | ActiveRecord: 1.1ms)  (1.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.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:37:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:37:21 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" = 'Adh000' AND "adherent_members"."organism_id" = 993) 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", Fri, 23 Aug 2013 11:37:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 993], ["updated_at", Fri, 23 Aug 2013 11:37:21 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" = 993) 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", Fri, 23 Aug 2013 11:37:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 993], ["updated_at", Fri, 23 Aug 2013 11:37:21 UTC +00:00]]  (0.3ms) 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" = 993) 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", Fri, 23 Aug 2013 11:37:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 993], ["updated_at", Fri, 23 Aug 2013 11:37:21 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" = 'Adh003' AND "adherent_members"."organism_id" = 993) 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", Fri, 23 Aug 2013 11:37:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 993], ["updated_at", Fri, 23 Aug 2013 11:37:21 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" = 993) 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", Fri, 23 Aug 2013 11:37:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 993], ["updated_at", Fri, 23 Aug 2013 11:37:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:37:21 +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" = 993 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299656 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299656 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299657 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299657 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299658 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299658 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299659 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299659 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299660 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299660 LIMIT 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 77ms (Views: 71.1ms | ActiveRecord: 3.5ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299656 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299656 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Fri, 23 Aug 2013 11:37:21 UTC +00:00], ["from_date", Fri, 23 Aug 2013], ["member_id", 819299656], ["to_date", Fri, 22 Aug 2014], ["updated_at", Fri, 23 Aug 2013 11:37:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/819299656/adhesions" for 127.0.0.1 at 2013-08-23 13:37:21 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299656"} 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", "819299656"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299656 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299656  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191076 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191076 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: 20.4ms | ActiveRecord: 3.4ms)  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.8ms) 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", Fri, 23 Aug 2013 11:37:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:37:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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" = 994) 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", Fri, 23 Aug 2013 11:37:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 994], ["updated_at", Fri, 23 Aug 2013 11:37:52 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" = 994) 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", Fri, 23 Aug 2013 11:37:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 994], ["updated_at", Fri, 23 Aug 2013 11:37:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 994) 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", Fri, 23 Aug 2013 11:37:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 994], ["updated_at", Fri, 23 Aug 2013 11:37:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 994) 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", Fri, 23 Aug 2013 11:37:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 994], ["updated_at", Fri, 23 Aug 2013 11:37:52 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" = 'Adh004' AND "adherent_members"."organism_id" = 994) 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", Fri, 23 Aug 2013 11:37:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 994], ["updated_at", Fri, 23 Aug 2013 11:37:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:37:52 +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 (6.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 994 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299661 ORDER BY to_date Adherent::Coord Load (1.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299661 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299662 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299662 LIMIT 1 Adherent::Adhesion Load (1.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299663 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299663 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299664 ORDER BY to_date Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299664 LIMIT 1 Adherent::Adhesion Load (5.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299665 ORDER BY to_date Adherent::Coord Load (7.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299665 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (119.5ms) Rendered layouts/adherent/_header.html.haml (7.1ms) 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.0ms) Completed 200 OK in 245ms (Views: 126.3ms | ActiveRecord: 33.9ms)  (0.5ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (5.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", Fri, 23 Aug 2013 11:37:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:37:53 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" = 995) 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", Fri, 23 Aug 2013 11:37:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 995], ["updated_at", Fri, 23 Aug 2013 11:37:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (5.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 995) 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", Fri, 23 Aug 2013 11:37:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 995], ["updated_at", Fri, 23 Aug 2013 11:37:53 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" = 995) 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", Fri, 23 Aug 2013 11:37:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 995], ["updated_at", Fri, 23 Aug 2013 11:37:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 995) LIMIT 1 SQL (0.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", Fri, 23 Aug 2013 11:37:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 995], ["updated_at", Fri, 23 Aug 2013 11:37:53 UTC +00:00]]  (1.9ms) 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" = 'Adh004' AND "adherent_members"."organism_id" = 995) 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", Fri, 23 Aug 2013 11:37:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 995], ["updated_at", Fri, 23 Aug 2013 11:37:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:37:53 +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 (6.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 995 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299666 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299666 LIMIT 1 Adherent::Adhesion Load (8.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299667 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299667 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299668 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299668 LIMIT 1 Adherent::Adhesion Load (3.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299669 ORDER BY to_date Adherent::Coord Load (6.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299669 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299670 ORDER BY to_date Adherent::Coord Load (2.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299670 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 (5.0ms) Completed 200 OK in 62ms (Views: 30.2ms | ActiveRecord: 29.4ms)  (5.4ms) 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", Fri, 23 Aug 2013 11:37:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:37:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 996) 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", Fri, 23 Aug 2013 11:37:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 996], ["updated_at", Fri, 23 Aug 2013 11:37:53 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" = 'Adh001' AND "adherent_members"."organism_id" = 996) 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", Fri, 23 Aug 2013 11:37:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 996], ["updated_at", Fri, 23 Aug 2013 11:37:53 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" = 'Adh002' AND "adherent_members"."organism_id" = 996) 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", Fri, 23 Aug 2013 11:37:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 996], ["updated_at", Fri, 23 Aug 2013 11:37:53 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" = 996) 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", Fri, 23 Aug 2013 11:37:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 996], ["updated_at", Fri, 23 Aug 2013 11:37:53 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" = 996) LIMIT 1 SQL (5.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", Fri, 23 Aug 2013 11:37:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 996], ["updated_at", Fri, 23 Aug 2013 11:37:53 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:37:53 +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 (7.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 996 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299671 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299671 LIMIT 1 Adherent::Adhesion Load (2.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299672 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299672 LIMIT 1 Adherent::Adhesion Load (3.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299673 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299673 LIMIT 1 Adherent::Adhesion Load (4.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299674 ORDER BY to_date Adherent::Coord Load (5.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299674 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299675 ORDER BY to_date Adherent::Coord Load (4.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299675 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 58ms (Views: 27.3ms | ActiveRecord: 28.3ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299671/coord" for 127.0.0.1 at 2013-08-23 13:37:53 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299671"} Organism Load (3.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", "819299671"]] Adherent::Coord Load (2.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299671 LIMIT 1 Redirected to http://www.example.com/adherent/members/819299671/coord/new Completed 302 Found in 10ms (ActiveRecord: 6.2ms) Started GET "/adherent/members/819299671/coord/new" for 127.0.0.1 at 2013-08-23 13:37:53 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299671"} Organism Load (4.9ms) 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", "819299671"]] Adherent::Coord Load (3.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299671 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (60.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 101ms (Views: 66.0ms | ActiveRecord: 9.1ms)  (2.5ms) ROLLBACK  (0.1ms) BEGIN Organism Load (4.8ms) 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", Fri, 23 Aug 2013 11:37:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:37:53 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" = 997) 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", Fri, 23 Aug 2013 11:37:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 997], ["updated_at", Fri, 23 Aug 2013 11:37:53 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (6.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 997) 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", Fri, 23 Aug 2013 11:37:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 997], ["updated_at", Fri, 23 Aug 2013 11:37:53 UTC +00:00]]  (0.0ms) 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" = 997) 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", Fri, 23 Aug 2013 11:37:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 997], ["updated_at", Fri, 23 Aug 2013 11:37:53 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" = 'Adh003' AND "adherent_members"."organism_id" = 997) 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", Fri, 23 Aug 2013 11:37:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 997], ["updated_at", Fri, 23 Aug 2013 11:37:53 UTC +00:00]]  (3.9ms) 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" = 997) 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", Fri, 23 Aug 2013 11:37:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 997], ["updated_at", Fri, 23 Aug 2013 11:37:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:37:53 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (6.0ms) 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" = 997 Adherent::Adhesion Load (8.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299676 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299676 LIMIT 1 Adherent::Adhesion Load (4.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299677 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299677 LIMIT 1 Adherent::Adhesion Load (4.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299678 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299678 LIMIT 1 Adherent::Adhesion Load (3.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299679 ORDER BY to_date Adherent::Coord Load (3.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299679 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299680 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299680 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 143ms (Views: 108.6ms | ActiveRecord: 31.6ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299676/payments" for 127.0.0.1 at 2013-08-23 13:37:53 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"819299676"} Organism Load (0.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", "819299676"]] Adherent::Payment Load (6.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299676 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 139ms (Views: 127.7ms | ActiveRecord: 9.2ms)  (3.4ms) 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 (3.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 11:37:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:37:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 998) 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", Fri, 23 Aug 2013 11:37:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 998], ["updated_at", Fri, 23 Aug 2013 11:37:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 998) 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", Fri, 23 Aug 2013 11:37:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 998], ["updated_at", Fri, 23 Aug 2013 11:37:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 998) 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", Fri, 23 Aug 2013 11:37:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 998], ["updated_at", Fri, 23 Aug 2013 11:37:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 998) LIMIT 1 SQL (4.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", Fri, 23 Aug 2013 11:37:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 998], ["updated_at", Fri, 23 Aug 2013 11:37:53 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" = 'Adh004' AND "adherent_members"."organism_id" = 998) 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", Fri, 23 Aug 2013 11:37:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 998], ["updated_at", Fri, 23 Aug 2013 11:37:53 UTC +00:00]]  (2.4ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:37:53 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (5.9ms) 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"."organism_id" = 998 Adherent::Adhesion Load (7.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299681 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299681 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299682 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299682 LIMIT 1 Adherent::Adhesion Load (7.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299683 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299683 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299684 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299684 LIMIT 1 Adherent::Adhesion Load (5.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299685 ORDER BY to_date Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299685 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 65ms (Views: 31.2ms | ActiveRecord: 29.7ms) Adherent::Member Load (7.0ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (36.3ms) 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", Fri, 23 Aug 2013 11:37:54 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299681], ["office", nil], ["tel", nil], ["updated_at", Fri, 23 Aug 2013 11:37:54 UTC +00:00], ["zip", nil]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299681 LIMIT 1 Started GET "/adherent/members/819299681/coord" for 127.0.0.1 at 2013-08-23 13:37:54 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299681"} 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", "819299681"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299681 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 16ms (Views: 4.9ms | ActiveRecord: 1.0ms)  (2.6ms) ROLLBACK  (0.0ms) BEGIN Organism Load (3.5ms) 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", Fri, 23 Aug 2013 11:37:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:37:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 999) 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", Fri, 23 Aug 2013 11:37:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 999], ["updated_at", Fri, 23 Aug 2013 11:37:54 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" = 999) 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", Fri, 23 Aug 2013 11:37:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 999], ["updated_at", Fri, 23 Aug 2013 11:37:54 UTC +00:00]]  (5.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" = 'Adh002' AND "adherent_members"."organism_id" = 999) 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", Fri, 23 Aug 2013 11:37:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 999], ["updated_at", Fri, 23 Aug 2013 11:37:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.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" = 999) LIMIT 1 SQL (9.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", Fri, 23 Aug 2013 11:37:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 999], ["updated_at", Fri, 23 Aug 2013 11:37:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 999) 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", Fri, 23 Aug 2013 11:37:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 999], ["updated_at", Fri, 23 Aug 2013 11:37:54 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:37:54 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (7.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" = 999 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299686 ORDER BY to_date Adherent::Coord Load (5.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299686 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299687 ORDER BY to_date Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299687 LIMIT 1 Adherent::Adhesion Load (1.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299688 ORDER BY to_date Adherent::Coord Load (6.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299688 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299689 ORDER BY to_date Adherent::Coord Load (0.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299689 LIMIT 1 Adherent::Adhesion Load (3.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299690 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299690 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 56ms (Views: 26.5ms | ActiveRecord: 26.6ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299686/adhesions" for 127.0.0.1 at 2013-08-23 13:37:54 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299686"} 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", "819299686"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299686 Redirected to http://www.example.com/adherent/members/819299686/adhesions/new Completed 302 Found in 15ms (ActiveRecord: 0.8ms) Started GET "/adherent/members/819299686/adhesions/new" for 127.0.0.1 at 2013-08-23 13:37:54 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"819299686"} Organism Load (4.8ms) 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", "819299686"]] Adherent::Adhesion Load (2.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299686 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299686 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (19.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 65ms (Views: 33.8ms | ActiveRecord: 7.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.6ms) 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", Fri, 23 Aug 2013 11:37:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 11:37:54 UTC +00:00]]  (5.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 1000) 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", Fri, 23 Aug 2013 11:37:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1000], ["updated_at", Fri, 23 Aug 2013 11:37:54 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" = 'Adh001' AND "adherent_members"."organism_id" = 1000) LIMIT 1 SQL (3.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", Fri, 23 Aug 2013 11:37:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1000], ["updated_at", Fri, 23 Aug 2013 11:37:54 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" = 1000) LIMIT 1 SQL (2.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", Fri, 23 Aug 2013 11:37:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1000], ["updated_at", Fri, 23 Aug 2013 11:37:54 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" = 1000) 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", Fri, 23 Aug 2013 11:37:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1000], ["updated_at", Fri, 23 Aug 2013 11:37:54 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" = 'Adh004' AND "adherent_members"."organism_id" = 1000) 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", Fri, 23 Aug 2013 11:37:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1000], ["updated_at", Fri, 23 Aug 2013 11:37:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 13:37:54 +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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 1000 Adherent::Adhesion Load (4.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299691 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299691 LIMIT 1 Adherent::Adhesion Load (2.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299692 ORDER BY to_date Adherent::Coord Load (3.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299692 LIMIT 1 Adherent::Adhesion Load (5.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299693 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299693 LIMIT 1 Adherent::Adhesion Load (4.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299694 ORDER BY to_date Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299694 LIMIT 1 Adherent::Adhesion Load (4.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299695 ORDER BY to_date Adherent::Coord Load (1.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299695 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 130ms (Views: 94.8ms | ActiveRecord: 28.0ms) Adherent::Member Load (3.8ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (4.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299691 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299691 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", #], ["created_at", Fri, 23 Aug 2013 11:37:54 UTC +00:00], ["from_date", Fri, 23 Aug 2013], ["member_id", 819299691], ["to_date", Fri, 22 Aug 2014], ["updated_at", Fri, 23 Aug 2013 11:37:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/819299691/adhesions" for 127.0.0.1 at 2013-08-23 13:37:54 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299691"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (4.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299691"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299691 Adherent::Adhesion Load (8.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299691  (1.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191077 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191077 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 62ms (Views: 34.8ms | ActiveRecord: 18.0ms)  (2.8ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (4.9ms) SAVEPOINT active_record_1 SQL (101.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 12:08:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 12:08:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (5.4ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1001) 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", Fri, 23 Aug 2013 12:08:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1001], ["updated_at", Fri, 23 Aug 2013 12:08:03 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" = 'Adh001' AND "adherent_members"."organism_id" = 1001) LIMIT 1 SQL (6.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", Fri, 23 Aug 2013 12:08:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1001], ["updated_at", Fri, 23 Aug 2013 12:08:03 UTC +00:00]]  (0.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" = 'Adh002' AND "adherent_members"."organism_id" = 1001) 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", Fri, 23 Aug 2013 12:08:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1001], ["updated_at", Fri, 23 Aug 2013 12:08:03 UTC +00:00]]  (0.0ms) 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" = 1001) 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", Fri, 23 Aug 2013 12:08:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1001], ["updated_at", Fri, 23 Aug 2013 12:08:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 1001) 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", Fri, 23 Aug 2013 12:08:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1001], ["updated_at", Fri, 23 Aug 2013 12:08:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 14:08:03 +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 (12.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 1001 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299696 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299696 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299697 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299697 LIMIT 1 Adherent::Adhesion Load (5.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299698 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299698 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299699 ORDER BY to_date Adherent::Coord Load (5.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299699 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299700 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299700 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (181.5ms) Rendered layouts/adherent/_header.html.haml (1.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.3ms) Completed 200 OK in 323ms (Views: 260.6ms | ActiveRecord: 33.1ms)  (0.5ms) 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 (1.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 12:08:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 12:08:05 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" = 1002) 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", Fri, 23 Aug 2013 12:08:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1002], ["updated_at", Fri, 23 Aug 2013 12:08:05 UTC +00:00]]  (0.8ms) 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" = 'Adh001' AND "adherent_members"."organism_id" = 1002) 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", Fri, 23 Aug 2013 12:08:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1002], ["updated_at", Fri, 23 Aug 2013 12:08:05 UTC +00:00]]  (3.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" = 'Adh002' AND "adherent_members"."organism_id" = 1002) 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", Fri, 23 Aug 2013 12:08:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1002], ["updated_at", Fri, 23 Aug 2013 12:08:05 UTC +00:00]]  (5.6ms) 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" = 1002) 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", Fri, 23 Aug 2013 12:08:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1002], ["updated_at", Fri, 23 Aug 2013 12:08:05 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" = 1002) 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", Fri, 23 Aug 2013 12:08:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1002], ["updated_at", Fri, 23 Aug 2013 12:08:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 14:08:05 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (5.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (3.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 1002 Adherent::Adhesion Load (4.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299701 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299701 LIMIT 1 Adherent::Adhesion Load (7.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299702 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299702 LIMIT 1 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299703 ORDER BY to_date Adherent::Coord Load (3.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299703 LIMIT 1 Adherent::Adhesion Load (2.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299704 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299704 LIMIT 1 Adherent::Adhesion Load (6.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299705 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299705 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 60ms (Views: 22.3ms | ActiveRecord: 34.2ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Organism Load (4.5ms) 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", Fri, 23 Aug 2013 12:08:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 12:08:05 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" = 1003) LIMIT 1 SQL (6.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", Fri, 23 Aug 2013 12:08:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1003], ["updated_at", Fri, 23 Aug 2013 12:08:05 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" = 1003) 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", Fri, 23 Aug 2013 12:08:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1003], ["updated_at", Fri, 23 Aug 2013 12:08:05 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" = 1003) 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", Fri, 23 Aug 2013 12:08:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1003], ["updated_at", Fri, 23 Aug 2013 12:08:05 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" = 1003) 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", Fri, 23 Aug 2013 12:08:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1003], ["updated_at", Fri, 23 Aug 2013 12:08:05 UTC +00:00]]  (0.4ms) 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" = 1003) 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", Fri, 23 Aug 2013 12:08:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1003], ["updated_at", Fri, 23 Aug 2013 12:08:05 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 14:08:05 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (3.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 1003 Adherent::Adhesion Load (3.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299706 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299706 LIMIT 1 Adherent::Adhesion Load (5.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299707 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299707 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299708 ORDER BY to_date Adherent::Coord Load (3.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299708 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299709 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299709 LIMIT 1 Adherent::Adhesion Load (3.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299710 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299710 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.1ms | ActiveRecord: 21.9ms) Adherent::Member Load (4.9ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299706/edit" for 127.0.0.1 at 2013-08-23 14:08:05 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299706"} Organism Load (7.0ms) 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", "819299706"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (81.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 126ms (Views: 116.9ms | ActiveRecord: 7.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Organism Load (3.0ms) 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", Fri, 23 Aug 2013 12:08:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 12:08:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1004) 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", Fri, 23 Aug 2013 12:08:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1004], ["updated_at", Fri, 23 Aug 2013 12:08:05 UTC +00:00]]  (4.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" = 1004) 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", Fri, 23 Aug 2013 12:08:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1004], ["updated_at", Fri, 23 Aug 2013 12:08:05 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" = 1004) LIMIT 1 SQL (4.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", Fri, 23 Aug 2013 12:08:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1004], ["updated_at", Fri, 23 Aug 2013 12:08:05 UTC +00:00]]  (0.2ms) 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" = 'Adh003' AND "adherent_members"."organism_id" = 1004) 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", Fri, 23 Aug 2013 12:08:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1004], ["updated_at", Fri, 23 Aug 2013 12:08:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.2ms) 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" = 1004) LIMIT 1 SQL (10.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", Fri, 23 Aug 2013 12:08:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1004], ["updated_at", Fri, 23 Aug 2013 12:08:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 14:08:05 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (3.9ms) 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" = 1004 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299711 ORDER BY to_date Adherent::Coord Load (5.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299711 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299712 ORDER BY to_date Adherent::Coord Load (6.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299712 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299713 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299713 LIMIT 1 Adherent::Adhesion Load (5.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299714 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299714 LIMIT 1 Adherent::Adhesion Load (5.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299715 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299715 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.2ms) Completed 200 OK in 66ms (Views: 29.7ms | ActiveRecord: 33.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", Fri, 23 Aug 2013 12:08:05 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299711], ["office", nil], ["tel", nil], ["updated_at", Fri, 23 Aug 2013 12:08:05 UTC +00:00], ["zip", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299711 LIMIT 1 Started GET "/adherent/members/819299711/coord" for 127.0.0.1 at 2013-08-23 14:08:05 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299711"} Organism Load (3.9ms) 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", "819299711"]] Adherent::Coord Load (1.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299711 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 54ms (Views: 44.0ms | ActiveRecord: 5.2ms)  (6.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", Fri, 23 Aug 2013 12:08:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 12:08:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1005) 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", Fri, 23 Aug 2013 12:08:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1005], ["updated_at", Fri, 23 Aug 2013 12:08:05 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 1005) 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", Fri, 23 Aug 2013 12:08:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1005], ["updated_at", Fri, 23 Aug 2013 12:08:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 1005) 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", Fri, 23 Aug 2013 12:08:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1005], ["updated_at", Fri, 23 Aug 2013 12:08:05 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" = 'Adh003' AND "adherent_members"."organism_id" = 1005) 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", Fri, 23 Aug 2013 12:08:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1005], ["updated_at", Fri, 23 Aug 2013 12:08:05 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" = 1005) 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", Fri, 23 Aug 2013 12:08:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1005], ["updated_at", Fri, 23 Aug 2013 12:08:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 14:08:05 +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 (3.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 1005 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299716 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299716 LIMIT 1 Adherent::Adhesion Load (5.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299717 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299717 LIMIT 1 Adherent::Adhesion Load (3.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299718 ORDER BY to_date Adherent::Coord Load (5.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299718 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299719 ORDER BY to_date Adherent::Coord Load (2.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299719 LIMIT 1 Adherent::Adhesion Load (7.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299720 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299720 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 163ms (Views: 127.8ms | ActiveRecord: 28.7ms) Adherent::Member Load (5.0ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299716 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299716 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (7.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", #], ["created_at", Fri, 23 Aug 2013 12:08:06 UTC +00:00], ["from_date", Fri, 23 Aug 2013], ["member_id", 819299716], ["to_date", Fri, 22 Aug 2014], ["updated_at", Fri, 23 Aug 2013 12:08:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/819299716/adhesions" for 127.0.0.1 at 2013-08-23 14:08:06 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299716"} Organism Load (2.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", "819299716"]]  (2.6ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299716 Adherent::Adhesion Load (6.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299716  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191078 CACHE (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191078 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 71ms (Views: 53.2ms | ActiveRecord: 14.1ms)  (0.7ms) 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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 12:08:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 12:08:06 UTC +00:00]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1006) 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", Fri, 23 Aug 2013 12:08:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1006], ["updated_at", Fri, 23 Aug 2013 12:08:06 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" = 1006) 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", Fri, 23 Aug 2013 12:08:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1006], ["updated_at", Fri, 23 Aug 2013 12:08:06 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" = 1006) 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", Fri, 23 Aug 2013 12:08:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1006], ["updated_at", Fri, 23 Aug 2013 12:08:06 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" = 1006) 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", Fri, 23 Aug 2013 12:08:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1006], ["updated_at", Fri, 23 Aug 2013 12:08:06 UTC +00:00]]  (2.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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" = 1006) LIMIT 1 SQL (6.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", Fri, 23 Aug 2013 12:08:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1006], ["updated_at", Fri, 23 Aug 2013 12:08:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 14:08:06 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.8ms) 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" = 1006 Adherent::Adhesion Load (4.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299721 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299721 LIMIT 1 Adherent::Adhesion Load (1.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299722 ORDER BY to_date Adherent::Coord Load (4.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299722 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299723 ORDER BY to_date Adherent::Coord Load (2.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299723 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299724 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299724 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299725 ORDER BY to_date Adherent::Coord Load (4.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299725 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 55ms (Views: 31.1ms | ActiveRecord: 21.8ms) Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299721/coord" for 127.0.0.1 at 2013-08-23 14:08:06 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299721"} 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", "819299721"]] Adherent::Coord Load (4.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299721 LIMIT 1 Redirected to http://www.example.com/adherent/members/819299721/coord/new Completed 302 Found in 8ms (ActiveRecord: 4.9ms) Started GET "/adherent/members/819299721/coord/new" for 127.0.0.1 at 2013-08-23 14:08:06 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299721"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299721"]] Adherent::Coord Load (5.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299721 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (30.7ms) Rendered layouts/adherent/_header.html.haml (0.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (4.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 77ms (Views: 64.4ms | ActiveRecord: 7.3ms)  (0.3ms) 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", Fri, 23 Aug 2013 12:08:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 12:08:06 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" = 1007) 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", Fri, 23 Aug 2013 12:08:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1007], ["updated_at", Fri, 23 Aug 2013 12:08:06 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" = 'Adh001' AND "adherent_members"."organism_id" = 1007) 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", Fri, 23 Aug 2013 12:08:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1007], ["updated_at", Fri, 23 Aug 2013 12:08:06 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" = 1007) LIMIT 1 SQL (7.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", Fri, 23 Aug 2013 12:08:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1007], ["updated_at", Fri, 23 Aug 2013 12:08:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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" = 1007) 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", Fri, 23 Aug 2013 12:08:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1007], ["updated_at", Fri, 23 Aug 2013 12:08:06 UTC +00:00]]  (1.1ms) 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" = 'Adh004' AND "adherent_members"."organism_id" = 1007) 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", Fri, 23 Aug 2013 12:08:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1007], ["updated_at", Fri, 23 Aug 2013 12:08:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 14:08:06 +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 (2.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 1007 Adherent::Adhesion Load (2.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299726 ORDER BY to_date Adherent::Coord Load (1.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299726 LIMIT 1 Adherent::Adhesion Load (4.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299727 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299727 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299728 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299728 LIMIT 1 Adherent::Adhesion Load (2.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299729 ORDER BY to_date Adherent::Coord Load (1.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299729 LIMIT 1 Adherent::Adhesion Load (2.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299730 ORDER BY to_date Adherent::Coord Load (2.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299730 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 142ms (Views: 38.4ms | ActiveRecord: 20.7ms) Adherent::Member Load (1.8ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299726/payments" for 127.0.0.1 at 2013-08-23 14:08:06 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"819299726"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299726"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299726 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 (3.2ms) Completed 200 OK in 61ms (Views: 55.3ms | ActiveRecord: 3.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (2.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 12:08:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 12:08:06 UTC +00:00]]  (1.5ms) 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" = 1008) LIMIT 1 SQL (1.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", Fri, 23 Aug 2013 12:08:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1008], ["updated_at", Fri, 23 Aug 2013 12:08:06 UTC +00:00]]  (3.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 1008) 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", Fri, 23 Aug 2013 12:08:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1008], ["updated_at", Fri, 23 Aug 2013 12:08:06 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.9ms) 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" = 1008) 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", Fri, 23 Aug 2013 12:08:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1008], ["updated_at", Fri, 23 Aug 2013 12:08:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 1008) 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", Fri, 23 Aug 2013 12:08:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1008], ["updated_at", Fri, 23 Aug 2013 12:08:06 UTC +00:00]]  (1.6ms) 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" = 'Adh004' AND "adherent_members"."organism_id" = 1008) 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", Fri, 23 Aug 2013 12:08:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1008], ["updated_at", Fri, 23 Aug 2013 12:08:06 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 14:08:06 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (3.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (4.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 1008 Adherent::Adhesion Load (2.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299731 ORDER BY to_date Adherent::Coord Load (3.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299731 LIMIT 1 Adherent::Adhesion Load (4.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299732 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299732 LIMIT 1 Adherent::Adhesion Load (3.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299733 ORDER BY to_date Adherent::Coord Load (4.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299733 LIMIT 1 Adherent::Adhesion Load (1.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299734 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299734 LIMIT 1 Adherent::Adhesion Load (4.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299735 ORDER BY to_date Adherent::Coord Load (3.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299735 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 77ms (Views: 36.7ms | ActiveRecord: 35.7ms) Adherent::Member Load (1.6ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299731/adhesions" for 127.0.0.1 at 2013-08-23 14:08:06 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299731"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299731"]]  (1.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299731 Redirected to http://www.example.com/adherent/members/819299731/adhesions/new Completed 302 Found in 10ms (ActiveRecord: 3.3ms) Started GET "/adherent/members/819299731/adhesions/new" for 127.0.0.1 at 2013-08-23 14:08:06 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"819299731"} 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", "819299731"]] Adherent::Adhesion Load (6.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299731 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299731 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (28.1ms) 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 74ms (Views: 60.8ms | ActiveRecord: 7.8ms)  (5.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (1.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (89.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 12:14:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 12:14:44 UTC +00:00]]  (0.4ms) 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" = 1009) 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", Fri, 23 Aug 2013 12:14:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1009], ["updated_at", Fri, 23 Aug 2013 12:14: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" = 1009) 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", Fri, 23 Aug 2013 12:14:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1009], ["updated_at", Fri, 23 Aug 2013 12:14: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" = 'Adh002' AND "adherent_members"."organism_id" = 1009) 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", Fri, 23 Aug 2013 12:14:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1009], ["updated_at", Fri, 23 Aug 2013 12:14:44 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" = 1009) 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", Fri, 23 Aug 2013 12:14:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1009], ["updated_at", Fri, 23 Aug 2013 12:14:44 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" = 'Adh004' AND "adherent_members"."organism_id" = 1009) 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", Fri, 23 Aug 2013 12:14:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1009], ["updated_at", Fri, 23 Aug 2013 12:14:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 14:14:45 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (16.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"."organism_id" = 1009 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299736 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299736 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299737 ORDER BY to_date Adherent::Coord Load (1.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299737 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299738 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299738 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299739 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299739 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299740 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299740 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (150.3ms) Rendered layouts/adherent/_header.html.haml (1.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 335ms (Views: 244.4ms | ActiveRecord: 24.5ms)  (0.4ms) 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 (1.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 12:14:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 12:14: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" = 1010) 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", Fri, 23 Aug 2013 12:14:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1010], ["updated_at", Fri, 23 Aug 2013 12:14:45 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" = 1010) 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", Fri, 23 Aug 2013 12:14:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1010], ["updated_at", Fri, 23 Aug 2013 12:14: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" = 'Adh002' AND "adherent_members"."organism_id" = 1010) 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", Fri, 23 Aug 2013 12:14:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1010], ["updated_at", Fri, 23 Aug 2013 12:14:45 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" = 1010) 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", Fri, 23 Aug 2013 12:14:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1010], ["updated_at", Fri, 23 Aug 2013 12:14: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" = 'Adh004' AND "adherent_members"."organism_id" = 1010) 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", Fri, 23 Aug 2013 12:14:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1010], ["updated_at", Fri, 23 Aug 2013 12:14:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 14:14:45 +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" = 1010 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299741 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299741 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299742 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299742 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299743 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299743 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299744 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299744 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299745 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299745 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 31ms (Views: 24.8ms | ActiveRecord: 3.6ms)  (0.4ms) ROLLBACK  (0.4ms) 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", Fri, 23 Aug 2013 12:14:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 12:14:45 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" = 1011) 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", Fri, 23 Aug 2013 12:14:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1011], ["updated_at", Fri, 23 Aug 2013 12:14:45 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" = 'Adh001' AND "adherent_members"."organism_id" = 1011) 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", Fri, 23 Aug 2013 12:14:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1011], ["updated_at", Fri, 23 Aug 2013 12:14:45 UTC +00:00]]  (0.3ms) 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" = 1011) 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", Fri, 23 Aug 2013 12:14:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1011], ["updated_at", Fri, 23 Aug 2013 12:14: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" = 'Adh003' AND "adherent_members"."organism_id" = 1011) 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", Fri, 23 Aug 2013 12:14:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1011], ["updated_at", Fri, 23 Aug 2013 12:14: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" = 'Adh004' AND "adherent_members"."organism_id" = 1011) 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", Fri, 23 Aug 2013 12:14:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1011], ["updated_at", Fri, 23 Aug 2013 12:14:45 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 14:14:45 +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" = 1011 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299746 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299746 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299747 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299747 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299748 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299748 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299749 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299749 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299750 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299750 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 32ms (Views: 25.5ms | ActiveRecord: 3.7ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299746/coord" for 127.0.0.1 at 2013-08-23 14:14:45 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299746"} 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", "819299746"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299746 LIMIT 1 Redirected to http://www.example.com/adherent/members/819299746/coord/new Completed 302 Found in 7ms (ActiveRecord: 1.2ms) Started GET "/adherent/members/819299746/coord/new" for 127.0.0.1 at 2013-08-23 14:14:45 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299746"} 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", "819299746"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299746 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (74.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 148ms (Views: 111.2ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.6ms) SAVEPOINT active_record_1 SQL (4.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 12:14:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 12:14:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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" = 1012) 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", Fri, 23 Aug 2013 12:14:46 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1012], ["updated_at", Fri, 23 Aug 2013 12:14:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (5.5ms) 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" = 1012) 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", Fri, 23 Aug 2013 12:14:46 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1012], ["updated_at", Fri, 23 Aug 2013 12:14:46 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" = 'Adh002' AND "adherent_members"."organism_id" = 1012) 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", Fri, 23 Aug 2013 12:14:46 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1012], ["updated_at", Fri, 23 Aug 2013 12:14:46 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 1012) 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", Fri, 23 Aug 2013 12:14:46 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1012], ["updated_at", Fri, 23 Aug 2013 12:14:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.9ms) 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" = 1012) 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", Fri, 23 Aug 2013 12:14:46 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1012], ["updated_at", Fri, 23 Aug 2013 12:14:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 14:14:46 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (4.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"."organism_id" = 1012 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299751 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299751 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299752 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299752 LIMIT 1 Adherent::Adhesion Load (3.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299753 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299753 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299754 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299754 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299755 ORDER BY to_date Adherent::Coord Load (2.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299755 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 121ms (Views: 104.4ms | ActiveRecord: 13.5ms) Adherent::Member Load (6.8ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", Fri, 23 Aug 2013 12:14:46 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299751], ["office", nil], ["tel", nil], ["updated_at", Fri, 23 Aug 2013 12:14:46 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" = 819299751 LIMIT 1 Started GET "/adherent/members/819299751/coord" for 127.0.0.1 at 2013-08-23 14:14:46 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299751"} Organism Load (7.5ms) 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"."id" = $1 LIMIT 1 [["id", "819299751"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299751 LIMIT 1 Rendered layouts/adherent/_header.html.haml (3.7ms) 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 28ms (Views: 17.5ms | ActiveRecord: 8.4ms)  (7.0ms) 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 (1.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 12:14:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 12:14:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (8.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1013) 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", Fri, 23 Aug 2013 12:14:46 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1013], ["updated_at", Fri, 23 Aug 2013 12:14:46 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" = 1013) LIMIT 1 SQL (16.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", Fri, 23 Aug 2013 12:14:46 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1013], ["updated_at", Fri, 23 Aug 2013 12:14:46 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" = 'Adh002' AND "adherent_members"."organism_id" = 1013) 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", Fri, 23 Aug 2013 12:14:46 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1013], ["updated_at", Fri, 23 Aug 2013 12:14:46 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" = 1013) 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", Fri, 23 Aug 2013 12:14:46 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1013], ["updated_at", Fri, 23 Aug 2013 12:14:46 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" = 1013) 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", Fri, 23 Aug 2013 12:14:46 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1013], ["updated_at", Fri, 23 Aug 2013 12:14:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 14:14:46 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (5.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"."organism_id" = 1013 Adherent::Adhesion Load (4.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299756 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299756 LIMIT 1 Adherent::Adhesion Load (6.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299757 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299757 LIMIT 1 Adherent::Adhesion Load (3.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299758 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299758 LIMIT 1 Adherent::Adhesion Load (3.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299759 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299759 LIMIT 1 Adherent::Adhesion Load (4.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299760 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299760 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 56ms (Views: 23.3ms | ActiveRecord: 29.9ms) Adherent::Member Load (5.7ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299756/adhesions" for 127.0.0.1 at 2013-08-23 14:14:46 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299756"} Organism Load (4.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", "819299756"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299756 Redirected to http://www.example.com/adherent/members/819299756/adhesions/new Completed 302 Found in 9ms (ActiveRecord: 5.1ms) Started GET "/adherent/members/819299756/adhesions/new" for 127.0.0.1 at 2013-08-23 14:14:46 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"819299756"} Organism Load (5.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", "819299756"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299756 Adherent::Adhesion Load (1.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299756 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (24.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 (4.2ms) Completed 200 OK in 115ms (Views: 58.7ms | ActiveRecord: 8.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.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", Fri, 23 Aug 2013 12:14:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 12:14:46 UTC +00:00]]  (4.9ms) 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" = 1014) 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", Fri, 23 Aug 2013 12:14:46 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1014], ["updated_at", Fri, 23 Aug 2013 12:14:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 1014) 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", Fri, 23 Aug 2013 12:14:46 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1014], ["updated_at", Fri, 23 Aug 2013 12:14:46 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" = 1014) 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", Fri, 23 Aug 2013 12:14:46 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1014], ["updated_at", Fri, 23 Aug 2013 12:14:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 1014) LIMIT 1 SQL (5.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", Fri, 23 Aug 2013 12:14:46 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1014], ["updated_at", Fri, 23 Aug 2013 12:14:46 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" = 'Adh004' AND "adherent_members"."organism_id" = 1014) 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", Fri, 23 Aug 2013 12:14:46 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1014], ["updated_at", Fri, 23 Aug 2013 12:14:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 14:14:46 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (4.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"."organism_id" = 1014 Adherent::Adhesion Load (3.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299761 ORDER BY to_date Adherent::Coord Load (6.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299761 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299762 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299762 LIMIT 1 Adherent::Adhesion Load (2.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299763 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299763 LIMIT 1 Adherent::Adhesion Load (6.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299764 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299764 LIMIT 1 Adherent::Adhesion Load (3.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299765 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299765 LIMIT 1 Rendered layouts/adherent/_header.html.haml (5.0ms) 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 63ms (Views: 31.2ms | ActiveRecord: 29.4ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (4.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299761 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299761 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (10.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", #], ["created_at", Fri, 23 Aug 2013 12:14:46 UTC +00:00], ["from_date", Fri, 23 Aug 2013], ["member_id", 819299761], ["to_date", Fri, 22 Aug 2014], ["updated_at", Fri, 23 Aug 2013 12:14:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/819299761/adhesions" for 127.0.0.1 at 2013-08-23 14:14:46 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299761"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299761"]]  (3.8ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299761 Adherent::Adhesion Load (4.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299761  (3.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191079 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191079 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 45ms (Views: 27.2ms | ActiveRecord: 14.8ms)  (8.1ms) 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", Fri, 23 Aug 2013 12:14:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 12:14:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.4ms) 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" = 1015) 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", Fri, 23 Aug 2013 12:14:46 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1015], ["updated_at", Fri, 23 Aug 2013 12:14:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (7.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 1015) 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", Fri, 23 Aug 2013 12:14:46 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1015], ["updated_at", Fri, 23 Aug 2013 12:14:46 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" = 1015) 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", Fri, 23 Aug 2013 12:14:46 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1015], ["updated_at", Fri, 23 Aug 2013 12:14:46 UTC +00:00]]  (0.6ms) 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" = 'Adh003' AND "adherent_members"."organism_id" = 1015) 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", Fri, 23 Aug 2013 12:14:46 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1015], ["updated_at", Fri, 23 Aug 2013 12:14:46 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 1015) 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", Fri, 23 Aug 2013 12:14:46 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1015], ["updated_at", Fri, 23 Aug 2013 12:14:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 14:14:46 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (5.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" = 1015 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299766 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299766 LIMIT 1 Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299767 ORDER BY to_date Adherent::Coord Load (7.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299767 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299768 ORDER BY to_date Adherent::Coord Load (2.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299768 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299769 ORDER BY to_date Adherent::Coord Load (2.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299769 LIMIT 1 Adherent::Adhesion Load (3.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299770 ORDER BY to_date Adherent::Coord Load (0.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299770 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 (8.2ms) Completed 200 OK in 138ms (Views: 111.1ms | ActiveRecord: 23.7ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299766/payments" for 127.0.0.1 at 2013-08-23 14:14:47 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"819299766"} Organism Load (7.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", "819299766"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299766 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 66ms (Views: 54.3ms | ActiveRecord: 9.3ms)  (4.8ms) 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.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 12:14:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 12:14:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1016) 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", Fri, 23 Aug 2013 12:14:47 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1016], ["updated_at", Fri, 23 Aug 2013 12:14:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (5.9ms) 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" = 1016) 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", Fri, 23 Aug 2013 12:14:47 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1016], ["updated_at", Fri, 23 Aug 2013 12:14:47 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" = 'Adh002' AND "adherent_members"."organism_id" = 1016) 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", Fri, 23 Aug 2013 12:14:47 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1016], ["updated_at", Fri, 23 Aug 2013 12:14:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 1016) 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", Fri, 23 Aug 2013 12:14:47 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1016], ["updated_at", Fri, 23 Aug 2013 12:14:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 1016) 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", Fri, 23 Aug 2013 12:14:47 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1016], ["updated_at", Fri, 23 Aug 2013 12:14:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 14:14:47 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (5.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (3.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 1016 Adherent::Adhesion Load (4.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299771 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299771 LIMIT 1 Adherent::Adhesion Load (3.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299772 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299772 LIMIT 1 Adherent::Adhesion Load (5.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299773 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299773 LIMIT 1 Adherent::Adhesion Load (6.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299774 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299774 LIMIT 1 Adherent::Adhesion Load (2.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299775 ORDER BY to_date Adherent::Coord Load (2.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299775 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 69ms (Views: 31.7ms | ActiveRecord: 34.7ms) Adherent::Member Load (5.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299771/edit" for 127.0.0.1 at 2013-08-23 14:14:47 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299771"} Organism Load (1.9ms) 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", "819299771"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (14.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 96ms (Views: 86.8ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Organism Load (2.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", Fri, 23 Aug 2013 12:14:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 12:14:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.8ms) 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" = 1017) 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", Fri, 23 Aug 2013 12:14:47 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1017], ["updated_at", Fri, 23 Aug 2013 12:14:47 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" = 'Adh001' AND "adherent_members"."organism_id" = 1017) LIMIT 1 SQL (4.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", Fri, 23 Aug 2013 12:14:47 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1017], ["updated_at", Fri, 23 Aug 2013 12:14:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 1017) 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", Fri, 23 Aug 2013 12:14:47 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1017], ["updated_at", Fri, 23 Aug 2013 12:14:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.7ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 1017) 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", Fri, 23 Aug 2013 12:14:47 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1017], ["updated_at", Fri, 23 Aug 2013 12:14:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (5.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 1017) 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", Fri, 23 Aug 2013 12:14:47 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1017], ["updated_at", Fri, 23 Aug 2013 12:14:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1136.4ms) ROLLBACK Connecting to database specified by database.yml  (119.7ms) BEGIN Organism Load (137.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (253.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 15:26:28 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 15:26:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.6ms) SAVEPOINT active_record_1 Adherent::Member Exists (26.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1018) LIMIT 1 SQL (69.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", Fri, 23 Aug 2013 15:26:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1018], ["updated_at", Fri, 23 Aug 2013 15:26:29 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" = 'Adh001' AND "adherent_members"."organism_id" = 1018) 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", Fri, 23 Aug 2013 15:26:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1018], ["updated_at", Fri, 23 Aug 2013 15:26:29 UTC +00:00]]  (0.0ms) 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" = 'Adh002' AND "adherent_members"."organism_id" = 1018) 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", Fri, 23 Aug 2013 15:26:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1018], ["updated_at", Fri, 23 Aug 2013 15:26:29 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 1018) 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", Fri, 23 Aug 2013 15:26:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1018], ["updated_at", Fri, 23 Aug 2013 15:26:29 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" = 'Adh004' AND "adherent_members"."organism_id" = 1018) 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", Fri, 23 Aug 2013 15:26:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1018], ["updated_at", Fri, 23 Aug 2013 15:26:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 17:26:29 +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.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 1018 Adherent::Adhesion Load (55.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299781 ORDER BY to_date Adherent::Coord Load (10.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299781 LIMIT 1 Adherent::Adhesion Load (3.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299782 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299782 LIMIT 1 Adherent::Adhesion Load (3.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299783 ORDER BY to_date Adherent::Coord Load (2.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299783 LIMIT 1 Adherent::Adhesion Load (5.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299784 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299784 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299785 ORDER BY to_date Adherent::Coord Load (2.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299785 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (274.3ms) Rendered layouts/adherent/_header.html.haml (1.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.4ms) Completed 200 OK in 530ms (Views: 262.8ms | ActiveRecord: 151.5ms)  (16.0ms) 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.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 15:26:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 15:26:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1019) 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", Fri, 23 Aug 2013 15:26:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1019], ["updated_at", Fri, 23 Aug 2013 15:26:30 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 1019) 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", Fri, 23 Aug 2013 15:26:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1019], ["updated_at", Fri, 23 Aug 2013 15:26:31 UTC +00:00]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 1019) 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", Fri, 23 Aug 2013 15:26:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1019], ["updated_at", Fri, 23 Aug 2013 15:26:31 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.4ms) 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" = 1019) LIMIT 1 SQL (3.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", Fri, 23 Aug 2013 15:26:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1019], ["updated_at", Fri, 23 Aug 2013 15:26:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 1019) 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", Fri, 23 Aug 2013 15:26:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1019], ["updated_at", Fri, 23 Aug 2013 15:26:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 17:26:31 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (6.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 1019 Adherent::Adhesion Load (4.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299786 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299786 LIMIT 1 Adherent::Adhesion Load (3.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299787 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299787 LIMIT 1 Adherent::Adhesion Load (3.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299788 ORDER BY to_date Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299788 LIMIT 1 Adherent::Adhesion Load (7.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299789 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299789 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299790 ORDER BY to_date Adherent::Coord Load (0.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299790 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 56ms (Views: 24.6ms | ActiveRecord: 29.6ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Organism Load (2.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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", Fri, 23 Aug 2013 15:26:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 15:26:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 1020) 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", Fri, 23 Aug 2013 15:26:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1020], ["updated_at", Fri, 23 Aug 2013 15:26:31 UTC +00:00]]  (2.5ms) RELEASE SAVEPOINT active_record_1  (0.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" = 1020) 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", Fri, 23 Aug 2013 15:26:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1020], ["updated_at", Fri, 23 Aug 2013 15:26:31 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 1020) 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", Fri, 23 Aug 2013 15:26:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1020], ["updated_at", Fri, 23 Aug 2013 15:26:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 1020) 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", Fri, 23 Aug 2013 15:26:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1020], ["updated_at", Fri, 23 Aug 2013 15:26:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 1020) 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", Fri, 23 Aug 2013 15:26:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1020], ["updated_at", Fri, 23 Aug 2013 15:26:31 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 17:26:31 +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 (1.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 1020 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299791 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299791 LIMIT 1 Adherent::Adhesion Load (1.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299792 ORDER BY to_date Adherent::Coord Load (2.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299792 LIMIT 1 Adherent::Adhesion Load (5.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299793 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299793 LIMIT 1 Adherent::Adhesion Load (3.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299794 ORDER BY to_date Adherent::Coord Load (1.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299794 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299795 ORDER BY to_date Adherent::Coord Load (1.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299795 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 59ms (Views: 36.9ms | ActiveRecord: 17.7ms) Adherent::Member Load (5.6ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299791 Adherent::Adhesion Load (2.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299791 ORDER BY to_date DESC LIMIT 1  (4.8ms) SAVEPOINT active_record_1 SQL (159.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", #], ["created_at", Fri, 23 Aug 2013 15:26:31 UTC +00:00], ["from_date", Fri, 23 Aug 2013], ["member_id", 819299791], ["to_date", Fri, 22 Aug 2014], ["updated_at", Fri, 23 Aug 2013 15:26:31 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/819299791/adhesions" for 127.0.0.1 at 2013-08-23 17:26:31 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299791"} Organism Load (4.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", "819299791"]]  (18.9ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299791 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299791  (66.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191080 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191080 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 149ms (Views: 50.4ms | ActiveRecord: 95.3ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Fri, 23 Aug 2013 15:26:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 15:26:31 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" = 1021) 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", Fri, 23 Aug 2013 15:26:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1021], ["updated_at", Fri, 23 Aug 2013 15:26:31 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" = 'Adh001' AND "adherent_members"."organism_id" = 1021) LIMIT 1 SQL (1.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", Fri, 23 Aug 2013 15:26:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1021], ["updated_at", Fri, 23 Aug 2013 15:26:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 1021) 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", Fri, 23 Aug 2013 15:26:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1021], ["updated_at", Fri, 23 Aug 2013 15:26:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 1021) LIMIT 1 SQL (2.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", Fri, 23 Aug 2013 15:26:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1021], ["updated_at", Fri, 23 Aug 2013 15:26:31 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" = 'Adh004' AND "adherent_members"."organism_id" = 1021) 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", Fri, 23 Aug 2013 15:26:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1021], ["updated_at", Fri, 23 Aug 2013 15:26:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 17:26:31 +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.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 1021 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299796 ORDER BY to_date Adherent::Coord Load (2.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299796 LIMIT 1 Adherent::Adhesion Load (2.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299797 ORDER BY to_date Adherent::Coord Load (2.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299797 LIMIT 1 Adherent::Adhesion Load (5.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299798 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299798 LIMIT 1 Adherent::Adhesion Load (4.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299799 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299799 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299800 ORDER BY to_date Adherent::Coord Load (1.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299800 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 51ms (Views: 22.2ms | ActiveRecord: 26.1ms) Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299796/adhesions" for 127.0.0.1 at 2013-08-23 17:26:31 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299796"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (3.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299796"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299796 Redirected to http://www.example.com/adherent/members/819299796/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 4.0ms) Started GET "/adherent/members/819299796/adhesions/new" for 127.0.0.1 at 2013-08-23 17:26:31 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"819299796"} 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", "819299796"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299796 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299796 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (100.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 135ms (Views: 130.4ms | ActiveRecord: 1.0ms)  (4.4ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.1ms) 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", Fri, 23 Aug 2013 15:26:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 15:26:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (7.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" = 1022) 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", Fri, 23 Aug 2013 15:26:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1022], ["updated_at", Fri, 23 Aug 2013 15:26:32 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" = 'Adh001' AND "adherent_members"."organism_id" = 1022) 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", Fri, 23 Aug 2013 15:26:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1022], ["updated_at", Fri, 23 Aug 2013 15:26:32 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" = 'Adh002' AND "adherent_members"."organism_id" = 1022) 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", Fri, 23 Aug 2013 15:26:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1022], ["updated_at", Fri, 23 Aug 2013 15:26: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" = 'Adh003' AND "adherent_members"."organism_id" = 1022) 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", Fri, 23 Aug 2013 15:26:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1022], ["updated_at", Fri, 23 Aug 2013 15:26:32 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" = 1022) 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", Fri, 23 Aug 2013 15:26:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1022], ["updated_at", Fri, 23 Aug 2013 15:26:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 17:26:32 +0200 Processing by Adherent::MembersController#index as HTML 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"."organism_id" = 1022 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299801 ORDER BY to_date Adherent::Coord Load (4.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299801 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299802 ORDER BY to_date Adherent::Coord Load (1.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299802 LIMIT 1 Adherent::Adhesion Load (4.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299803 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299803 LIMIT 1 Adherent::Adhesion Load (6.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299804 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299804 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299805 ORDER BY to_date Adherent::Coord Load (1.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299805 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 46ms (Views: 21.8ms | ActiveRecord: 21.5ms) Adherent::Member Load (4.7ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299801/payments" for 127.0.0.1 at 2013-08-23 17:26:32 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"819299801"} Organism Load (5.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", "819299801"]] Adherent::Payment Load (33.0ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299801 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: 54.7ms | ActiveRecord: 39.8ms)  (4.5ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) 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", Fri, 23 Aug 2013 15:26:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 15:26:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1023) 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", Fri, 23 Aug 2013 15:26:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1023], ["updated_at", Fri, 23 Aug 2013 15:26:32 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" = 1023) 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", Fri, 23 Aug 2013 15:26:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1023], ["updated_at", Fri, 23 Aug 2013 15:26:32 UTC +00:00]]  (0.2ms) 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" = 'Adh002' AND "adherent_members"."organism_id" = 1023) 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", Fri, 23 Aug 2013 15:26:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1023], ["updated_at", Fri, 23 Aug 2013 15:26:32 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" = 1023) 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", Fri, 23 Aug 2013 15:26:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1023], ["updated_at", Fri, 23 Aug 2013 15:26:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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" = 1023) 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", Fri, 23 Aug 2013 15:26:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1023], ["updated_at", Fri, 23 Aug 2013 15:26:32 UTC +00:00]]  (2.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 17:26:32 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (4.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"."organism_id" = 1023 Adherent::Adhesion Load (3.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299806 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299806 LIMIT 1 Adherent::Adhesion Load (4.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299807 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299807 LIMIT 1 Adherent::Adhesion Load (2.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299808 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299808 LIMIT 1 Adherent::Adhesion Load (5.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299809 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299809 LIMIT 1 Adherent::Adhesion Load (2.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299810 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299810 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: 25.8ms | ActiveRecord: 24.4ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299806/coord" for 127.0.0.1 at 2013-08-23 17:26:32 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299806"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299806"]] Adherent::Coord Load (2.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299806 LIMIT 1 Redirected to http://www.example.com/adherent/members/819299806/coord/new Completed 302 Found in 10ms (ActiveRecord: 5.3ms) Started GET "/adherent/members/819299806/coord/new" for 127.0.0.1 at 2013-08-23 17:26:32 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299806"} Organism Load (2.0ms) 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", "819299806"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299806 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (35.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 106ms (Views: 75.9ms | ActiveRecord: 2.6ms)  (2.4ms) ROLLBACK  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 15:26:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 15:26:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 1024) 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", Fri, 23 Aug 2013 15:26:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1024], ["updated_at", Fri, 23 Aug 2013 15:26:32 UTC +00:00]]  (1.5ms) RELEASE SAVEPOINT active_record_1  (0.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" = 1024) LIMIT 1 SQL (9.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", Fri, 23 Aug 2013 15:26:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1024], ["updated_at", Fri, 23 Aug 2013 15:26:32 UTC +00:00]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 1024) 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", Fri, 23 Aug 2013 15:26:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1024], ["updated_at", Fri, 23 Aug 2013 15:26:32 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 1024) LIMIT 1 SQL (7.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", Fri, 23 Aug 2013 15:26:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1024], ["updated_at", Fri, 23 Aug 2013 15:26:32 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (2.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 1024) 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", Fri, 23 Aug 2013 15:26:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1024], ["updated_at", Fri, 23 Aug 2013 15:26:32 UTC +00:00]]  (6.7ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 17:26:32 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (3.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 1024 Adherent::Adhesion Load (3.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299811 ORDER BY to_date Adherent::Coord Load (1.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299811 LIMIT 1 Adherent::Adhesion Load (4.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299812 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299812 LIMIT 1 Adherent::Adhesion Load (4.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299813 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299813 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299814 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299814 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299815 ORDER BY to_date Adherent::Coord Load (1.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299815 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.0ms) Completed 200 OK in 187ms (Views: 156.7ms | ActiveRecord: 23.4ms) Adherent::Member Load (7.5ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299811/edit" for 127.0.0.1 at 2013-08-23 17:26:32 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299811"} Organism Load (6.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", "819299811"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (35.5ms) 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 67ms (Views: 57.8ms | ActiveRecord: 6.4ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Organism Load (5.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (5.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 15:26:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 15:26:32 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1025) LIMIT 1 SQL (2.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", Fri, 23 Aug 2013 15:26:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1025], ["updated_at", Fri, 23 Aug 2013 15:26: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" = 1025) 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", Fri, 23 Aug 2013 15:26:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1025], ["updated_at", Fri, 23 Aug 2013 15:26:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.8ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 1025) LIMIT 1 SQL (4.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", Fri, 23 Aug 2013 15:26:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1025], ["updated_at", Fri, 23 Aug 2013 15:26:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 1025) 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", Fri, 23 Aug 2013 15:26:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1025], ["updated_at", Fri, 23 Aug 2013 15:26:32 UTC +00:00]]  (1.9ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 1025) LIMIT 1 SQL (4.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", Fri, 23 Aug 2013 15:26:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1025], ["updated_at", Fri, 23 Aug 2013 15:26:33 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 17:26:33 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (11.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 1025 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299816 ORDER BY to_date Adherent::Coord Load (7.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299816 LIMIT 1 Adherent::Adhesion Load (8.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299817 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299817 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299818 ORDER BY to_date Adherent::Coord Load (6.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299818 LIMIT 1 Adherent::Adhesion Load (11.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299819 ORDER BY to_date Adherent::Coord Load (1.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299819 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299820 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299820 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 118ms (Views: 64.4ms | ActiveRecord: 51.4ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (3.8ms) SAVEPOINT active_record_1 SQL (41.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", "Marseille"], ["created_at", Fri, 23 Aug 2013 15:26:33 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299816], ["office", nil], ["tel", nil], ["updated_at", Fri, 23 Aug 2013 15:26:33 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" = 819299816 LIMIT 1 Started GET "/adherent/members/819299816/coord" for 127.0.0.1 at 2013-08-23 17:26:33 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299816"} Organism Load (6.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (4.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299816"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299816 LIMIT 1 Rendered layouts/adherent/_header.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 46ms (Views: 30.5ms | ActiveRecord: 11.2ms)  (1.3ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (3.4ms) 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", Fri, 23 Aug 2013 15:26:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 15:26:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1026) 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", Fri, 23 Aug 2013 15:26:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1026], ["updated_at", Fri, 23 Aug 2013 15:26:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 1026) 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", Fri, 23 Aug 2013 15:26:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1026], ["updated_at", Fri, 23 Aug 2013 15:26:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 1026) 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", Fri, 23 Aug 2013 15:26:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1026], ["updated_at", Fri, 23 Aug 2013 15:26:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (8.8ms) 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" = 1026) LIMIT 1 SQL (14.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", Fri, 23 Aug 2013 15:26:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1026], ["updated_at", Fri, 23 Aug 2013 15:26:33 UTC +00:00]]  (4.9ms) RELEASE SAVEPOINT active_record_1  (6.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" = 1026) 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", Fri, 23 Aug 2013 15:26:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1026], ["updated_at", Fri, 23 Aug 2013 15:26:33 UTC +00:00]]  (2.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 17:27:01 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (4.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.5ms) BEGIN SQL (14.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 15:27:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 15:27:01 UTC +00:00]]  (99.8ms) COMMIT Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 1027 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 146ms (Views: 7.6ms | ActiveRecord: 140.2ms) Started GET "/assets/adherent/application.css" for 127.0.0.1 at 2013-08-23 17:27:01 +0200 Compiled jquery.ui.core.css (2ms) (pid 3416) Compiled jquery.ui.theme.css (20ms) (pid 3416) Compiled jquery.ui.datepicker.css (106ms) (pid 3416) Compiled adherent/adhesion.css (0ms) (pid 3416) Compiled adherent/bootstrap.css (13ms) (pid 3416) Compiled adherent/coords.css (0ms) (pid 3416) Compiled adherent/date_picker.css (0ms) (pid 3416) Compiled adherent/jc_application.css (2338ms) (pid 3416) Compiled adherent/jcmenu.css (0ms) (pid 3416) Compiled adherent/layouts.css (26ms) (pid 3416) Compiled adherent/members.css (1ms) (pid 3416) Compiled adherent/old_bootstrap.css (0ms) (pid 3416) Compiled adherent/payments.css (1ms) (pid 3416) Compiled adherent/reglements.css (0ms) (pid 3416) Compiled adherent/application.css (3915ms) (pid 3416) Served asset /adherent/application.css - 200 OK (4183ms) Started GET "/assets/adherent/application.js" for 127.0.0.1 at 2013-08-23 17:27:06 +0200 Compiled jquery.js (5ms) (pid 3416) Compiled jquery_ujs.js (1ms) (pid 3416) Compiled jquery.ui.core.js (0ms) (pid 3416) Compiled jquery.ui.datepicker.js (54ms) (pid 3416) Compiled adherent/adhesion.js (0ms) (pid 3416) Compiled adherent/bootstrap.js (1ms) (pid 3416) Compiled adherent/coords.js (0ms) (pid 3416) Compiled adherent/date_picker.js (0ms) (pid 3416) Compiled adherent/members.js (0ms) (pid 3416) Compiled adherent/payments.js (0ms) (pid 3416) Compiled adherent/reglements.js (0ms) (pid 3416) Compiled adherent/application.js (853ms) (pid 3416) Served asset /adherent/application.js - 200 OK (1434ms) Started GET "/assets/adherent/icones/navigation90.png" for 127.0.0.1 at 2013-08-23 17:27:07 +0200 Served asset /adherent/icones/navigation90.png - 200 OK (666ms) Started GET "/assets/adherent/icones/nouveau.png" for 127.0.0.1 at 2013-08-23 17:27:08 +0200 Served asset /adherent/icones/nouveau.png - 200 OK (208ms) Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (3.8ms) 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.3ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1027) LIMIT 1 SQL (11.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", Fri, 23 Aug 2013 15:31:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:31:49 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" = 1027) 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", Fri, 23 Aug 2013 15:31:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:31:49 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" = 'Adh002' AND "adherent_members"."organism_id" = 1027) 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", Fri, 23 Aug 2013 15:31:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:31:49 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" = 1027) 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", Fri, 23 Aug 2013 15:31:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:31:49 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" = 'Adh004' AND "adherent_members"."organism_id" = 1027) 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", Fri, 23 Aug 2013 15:31:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:31:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 17:32:01 +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 (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 1027 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (66.4ms) Rendered layouts/adherent/_header.html.haml (1.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 289ms (Views: 221.0ms | ActiveRecord: 7.4ms) Started GET "/assets/adherent/application.css" for 127.0.0.1 at 2013-08-23 17:32:02 +0200 Served asset /adherent/application.css - 200 OK (134ms) Started GET "/assets/adherent/application.js" for 127.0.0.1 at 2013-08-23 17:32:02 +0200 Served asset /adherent/application.js - 200 OK (150ms) Started GET "/assets/adherent/icones/navigation90.png" for 127.0.0.1 at 2013-08-23 17:32:02 +0200 Served asset /adherent/icones/navigation90.png - 200 OK (8ms) Started GET "/assets/adherent/icones/nouveau.png" for 127.0.0.1 at 2013-08-23 17:32:02 +0200 Served asset /adherent/icones/nouveau.png - 200 OK (1ms) Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (1.3ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1027) LIMIT 1 SQL (12.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", Fri, 23 Aug 2013 15:42:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 1027) LIMIT 1 SQL (1.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", Fri, 23 Aug 2013 15:42:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:55 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 1027) LIMIT 1 SQL (1.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", Fri, 23 Aug 2013 15:42:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 1027) 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", Fri, 23 Aug 2013 15:42:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:55 UTC +00:00]]  (0.3ms) 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" = 'Adh004' AND "adherent_members"."organism_id" = 1027) 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", Fri, 23 Aug 2013 15:42:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 17:42:55 +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.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 1027 Adherent::Adhesion Load (14.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299831 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299831 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299832 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299832 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299833 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299833 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299834 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299834 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299835 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299835 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (79.3ms) Rendered layouts/adherent/_header.html.haml (1.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.7ms) Completed 200 OK in 112ms (Views: 76.6ms | ActiveRecord: 21.2ms)  (0.6ms) 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 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1027) 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", Fri, 23 Aug 2013 15:42:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:55 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" = 1027) 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", Fri, 23 Aug 2013 15:42:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 1027) 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", Fri, 23 Aug 2013 15:42:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:55 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" = 1027) LIMIT 1 SQL (0.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", Fri, 23 Aug 2013 15:42:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:55 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" = 'Adh004' AND "adherent_members"."organism_id" = 1027) 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", Fri, 23 Aug 2013 15:42:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 17:42:55 +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" = 1027 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299836 ORDER BY to_date Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299836 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299837 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299837 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299838 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299838 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299839 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299839 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299840 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299840 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 32ms (Views: 25.5ms | ActiveRecord: 3.8ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Organism Load (1.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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" = 1027) 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", Fri, 23 Aug 2013 15:42:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 1027) 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", Fri, 23 Aug 2013 15:42:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:55 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" = 'Adh002' AND "adherent_members"."organism_id" = 1027) 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", Fri, 23 Aug 2013 15:42:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:55 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" = 1027) 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", Fri, 23 Aug 2013 15:42:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:55 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" = 'Adh004' AND "adherent_members"."organism_id" = 1027) 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", Fri, 23 Aug 2013 15:42:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 17:42:55 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.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"."organism_id" = 1027 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299841 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299841 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299842 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299842 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299843 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299843 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299844 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299844 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299845 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299845 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 30ms (Views: 24.0ms | ActiveRecord: 3.3ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299841/adhesions" for 127.0.0.1 at 2013-08-23 17:42:55 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299841"} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "819299841"]]  (0.9ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299841 Redirected to http://www.example.com/adherent/members/819299841/adhesions/new Completed 302 Found in 15ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/819299841/adhesions/new" for 127.0.0.1 at 2013-08-23 17:42:55 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"819299841"} 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", "819299841"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299841 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299841 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (129.6ms) 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 328ms (Views: 315.4ms | ActiveRecord: 1.1ms)  (0.2ms) 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 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1027) 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", Fri, 23 Aug 2013 15:42:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:56 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" = 1027) 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", Fri, 23 Aug 2013 15:42:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:56 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" = 1027) 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", Fri, 23 Aug 2013 15:42:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:56 UTC +00:00]]  (0.0ms) 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" = 1027) 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", Fri, 23 Aug 2013 15:42:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:56 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" = 'Adh004' AND "adherent_members"."organism_id" = 1027) 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", Fri, 23 Aug 2013 15:42:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 17:42:56 +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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 1027 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299846 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299846 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299847 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299847 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299848 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299848 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299849 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299849 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299850 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299850 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 33ms (Views: 26.3ms | ActiveRecord: 3.6ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.2ms) 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", Fri, 23 Aug 2013 15:42:56 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 819299846], ["office", nil], ["tel", nil], ["updated_at", Fri, 23 Aug 2013 15:42:56 UTC +00:00], ["zip", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299846 LIMIT 1 Started GET "/adherent/members/819299846/coord" for 127.0.0.1 at 2013-08-23 17:42:56 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299846"} Organism Load (1.0ms) 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", "819299846"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299846 LIMIT 1 Rendered layouts/adherent/_header.html.haml (44.8ms) 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 78ms (Views: 73.1ms | ActiveRecord: 1.4ms)  (0.4ms) 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 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1027) 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", Fri, 23 Aug 2013 15:42:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:56 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" = 1027) 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", Fri, 23 Aug 2013 15:42:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:56 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" = 1027) 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", Fri, 23 Aug 2013 15:42:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:56 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" = 1027) 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", Fri, 23 Aug 2013 15:42:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:56 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" = 1027) 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", Fri, 23 Aug 2013 15:42:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 17:42:56 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.0ms) 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" = 1027 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299851 ORDER BY to_date Adherent::Coord Load (0.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299851 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299852 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299852 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299853 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299853 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299854 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299854 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299855 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299855 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 33ms (Views: 27.0ms | ActiveRecord: 3.6ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299851/edit" for 127.0.0.1 at 2013-08-23 17:42:56 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"819299851"} 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", "819299851"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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 37ms (Views: 33.1ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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" = 1027) 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", Fri, 23 Aug 2013 15:42:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:56 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" = 1027) 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", Fri, 23 Aug 2013 15:42:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:56 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" = 1027) 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", Fri, 23 Aug 2013 15:42:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:56 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" = 'Adh003' AND "adherent_members"."organism_id" = 1027) 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", Fri, 23 Aug 2013 15:42:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:56 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" = 1027) 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", Fri, 23 Aug 2013 15:42:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 17:42:56 +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" = 1027 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299856 ORDER BY to_date Adherent::Coord Load (0.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299856 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299857 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299857 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299858 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299858 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299859 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299859 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299860 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299860 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 31ms (Views: 24.3ms | ActiveRecord: 4.6ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299856 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299856 ORDER BY to_date DESC LIMIT 1  (0.3ms) 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", #], ["created_at", Fri, 23 Aug 2013 15:42:56 UTC +00:00], ["from_date", Fri, 23 Aug 2013], ["member_id", 819299856], ["to_date", Fri, 22 Aug 2014], ["updated_at", Fri, 23 Aug 2013 15:42:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/819299856/adhesions" for 127.0.0.1 at 2013-08-23 17:42:56 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"819299856"} 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", "819299856"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299856 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299856  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191081 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 980191081 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 50ms (Views: 43.0ms | ActiveRecord: 3.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN 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.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1027) 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", Fri, 23 Aug 2013 15:42:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:56 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" = 1027) 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", Fri, 23 Aug 2013 15:42:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:56 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" = 'Adh002' AND "adherent_members"."organism_id" = 1027) 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", Fri, 23 Aug 2013 15:42:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:56 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" = 1027) 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", Fri, 23 Aug 2013 15:42:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:56 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" = 'Adh004' AND "adherent_members"."organism_id" = 1027) 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", Fri, 23 Aug 2013 15:42:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 17:42:56 +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" = 1027 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299861 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299861 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299862 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299862 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299863 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299863 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299864 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299864 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299865 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299865 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 31ms (Views: 25.0ms | ActiveRecord: 3.2ms) Adherent::Member Load (1.2ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299861/coord" for 127.0.0.1 at 2013-08-23 17:42:56 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"819299861"} 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", "819299861"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299861 LIMIT 1 Redirected to http://www.example.com/adherent/members/819299861/coord/new Completed 302 Found in 5ms (ActiveRecord: 0.9ms) Started GET "/adherent/members/819299861/coord/new" for 127.0.0.1 at 2013-08-23 17:42:56 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"819299861"} 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", "819299861"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299861 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (16.1ms) 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 64ms (Views: 58.9ms | ActiveRecord: 0.8ms)  (0.2ms) 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 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1027) 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", Fri, 23 Aug 2013 15:42:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:56 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" = 1027) 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", Fri, 23 Aug 2013 15:42:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:56 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" = 1027) 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", Fri, 23 Aug 2013 15:42:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:56 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" = 1027) 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", Fri, 23 Aug 2013 15:42:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:56 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" = 1027) 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", Fri, 23 Aug 2013 15:42:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:42:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 17:42:56 +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" = 1027 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299866 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299866 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299867 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299867 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299868 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299868 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299869 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299869 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 819299870 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 819299870 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 35ms (Views: 29.2ms | ActiveRecord: 3.9ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/819299866/payments" for 127.0.0.1 at 2013-08-23 17:42:56 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"819299866"} 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", "819299866"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 819299866 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 37ms (Views: 32.9ms | ActiveRecord: 2.4ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) BEGIN Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1027) 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", Fri, 23 Aug 2013 15:59:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:59:00 UTC +00:00]]  (28.5ms) 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" = 1027) 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", Fri, 23 Aug 2013 15:59:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:59:01 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" = 'Adh002' AND "adherent_members"."organism_id" = 1027) 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", Fri, 23 Aug 2013 15:59:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:59:01 UTC +00:00]]  (1.2ms) COMMIT  (0.0ms) BEGIN Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 1027) 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", Fri, 23 Aug 2013 15:59:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:59:01 UTC +00:00]]  (1.1ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 1027) 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", Fri, 23 Aug 2013 15:59:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1027], ["updated_at", Fri, 23 Aug 2013 15:59:01 UTC +00:00]]  (0.8ms) COMMIT Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (64.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (198.9ms) select table_name from information_schema.views where table_schema = 'adh_test'  (684.3ms) TRUNCATE TABLE "adherent_coords", "adherent_adhesions", "adherent_payments", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (0.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL Connecting to database specified by database.yml Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (19.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 15:59:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 15:59:38 UTC +00:00]]  (2.0ms) COMMIT  (2.6ms) BEGIN Adherent::Member Exists (0.5ms) 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", Fri, 23 Aug 2013 15:59:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 15:59:38 UTC +00:00]]  (1.3ms) 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" = 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", Fri, 23 Aug 2013 15:59:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 15:59:38 UTC +00:00]]  (1.4ms) 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.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", Fri, 23 Aug 2013 15:59:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 15:59:38 UTC +00:00]]  (1.1ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) 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", Fri, 23 Aug 2013 15:59:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 15:59:38 UTC +00:00]]  (1.1ms) COMMIT  (0.0ms) BEGIN Adherent::Member Exists (0.2ms) 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", Fri, 23 Aug 2013 15:59:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 15:59:38 UTC +00:00]]  (19.0ms) COMMIT Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (1.0ms) select table_name from information_schema.views where table_schema = 'adh_test'  (105.1ms) TRUNCATE TABLE "adherent_coords", "adherent_adhesions", "adherent_payments", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL Connecting to database specified by database.yml Organism Load (2.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) BEGIN SQL (21.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 23 Aug 2013 16:00:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 23 Aug 2013 16:00:21 UTC +00:00]]  (1.2ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (15.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", Fri, 23 Aug 2013 16:00:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 16:00:21 UTC +00:00]]  (0.9ms) 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", Fri, 23 Aug 2013 16:00:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 16:00:21 UTC +00:00]]  (1.0ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' 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", Fri, 23 Aug 2013 16:00:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 16:00:21 UTC +00:00]]  (1.0ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) 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", Fri, 23 Aug 2013 16:00:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 16:00:21 UTC +00:00]]  (1.2ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' 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", Fri, 23 Aug 2013 16:00:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Fri, 23 Aug 2013 16:00:21 UTC +00:00]]  (0.9ms) COMMIT Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 18:00:26 +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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 1 Adherent::Adhesion Load (58.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 2 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 ORDER BY to_date Adherent::Coord Load (0.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 3 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (244.3ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.2ms) Completed 200 OK in 441ms (Views: 276.7ms | ActiveRecord: 81.8ms) Started GET "/assets/adherent/application.css" for 127.0.0.1 at 2013-08-23 18:00:27 +0200 Served asset /adherent/application.css - 200 OK (315ms) Started GET "/assets/adherent/application.js" for 127.0.0.1 at 2013-08-23 18:00:27 +0200 Served asset /adherent/application.js - 200 OK (710ms) Started GET "/assets/adherent/icones/navigation90.png" for 127.0.0.1 at 2013-08-23 18:00:28 +0200 Served asset /adherent/icones/navigation90.png - 200 OK (20ms) Started GET "/assets/adherent/icones/payment.png" for 127.0.0.1 at 2013-08-23 18:00:28 +0200 Served asset /adherent/icones/payment.png - 200 OK (60ms) Started GET "/assets/adherent/icones/modifier.png" for 127.0.0.1 at 2013-08-23 18:00:28 +0200 Served asset /adherent/icones/modifier.png - 200 OK (39ms) Started GET "/assets/adherent/icones/afficher.png" for 127.0.0.1 at 2013-08-23 18:00:28 +0200 Served asset /adherent/icones/afficher.png - 200 OK (31ms) Started GET "/assets/adherent/icones/detail.png" for 127.0.0.1 at 2013-08-23 18:00:28 +0200 Served asset /adherent/icones/detail.png - 200 OK (61ms) Started GET "/assets/adherent/icones/nouveau.png" for 127.0.0.1 at 2013-08-23 18:00:28 +0200 Served asset /adherent/icones/nouveau.png - 200 OK (22ms) Started GET "/assets/adherent/icones/supprimer.png" for 127.0.0.1 at 2013-08-23 18:00:28 +0200 Served asset /adherent/icones/supprimer.png - 200 OK (7ms) Started DELETE "/adherent/members/1" for 127.0.0.1 at 2013-08-23 18:00:32 +0200 Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1"} Organism Load (0.4ms) 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"]]  (0.1ms) BEGIN Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1 SQL (22.0ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 1]]  (90.5ms) COMMIT Redirected to http://127.0.0.1:44743/adherent/members Completed 302 Found in 123ms (ActiveRecord: 113.8ms) Started GET "/adherent/members" for 127.0.0.1 at 2013-08-23 18:00:32 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.7ms) 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" = 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 2 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 3 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date Adherent::Coord Load (1.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (26.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 42ms (Views: 27.1ms | ActiveRecord: 5.3ms)  (1.7ms) SELECT COUNT(*) FROM "adherent_members"  (1.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (3.9ms) select table_name from information_schema.views where table_schema = 'adh_test'  (355.3ms) TRUNCATE TABLE "adherent_coords", "adherent_adhesions", "adherent_payments", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL 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.5ms) SAVEPOINT active_record_1 SQL (30.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 04:54:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 04:54:12 UTC +00:00]]  (7.0ms) 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" = 1) LIMIT 1 SQL (1.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", Sat, 24 Aug 2013 04:54:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 04:54:12 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" = 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", Sat, 24 Aug 2013 04:54:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 04:54:12 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" = 'Adh002' 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", Sat, 24 Aug 2013 04:54:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 04:54:12 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" = 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", Sat, 24 Aug 2013 04:54:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 04:54:12 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" = '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", Sat, 24 Aug 2013 04:54:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 04:54:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (13.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 04:54:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 04:54:52 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" = 'Adh000' AND "adherent_members"."organism_id" = 2) 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", Sat, 24 Aug 2013 04:54:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 2], ["updated_at", Sat, 24 Aug 2013 04:54:52 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" = 2) 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", Sat, 24 Aug 2013 04:54:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 2], ["updated_at", Sat, 24 Aug 2013 04:54:52 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" = 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", Sat, 24 Aug 2013 04:54:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 2], ["updated_at", Sat, 24 Aug 2013 04:54:52 UTC +00:00]]  (0.0ms) 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" = 2) 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", Sat, 24 Aug 2013 04:54:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 2], ["updated_at", Sat, 24 Aug 2013 04:54:52 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" = 'Adh004' AND "adherent_members"."organism_id" = 2) 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", Sat, 24 Aug 2013 04:54:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 2], ["updated_at", Sat, 24 Aug 2013 04:54:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 06:54:52 +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" = 2 Adherent::Adhesion Load (17.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 6 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 6 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 7 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 7 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 8 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 8 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 9 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 9 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 10 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 10 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (70.0ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.9ms) Completed 200 OK in 176ms (Views: 108.1ms | ActiveRecord: 23.4ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (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 (11.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 04:55:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 04:55:07 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 (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", Sat, 24 Aug 2013 04:55:07 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 3], ["updated_at", Sat, 24 Aug 2013 04:55:07 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" = 3) 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", Sat, 24 Aug 2013 04:55:07 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 3], ["updated_at", Sat, 24 Aug 2013 04:55:07 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" = 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", Sat, 24 Aug 2013 04:55:07 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 3], ["updated_at", Sat, 24 Aug 2013 04:55:07 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" = 3) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 04:55:07 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 3], ["updated_at", Sat, 24 Aug 2013 04:55:07 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" = 'Adh004' 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", Sat, 24 Aug 2013 04:55:07 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 3], ["updated_at", Sat, 24 Aug 2013 04:55:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 06:55:07 +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.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 3 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 11 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 11 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 12 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 12 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 13 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 13 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 14 ORDER BY to_date Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 14 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 15 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 15 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (53.8ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (44.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.6ms) Completed 200 OK in 130ms (Views: 107.4ms | ActiveRecord: 8.3ms)  (0.5ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (13.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 04:56:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 04:56:51 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" = 4) 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", Sat, 24 Aug 2013 04:56:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 4], ["updated_at", Sat, 24 Aug 2013 04:56:51 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.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", Sat, 24 Aug 2013 04:56:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 4], ["updated_at", Sat, 24 Aug 2013 04:56:51 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" = 'Adh002' AND "adherent_members"."organism_id" = 4) 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", Sat, 24 Aug 2013 04:56:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 4], ["updated_at", Sat, 24 Aug 2013 04:56:51 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" = 'Adh003' AND "adherent_members"."organism_id" = 4) 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", Sat, 24 Aug 2013 04:56:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 4], ["updated_at", Sat, 24 Aug 2013 04:56:51 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" = 'Adh004' AND "adherent_members"."organism_id" = 4) 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", Sat, 24 Aug 2013 04:56:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 4], ["updated_at", Sat, 24 Aug 2013 04:56:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 06:56:51 +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" = 4 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 16 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 16 LIMIT 1 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.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 18 ORDER BY to_date Adherent::Coord Load (0.3ms) 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.3ms) 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 (85.2ms) Rendered layouts/adherent/_header.html.haml (1.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (48.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.3ms) Completed 200 OK in 197ms (Views: 142.1ms | ActiveRecord: 7.8ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (12.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 04:58:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 04:58:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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" = 5) 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", Sat, 24 Aug 2013 04:58:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 5], ["updated_at", Sat, 24 Aug 2013 04:58:29 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" = 5) 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", Sat, 24 Aug 2013 04:58:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 5], ["updated_at", Sat, 24 Aug 2013 04:58:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 5) 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", Sat, 24 Aug 2013 04:58:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 5], ["updated_at", Sat, 24 Aug 2013 04:58:29 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" = 5) 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", Sat, 24 Aug 2013 04:58:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 5], ["updated_at", Sat, 24 Aug 2013 04:58:29 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" = 'Adh004' AND "adherent_members"."organism_id" = 5) 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", Sat, 24 Aug 2013 04:58:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 5], ["updated_at", Sat, 24 Aug 2013 04:58:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 06:58:30 +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.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 5 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 21 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 21 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 22 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 22 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 23 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 23 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 24 ORDER BY to_date Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 24 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 25 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 25 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (66.5ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (58.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.9ms) Completed 200 OK in 188ms (Views: 130.7ms | ActiveRecord: 9.7ms)  (0.5ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (9.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 04:58:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 04:58:43 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" = 'Adh000' AND "adherent_members"."organism_id" = 6) 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", Sat, 24 Aug 2013 04:58:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 6], ["updated_at", Sat, 24 Aug 2013 04:58: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" = 6) 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", Sat, 24 Aug 2013 04:58:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 6], ["updated_at", Sat, 24 Aug 2013 04:58: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" = 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", Sat, 24 Aug 2013 04:58:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 6], ["updated_at", Sat, 24 Aug 2013 04:58: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" = 6) 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", Sat, 24 Aug 2013 04:58:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 6], ["updated_at", Sat, 24 Aug 2013 04:58:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 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", Sat, 24 Aug 2013 04:58:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 6], ["updated_at", Sat, 24 Aug 2013 04:58:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 06:58: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" = 6 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 26 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 26 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 27 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 28 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 28 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 29 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 29 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30 ORDER BY to_date Adherent::Coord Load (0.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 30 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (53.5ms) Rendered layouts/adherent/_header.html.haml (1.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (47.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.2ms) Completed 200 OK in 164ms (Views: 111.3ms | ActiveRecord: 7.1ms)  (0.5ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (1.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (13.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 04:59:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 04:59:04 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" = 7) 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", Sat, 24 Aug 2013 04:59:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 7], ["updated_at", Sat, 24 Aug 2013 04:59:04 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" = 'Adh001' AND "adherent_members"."organism_id" = 7) 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", Sat, 24 Aug 2013 04:59:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 7], ["updated_at", Sat, 24 Aug 2013 04:59:04 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 (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", Sat, 24 Aug 2013 04:59:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 7], ["updated_at", Sat, 24 Aug 2013 04:59:04 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" = 7) 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", Sat, 24 Aug 2013 04:59:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 7], ["updated_at", Sat, 24 Aug 2013 04:59:04 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" = 7) 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", Sat, 24 Aug 2013 04:59:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 7], ["updated_at", Sat, 24 Aug 2013 04:59:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 06:59:04 +0200 Processing by Adherent::MembersController#index as HTML 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"."organism_id" = 7 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 31 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 31 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 32 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 32 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 33 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 33 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 34 LIMIT 1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 35 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (56.0ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (49.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 170ms (Views: 116.2ms | ActiveRecord: 8.2ms)  (0.7ms) 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 (5.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:00:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:00:20 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" = 'Adh000' AND "adherent_members"."organism_id" = 8) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 05:00:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 8], ["updated_at", Sat, 24 Aug 2013 05:00:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' 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", Sat, 24 Aug 2013 05:00:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 8], ["updated_at", Sat, 24 Aug 2013 05:00:20 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" = 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", Sat, 24 Aug 2013 05:00:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 8], ["updated_at", Sat, 24 Aug 2013 05:00:20 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" = 8) 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", Sat, 24 Aug 2013 05:00:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 8], ["updated_at", Sat, 24 Aug 2013 05:00:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' 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", Sat, 24 Aug 2013 05:00:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 8], ["updated_at", Sat, 24 Aug 2013 05:00:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 07:00:21 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.2ms) 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"."organism_id" = 8 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 36 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 36 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 37 ORDER BY to_date Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 37 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 38 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 38 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 39 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 40 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 40 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (55.9ms) Rendered layouts/adherent/_header.html.haml (0.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (51.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 172ms (Views: 116.2ms | ActiveRecord: 7.6ms)  (0.9ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:01:28 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:01:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 9) 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", Sat, 24 Aug 2013 05:01:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 9], ["updated_at", Sat, 24 Aug 2013 05:01:28 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" = 9) 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", Sat, 24 Aug 2013 05:01:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 9], ["updated_at", Sat, 24 Aug 2013 05:01:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 9) 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", Sat, 24 Aug 2013 05:01:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 9], ["updated_at", Sat, 24 Aug 2013 05:01:28 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" = 9) 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", Sat, 24 Aug 2013 05:01:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 9], ["updated_at", Sat, 24 Aug 2013 05:01:28 UTC +00:00]]  (0.0ms) 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" = 'Adh004' AND "adherent_members"."organism_id" = 9) 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", Sat, 24 Aug 2013 05:01:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 9], ["updated_at", Sat, 24 Aug 2013 05:01:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 07:01:28 +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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 9 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 41 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 41 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 42 ORDER BY to_date Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 42 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 43 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 43 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 44 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 44 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 45 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 45 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (55.1ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (48.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.2ms) Completed 200 OK in 166ms (Views: 112.9ms | ActiveRecord: 7.6ms) Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-24 07:01:29 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (41.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/new.html.erb within layouts/adherent/application (61.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 66ms (Views: 64.2ms | ActiveRecord: 0.4ms)  (0.5ms) ROLLBACK Connecting to database specified by database.yml  (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 (9.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:02:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:02:04 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" = 'Adh000' AND "adherent_members"."organism_id" = 10) 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", Sat, 24 Aug 2013 05:02:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 10], ["updated_at", Sat, 24 Aug 2013 05:02:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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" = 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", Sat, 24 Aug 2013 05:02:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 10], ["updated_at", Sat, 24 Aug 2013 05:02:04 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" = 'Adh002' AND "adherent_members"."organism_id" = 10) 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", Sat, 24 Aug 2013 05:02:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 10], ["updated_at", Sat, 24 Aug 2013 05:02:04 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" = 10) 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", Sat, 24 Aug 2013 05:02:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 10], ["updated_at", Sat, 24 Aug 2013 05:02:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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" = 10) 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", Sat, 24 Aug 2013 05:02:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 10], ["updated_at", Sat, 24 Aug 2013 05:02:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 07:02:04 +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" = 10 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 46 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 46 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 47 ORDER BY to_date Adherent::Coord Load (1.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 47 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 48 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 48 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 49 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 49 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 50 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 50 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (53.6ms) Rendered layouts/adherent/_header.html.haml (1.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (48.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 166ms (Views: 111.1ms | ActiveRecord: 7.6ms) Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-24 07:02:05 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (23.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/new.html.erb within layouts/adherent/application (25.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 31ms (Views: 28.2ms | ActiveRecord: 0.7ms)  (0.5ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (1.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (11.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:02:27 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:02:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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" = 11) 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", Sat, 24 Aug 2013 05:02:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 11], ["updated_at", Sat, 24 Aug 2013 05:02:27 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" = 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", Sat, 24 Aug 2013 05:02:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 11], ["updated_at", Sat, 24 Aug 2013 05:02:27 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" = 11) 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", Sat, 24 Aug 2013 05:02:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 11], ["updated_at", Sat, 24 Aug 2013 05:02:27 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" = 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", Sat, 24 Aug 2013 05:02:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 11], ["updated_at", Sat, 24 Aug 2013 05:02:27 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" = 'Adh004' 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", Sat, 24 Aug 2013 05:02:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 11], ["updated_at", Sat, 24 Aug 2013 05:02:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 07:02:27 +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" = 11 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 51 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 51 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 52 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 52 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 53 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 53 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 54 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 54 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 55 ORDER BY to_date Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 55 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (54.8ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (47.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 165ms (Views: 110.4ms | ActiveRecord: 7.9ms) Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-24 07:02:27 +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 (27.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/new.html.erb within layouts/adherent/application (30.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 36ms (Views: 33.3ms | ActiveRecord: 0.3ms)  (0.7ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (1.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Sat, 24 Aug 2013 05:08:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:08:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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" = 12) 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", Sat, 24 Aug 2013 05:08:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 12], ["updated_at", Sat, 24 Aug 2013 05:08:03 UTC +00:00]]  (1.2ms) 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" = 'Adh001' AND "adherent_members"."organism_id" = 12) 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", Sat, 24 Aug 2013 05:08:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 12], ["updated_at", Sat, 24 Aug 2013 05:08:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 12) 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", Sat, 24 Aug 2013 05:08:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 12], ["updated_at", Sat, 24 Aug 2013 05:08:03 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" = 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", Sat, 24 Aug 2013 05:08:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 12], ["updated_at", Sat, 24 Aug 2013 05:08:03 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" = 12) 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", Sat, 24 Aug 2013 05:08:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 12], ["updated_at", Sat, 24 Aug 2013 05:08:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-24 07:08:03 +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 (68.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/new.html.erb within layouts/adherent/application (85.4ms) Rendered layouts/adherent/_header.html.haml (1.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 147ms (Views: 101.7ms | ActiveRecord: 0.3ms)  (0.5ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (5.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:10:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:10:55 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" = 13) LIMIT 1 SQL (1.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", Sat, 24 Aug 2013 05:10:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 13], ["updated_at", Sat, 24 Aug 2013 05:10:55 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" = 13) 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", Sat, 24 Aug 2013 05:10:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 13], ["updated_at", Sat, 24 Aug 2013 05:10:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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.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", Sat, 24 Aug 2013 05:10:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 13], ["updated_at", Sat, 24 Aug 2013 05:10:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 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", Sat, 24 Aug 2013 05:10:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 13], ["updated_at", Sat, 24 Aug 2013 05:10:55 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" = 'Adh004' 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", Sat, 24 Aug 2013 05:10:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 13], ["updated_at", Sat, 24 Aug 2013 05:10:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-24 07:10:55 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (68.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/new.html.erb within layouts/adherent/application (85.3ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.6ms) Completed 200 OK in 148ms (Views: 102.0ms | ActiveRecord: 0.4ms) Started POST "/adherent/members" for 127.0.0.1 at 2013-08-24 07:10:55 +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.3ms) 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" = 13) 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", Sat, 24 Aug 2013 05:10:55 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 13], ["updated_at", Sat, 24 Aug 2013 05:10:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/66/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.3ms) Started GET "/adherent/members/66/coord/new" for 127.0.0.1 at 2013-08-24 07:10:55 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"66"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "66"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 66 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (13.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/new.html.erb within layouts/adherent/application (28.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 69ms (Views: 44.4ms | ActiveRecord: 3.4ms)  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.8ms) 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", Sat, 24 Aug 2013 05:11:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:11:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' 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", Sat, 24 Aug 2013 05:11:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 14], ["updated_at", Sat, 24 Aug 2013 05:11:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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" = 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", Sat, 24 Aug 2013 05:11:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 14], ["updated_at", Sat, 24 Aug 2013 05:11:42 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" = 'Adh002' AND "adherent_members"."organism_id" = 14) 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", Sat, 24 Aug 2013 05:11:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 14], ["updated_at", Sat, 24 Aug 2013 05:11:42 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 14) 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", Sat, 24 Aug 2013 05:11:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 14], ["updated_at", Sat, 24 Aug 2013 05:11: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" = 'Adh004' AND "adherent_members"."organism_id" = 14) 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", Sat, 24 Aug 2013 05:11:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 14], ["updated_at", Sat, 24 Aug 2013 05:11:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-24 07:11:43 +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 (69.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/new.html.erb within layouts/adherent/application (87.1ms) Rendered layouts/adherent/_header.html.haml (1.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.2ms) Completed 200 OK in 152ms (Views: 107.7ms | ActiveRecord: 0.3ms)  (2.9ms) SELECT COUNT(*) FROM "adherent_members"  Started POST "/adherent/members" for 127.0.0.1 at 2013-08-24 07:11:43 +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.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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" = 14) 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", Sat, 24 Aug 2013 05:11:43 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 14], ["updated_at", Sat, 24 Aug 2013 05:11:43 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/72/coord/new Completed 302 Found in 9ms (ActiveRecord: 2.1ms) Started GET "/adherent/members/72/coord/new" for 127.0.0.1 at 2013-08-24 07:11:43 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"72"} 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", "72"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 72 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (13.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/new.html.erb within layouts/adherent/application (15.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 47ms (Views: 20.2ms | ActiveRecord: 2.8ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (9.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:12:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:12:03 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" = 'Adh000' AND "adherent_members"."organism_id" = 15) 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", Sat, 24 Aug 2013 05:12:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 15], ["updated_at", Sat, 24 Aug 2013 05:12:03 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" = 'Adh001' AND "adherent_members"."organism_id" = 15) 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", Sat, 24 Aug 2013 05:12:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 15], ["updated_at", Sat, 24 Aug 2013 05:12:03 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" = 'Adh002' AND "adherent_members"."organism_id" = 15) 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", Sat, 24 Aug 2013 05:12:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 15], ["updated_at", Sat, 24 Aug 2013 05:12:03 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" = 15) 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", Sat, 24 Aug 2013 05:12:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 15], ["updated_at", Sat, 24 Aug 2013 05:12:03 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" = 'Adh004' 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", Sat, 24 Aug 2013 05:12:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 15], ["updated_at", Sat, 24 Aug 2013 05:12:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-24 07:12:03 +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 (70.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/new.html.erb within layouts/adherent/application (88.1ms) Rendered layouts/adherent/_header.html.haml (1.2ms) 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.0ms) Completed 200 OK in 120ms (Views: 104.6ms | ActiveRecord: 0.3ms)  (0.6ms) SELECT COUNT(*) FROM "adherent_members"  Started POST "/adherent/members" for 127.0.0.1 at 2013-08-24 07:12:04 +0200 Processing by Adherent::MembersController#create as HTML Parameters: {"utf8"=>"✓", "member"=>{"number"=>"", "name"=>"James", "forname"=>"Jessie", "birthdate"=>""}, "commit"=>"Créer le membre"} Organism Load (0.3ms) 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" = '' AND "adherent_members"."organism_id" = 15) LIMIT 1  (34.9ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (6.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/new.html.erb within layouts/adherent/application (7.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 52ms (Views: 10.2ms | ActiveRecord: 35.6ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_members"  (0.5ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (12.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:13:18 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:13:18 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" = 'Adh000' AND "adherent_members"."organism_id" = 16) 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", Sat, 24 Aug 2013 05:13:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 16], ["updated_at", Sat, 24 Aug 2013 05:13:18 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" = 16) 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", Sat, 24 Aug 2013 05:13:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 16], ["updated_at", Sat, 24 Aug 2013 05:13:18 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" = '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", Sat, 24 Aug 2013 05:13:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 16], ["updated_at", Sat, 24 Aug 2013 05:13:18 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" = 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", Sat, 24 Aug 2013 05:13:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 16], ["updated_at", Sat, 24 Aug 2013 05:13:18 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" = 16) 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", Sat, 24 Aug 2013 05:13:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 16], ["updated_at", Sat, 24 Aug 2013 05:13:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-24 07:13:18 +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 (67.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/new.html.erb within layouts/adherent/application (85.3ms) Rendered layouts/adherent/_header.html.haml (1.5ms) 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 (0.7ms) Completed 200 OK in 145ms (Views: 99.9ms | ActiveRecord: 0.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  Started POST "/adherent/members" for 127.0.0.1 at 2013-08-24 07:13:18 +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" = 16) 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", Sat, 24 Aug 2013 05:13:18 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 16], ["updated_at", Sat, 24 Aug 2013 05:13:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/83/coord/new Completed 302 Found in 9ms (ActiveRecord: 1.0ms) Started GET "/adherent/members/83/coord/new" for 127.0.0.1 at 2013-08-24 07:13:18 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"83"} 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", "83"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 83 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (13.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/new.html.erb within layouts/adherent/application (16.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 43ms (Views: 19.7ms | ActiveRecord: 2.7ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_members"  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.5ms) 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", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14: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" = 17) 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", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 17], ["updated_at", Sat, 24 Aug 2013 05:14: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" = 'Adh001' AND "adherent_members"."organism_id" = 17) 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", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 17], ["updated_at", Sat, 24 Aug 2013 05:14:29 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" = 'Adh002' AND "adherent_members"."organism_id" = 17) 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", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 17], ["updated_at", Sat, 24 Aug 2013 05:14:29 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" = 17) 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", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 17], ["updated_at", Sat, 24 Aug 2013 05:14:29 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" = 'Adh004' AND "adherent_members"."organism_id" = 17) 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", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 17], ["updated_at", Sat, 24 Aug 2013 05:14:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 07:14:29 +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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 17 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 84 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 84 LIMIT 1 Adherent::Adhesion Load (0.7ms) 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 (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 86 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 87 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 87 LIMIT 1 Adherent::Adhesion Load (1.2ms) 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 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (101.0ms) Rendered layouts/adherent/_header.html.haml (1.2ms) 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 (0.6ms) Completed 200 OK in 135ms (Views: 111.7ms | ActiveRecord: 9.2ms)  (0.4ms) 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", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:29 UTC +00:00]]  (0.0ms) 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" = 18) 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", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 18], ["updated_at", Sat, 24 Aug 2013 05:14:29 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" = 18) 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", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 18], ["updated_at", Sat, 24 Aug 2013 05:14:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 18) 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", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 18], ["updated_at", Sat, 24 Aug 2013 05:14:29 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" = 18) 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", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 18], ["updated_at", Sat, 24 Aug 2013 05:14:29 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" = 'Adh004' AND "adherent_members"."organism_id" = 18) 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", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 18], ["updated_at", Sat, 24 Aug 2013 05:14:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 07:14:29 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 18 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 89 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 89 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 90 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 90 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 91 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 91 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 92 ORDER BY to_date Adherent::Coord Load (0.2ms) 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 Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (1.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 33ms (Views: 24.5ms | ActiveRecord: 4.8ms)  (0.3ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:29 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" = 'Adh000' AND "adherent_members"."organism_id" = 19) 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", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 19], ["updated_at", Sat, 24 Aug 2013 05:14:29 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" = 'Adh001' AND "adherent_members"."organism_id" = 19) 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", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 19], ["updated_at", Sat, 24 Aug 2013 05:14:29 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" = 19) 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", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 19], ["updated_at", Sat, 24 Aug 2013 05:14:29 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" = 19) 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", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 19], ["updated_at", Sat, 24 Aug 2013 05:14:29 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" = 19) 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", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 19], ["updated_at", Sat, 24 Aug 2013 05:14:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 07:14:29 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.7ms) 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" = 19 Adherent::Adhesion Load (0.5ms) 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.3ms) 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.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 96 LIMIT 1 Adherent::Adhesion Load (0.5ms) 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.3ms) 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 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: 27.5ms | ActiveRecord: 3.7ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/94/edit" for 127.0.0.1 at 2013-08-24 07:14:29 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"94"} 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", "94"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (21.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 31ms (Views: 28.2ms | ActiveRecord: 0.5ms)  (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", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:29 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" = 20) 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", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 20], ["updated_at", Sat, 24 Aug 2013 05:14:29 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" = 20) 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", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 20], ["updated_at", Sat, 24 Aug 2013 05:14:29 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" = 20) 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", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 20], ["updated_at", Sat, 24 Aug 2013 05:14:29 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" = 20) 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", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 20], ["updated_at", Sat, 24 Aug 2013 05:14:29 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" = 'Adh004' AND "adherent_members"."organism_id" = 20) 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", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 20], ["updated_at", Sat, 24 Aug 2013 05:14:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 07:14:29 +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" = 20 Adherent::Adhesion Load (0.3ms) 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 (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 100 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 100 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 101 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 101 LIMIT 1 Adherent::Adhesion Load (0.4ms) 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.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 103 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 103 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 33ms (Views: 23.1ms | ActiveRecord: 5.0ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 99 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 99 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (62.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", #], ["created_at", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 99], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 05:14:29 UTC +00:00]]  (5.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/99/adhesions" for 127.0.0.1 at 2013-08-24 07:14:29 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"99"} 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", "99"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 99 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 99  (1.6ms) 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 112ms (Views: 103.5ms | ActiveRecord: 4.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  (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 05:14:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:29 UTC +00:00]]  (0.0ms) 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" = 21) 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", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 21], ["updated_at", Sat, 24 Aug 2013 05:14:29 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" = 'Adh001' AND "adherent_members"."organism_id" = 21) 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", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 21], ["updated_at", Sat, 24 Aug 2013 05:14:29 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" = 'Adh002' AND "adherent_members"."organism_id" = 21) 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", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 21], ["updated_at", Sat, 24 Aug 2013 05:14:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 21) 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", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 21], ["updated_at", Sat, 24 Aug 2013 05:14:29 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" = 'Adh004' AND "adherent_members"."organism_id" = 21) 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", Sat, 24 Aug 2013 05:14:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 21], ["updated_at", Sat, 24 Aug 2013 05:14:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 07:14:29 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.9ms) 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"."organism_id" = 21 Adherent::Adhesion Load (0.4ms) 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.3ms) 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 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 107 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 107 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 108 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 108 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 33ms (Views: 25.3ms | ActiveRecord: 4.4ms) Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/104/payments" for 127.0.0.1 at 2013-08-24 07:14:29 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"104"} 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", "104"]] Adherent::Payment Load (3.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 104 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 24ms (Views: 16.0ms | ActiveRecord: 5.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.2ms) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:30 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" = 'Adh000' AND "adherent_members"."organism_id" = 22) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 22], ["updated_at", Sat, 24 Aug 2013 05:14:30 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" = 'Adh001' AND "adherent_members"."organism_id" = 22) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 22], ["updated_at", Sat, 24 Aug 2013 05:14:30 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" = 'Adh002' AND "adherent_members"."organism_id" = 22) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 22], ["updated_at", Sat, 24 Aug 2013 05:14:30 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" = 22) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 22], ["updated_at", Sat, 24 Aug 2013 05:14:30 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" = 'Adh004' AND "adherent_members"."organism_id" = 22) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 22], ["updated_at", Sat, 24 Aug 2013 05:14:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 07:14:30 +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" = 22 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 109 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 109 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 110 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 110 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 111 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 111 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 112 ORDER BY to_date Adherent::Coord Load (0.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 112 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 113 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 113 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 35ms (Views: 26.0ms | ActiveRecord: 4.5ms) Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-24 07:14:30 +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 (9.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 17ms (Views: 14.8ms | ActiveRecord: 0.3ms)  (0.4ms) 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.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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:30 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" = 23) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 23], ["updated_at", Sat, 24 Aug 2013 05:14:30 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" = 'Adh001' AND "adherent_members"."organism_id" = 23) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 23], ["updated_at", Sat, 24 Aug 2013 05:14:30 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" = 'Adh002' AND "adherent_members"."organism_id" = 23) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 23], ["updated_at", Sat, 24 Aug 2013 05:14:30 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" = 23) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 23], ["updated_at", Sat, 24 Aug 2013 05:14:30 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" = 'Adh004' AND "adherent_members"."organism_id" = 23) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 23], ["updated_at", Sat, 24 Aug 2013 05:14:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 07:14:30 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 23 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 114 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 114 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 115 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 115 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 116 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 116 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 117 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 117 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 118 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 118 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 33ms (Views: 23.9ms | ActiveRecord: 5.4ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 114], ["office", nil], ["tel", nil], ["updated_at", Sat, 24 Aug 2013 05:14:30 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" = 114 LIMIT 1 Started GET "/adherent/members/114/coord" for 127.0.0.1 at 2013-08-24 07:14:30 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"114"} 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", "114"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 114 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 19ms (Views: 15.2ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.2ms) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:30 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" = 24) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 24], ["updated_at", Sat, 24 Aug 2013 05:14:30 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" = 'Adh001' AND "adherent_members"."organism_id" = 24) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 24], ["updated_at", Sat, 24 Aug 2013 05:14:30 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" = 24) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 24], ["updated_at", Sat, 24 Aug 2013 05:14:30 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" = 24) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 24], ["updated_at", Sat, 24 Aug 2013 05:14:30 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" = 'Adh004' AND "adherent_members"."organism_id" = 24) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 24], ["updated_at", Sat, 24 Aug 2013 05:14:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 07:14:30 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.2ms) 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" = 24 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 119 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 119 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 120 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 120 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 121 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 121 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 122 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 122 LIMIT 1 Adherent::Adhesion Load (1.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 123 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 123 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 35ms (Views: 24.0ms | ActiveRecord: 5.9ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/119/adhesions" for 127.0.0.1 at 2013-08-24 07:14:30 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"119"} 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", "119"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 119 Redirected to http://www.example.com/adherent/members/119/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET "/adherent/members/119/adhesions/new" for 127.0.0.1 at 2013-08-24 07:14:30 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"119"} 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", "119"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 119 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 119 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (12.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 27ms (Views: 20.4ms | ActiveRecord: 1.0ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:30 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" = 25) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 25], ["updated_at", Sat, 24 Aug 2013 05:14:30 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" = 25) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 25], ["updated_at", Sat, 24 Aug 2013 05:14:30 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" = 25) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 25], ["updated_at", Sat, 24 Aug 2013 05:14:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 25) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 25], ["updated_at", Sat, 24 Aug 2013 05:14:30 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" = 25) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 25], ["updated_at", Sat, 24 Aug 2013 05:14:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 07:14:30 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (7.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 25 Adherent::Adhesion Load (2.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 124 ORDER BY to_date Adherent::Coord Load (1.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 124 LIMIT 1 Adherent::Adhesion Load (4.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 125 ORDER BY to_date Adherent::Coord Load (1.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 125 LIMIT 1 Adherent::Adhesion Load (3.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 126 ORDER BY to_date Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 126 LIMIT 1 Adherent::Adhesion Load (3.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 127 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 127 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 128 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 128 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 70ms (Views: 37.9ms | ActiveRecord: 26.2ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/124/coord" for 127.0.0.1 at 2013-08-24 07:14:30 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"124"} Organism Load (0.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", "124"]] Adherent::Coord Load (1.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 124 LIMIT 1 Redirected to http://www.example.com/adherent/members/124/coord/new Completed 302 Found in 5ms (ActiveRecord: 2.0ms) Started GET "/adherent/members/124/coord/new" for 127.0.0.1 at 2013-08-24 07:14:30 +0200 Processing by Adherent::CoordsController#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::Coord Load (0.2ms) 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 (22.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 35ms (Views: 29.2ms | ActiveRecord: 0.8ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:30 UTC +00:00]]  (0.2ms) 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" = 'Adh000' AND "adherent_members"."organism_id" = 26) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 26], ["updated_at", Sat, 24 Aug 2013 05:14:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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" = 26) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 26], ["updated_at", Sat, 24 Aug 2013 05:14:30 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" = 26) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 26], ["updated_at", Sat, 24 Aug 2013 05:14:30 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" = 26) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 26], ["updated_at", Sat, 24 Aug 2013 05:14:30 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" = 26) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 26], ["updated_at", Sat, 24 Aug 2013 05:14:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-24 07:14:30 +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 (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.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 13ms (Views: 9.9ms | ActiveRecord: 0.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members" Started POST "/adherent/members" for 127.0.0.1 at 2013-08-24 07:14:30 +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.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'ADH1' AND "adherent_members"."organism_id" = 26) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 26], ["updated_at", Sat, 24 Aug 2013 05:14:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/134/coord/new Completed 302 Found in 11ms (ActiveRecord: 1.5ms) Started GET "/adherent/members/134/coord/new" for 127.0.0.1 at 2013-08-24 07:14:30 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"134"} 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", "134"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 134 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.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 15ms (Views: 12.0ms | ActiveRecord: 0.7ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_members"   (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1002"} 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:30 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" Completed 200 OK in 7ms (Views: 2.1ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1005"} Organism Load (0.7ms) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:30 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 7ms (Views: 1.0ms | ActiveRecord: 1.8ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1008"} 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1007/payments Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (0.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:30 UTC +00:00]]  (1.3ms) 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" = 30) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 30], ["updated_at", Sat, 24 Aug 2013 05:14:30 UTC +00:00]]  (26.3ms) 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" = 30) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 30], ["updated_at", Sat, 24 Aug 2013 05:14:30 UTC +00:00]]  (0.8ms) 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" = 30) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 30], ["updated_at", Sat, 24 Aug 2013 05:14:30 UTC +00:00]]  (0.9ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 30) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 30], ["updated_at", Sat, 24 Aug 2013 05:14:30 UTC +00:00]]  (0.9ms) 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" = 30) 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", Sat, 24 Aug 2013 05:14:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 30], ["updated_at", Sat, 24 Aug 2013 05:14:30 UTC +00:00]]  (0.6ms) COMMIT Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 07:14:46 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.8ms) 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" = 30 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 135 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 135 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 136 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 136 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 137 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 137 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 138 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 138 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 139 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 139 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 51ms (Views: 32.6ms | ActiveRecord: 13.6ms) Started GET "/assets/adherent/application.css" for 127.0.0.1 at 2013-08-24 07:14:46 +0200 Compiled jquery.ui.core.css (3ms) (pid 5103) Compiled jquery.ui.theme.css (21ms) (pid 5103) Compiled jquery.ui.datepicker.css (183ms) (pid 5103) Compiled adherent/adhesion.css (0ms) (pid 5103) Compiled adherent/bootstrap.css (1ms) (pid 5103) Compiled adherent/coords.css (0ms) (pid 5103) Compiled adherent/date_picker.css (0ms) (pid 5103) Compiled adherent/jc_application.css (2126ms) (pid 5103) Compiled adherent/jcmenu.css (0ms) (pid 5103) Compiled adherent/layouts.css (21ms) (pid 5103) Compiled adherent/members.css (0ms) (pid 5103) Compiled adherent/old_bootstrap.css (0ms) (pid 5103) Compiled adherent/payments.css (0ms) (pid 5103) Compiled adherent/reglements.css (0ms) (pid 5103) Compiled adherent/application.css (2669ms) (pid 5103) Served asset /adherent/application.css - 200 OK (2846ms) Started GET "/assets/adherent/application.js" for 127.0.0.1 at 2013-08-24 07:14:49 +0200 Compiled jquery.js (10ms) (pid 5103) Compiled jquery_ujs.js (0ms) (pid 5103) Compiled jquery.ui.core.js (1ms) (pid 5103) Compiled jquery.ui.datepicker.js (30ms) (pid 5103) Compiled adherent/adhesion.js (0ms) (pid 5103) Compiled adherent/bootstrap.js (1ms) (pid 5103) Compiled adherent/coords.js (0ms) (pid 5103) Compiled adherent/date_picker.js (0ms) (pid 5103) Compiled adherent/members.js (0ms) (pid 5103) Compiled adherent/payments.js (0ms) (pid 5103) Compiled adherent/reglements.js (0ms) (pid 5103) Compiled adherent/application.js (404ms) (pid 5103) Served asset /adherent/application.js - 200 OK (483ms) Started GET "/assets/adherent/icones/navigation90.png" for 127.0.0.1 at 2013-08-24 07:14:50 +0200 Served asset /adherent/icones/navigation90.png - 200 OK (30ms) Started GET "/assets/adherent/icones/nouveau.png" for 127.0.0.1 at 2013-08-24 07:14:50 +0200 Served asset /adherent/icones/nouveau.png - 200 OK (9ms) Started GET "/assets/adherent/icones/payment.png" for 127.0.0.1 at 2013-08-24 07:14:50 +0200 Served asset /adherent/icones/payment.png - 200 OK (11ms) Started GET "/assets/adherent/icones/afficher.png" for 127.0.0.1 at 2013-08-24 07:14:50 +0200 Served asset /adherent/icones/afficher.png - 200 OK (43ms) Started GET "/assets/adherent/icones/modifier.png" for 127.0.0.1 at 2013-08-24 07:14:50 +0200 Served asset /adherent/icones/modifier.png - 200 OK (7ms) Started GET "/assets/adherent/icones/detail.png" for 127.0.0.1 at 2013-08-24 07:14:50 +0200 Served asset /adherent/icones/detail.png - 200 OK (11ms) Started GET "/assets/adherent/icones/supprimer.png" for 127.0.0.1 at 2013-08-24 07:14:50 +0200 Served asset /adherent/icones/supprimer.png - 200 OK (6ms) Started DELETE "/adherent/members/135" for 127.0.0.1 at 2013-08-24 07:14:54 +0200 Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"135"} Organism Load (4.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (4.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "135"]]  (0.1ms) BEGIN Adherent::Coord Load (5.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 135 LIMIT 1 SQL (34.7ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 135]]  (235.6ms) COMMIT Redirected to http://127.0.0.1:48877/adherent/members Completed 302 Found in 297ms (ActiveRecord: 285.5ms) Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 07:14:54 +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" = 30 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 136 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 136 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 137 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 137 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 138 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 138 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 139 ORDER BY to_date Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 139 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 31ms (Views: 24.8ms | ActiveRecord: 3.6ms)  (0.7ms) SELECT COUNT(*) FROM "adherent_members"  (16.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (30.9ms) select table_name from information_schema.views where table_schema = 'adh_test'  (636.2ms) TRUNCATE TABLE "adherent_coords", "adherent_adhesions", "adherent_payments", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (0.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.1ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1009", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) 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", Sat, 24 Aug 2013 05:14:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 46ms (Views: 33.9ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1011", "id"=>"1"} Organism Load (3.9ms) 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", Sat, 24 Aug 2013 05:14:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 1.2ms | ActiveRecord: 4.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1013", "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", Sat, 24 Aug 2013 05:14:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:56 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 23ms (Views: 17.7ms | ActiveRecord: 1.2ms)  (2.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1015", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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", Sat, 24 Aug 2013 05:14:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 4.1ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1017"} 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", Sat, 24 Aug 2013 05:14:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 2.0ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1019"} 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", Sat, 24 Aug 2013 05:14:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1019/adhesions Completed 302 Found in 6ms (ActiveRecord: 1.2ms)  (0.0ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1021"} Organism Load (0.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", Sat, 24 Aug 2013 05:14:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:57 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1021/adhesions Completed 302 Found in 6ms (ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1023"} 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", Sat, 24 Aug 2013 05:14:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (2.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1025"} 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", Sat, 24 Aug 2013 05:14:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:57 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 15ms (Views: 1.1ms | ActiveRecord: 1.1ms)  (1.9ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1026"} 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", Sat, 24 Aug 2013 05:14:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.8ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1027", "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", Sat, 24 Aug 2013 05:14:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1027/payments/1028 Completed 302 Found in 7ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1029", "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", Sat, 24 Aug 2013 05:14:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1031", "id"=>"1"} Organism Load (1.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", Sat, 24 Aug 2013 05:14:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1031/payments/1032 Completed 302 Found in 6ms (ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1033", "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", Sat, 24 Aug 2013 05:14:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (3.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.9ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (1.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.2ms) 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.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" IS NULL AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.6ms) ROLLBACK  (0.2ms) 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.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", Tue, 06 Jun 1944], ["created_at", Sat, 24 Aug 2013 05:14:57 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 05:14:57 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_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 (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", Sat, 24 Aug 2013 05:14:57 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 05:14:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.0ms) 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.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", Sat, 24 Aug 2013 05:14:57 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 05:14:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) 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.2ms) 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) ROLLBACK  (0.0ms) BEGIN  (1.5ms) ROLLBACK  (0.1ms) BEGIN  (0.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1035"} 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", Sat, 24 Aug 2013 05:14:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 30ms (Views: 24.5ms | ActiveRecord: 1.0ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"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.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:14:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 0.9ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1039"} Organism Load (0.8ms) 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", Sat, 24 Aug 2013 05:14:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 1.1ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1041"} Organism Load (0.6ms) 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", Sat, 24 Aug 2013 05:14:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1043"} 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", Sat, 24 Aug 2013 05:14:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1045"} 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", Sat, 24 Aug 2013 05:14:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1045/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 1.6ms)  (0.1ms) 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.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:14:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:58 UTC +00:00]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1049"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.7ms) 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 05:14:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 22 Completed 200 OK in 33ms (Views: 23.0ms | ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1050"} 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", Sat, 24 Aug 2013 05:14:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 1.5ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1051"} Organism Load (4.2ms) 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", Sat, 24 Aug 2013 05:14:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1051/coord Completed 302 Found in 16ms (ActiveRecord: 6.6ms)  (2.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1053"} Organism Load (6.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", Sat, 24 Aug 2013 05:14:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 15ms (Views: 0.9ms | ActiveRecord: 6.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:14:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1055/coord Completed 302 Found in 69ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1057"} 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", Sat, 24 Aug 2013 05:14:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:58 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.8ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1059"} Organism Load (1.0ms) 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", Sat, 24 Aug 2013 05:14:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1059/adhesions Completed 302 Found in 13ms (ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1061"} 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", Sat, 24 Aug 2013 05:14:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1061/adhesions Completed 302 Found in 8ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1063"} 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", Sat, 24 Aug 2013 05:14:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1065"} Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:14:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 1.2ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1067", "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", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1067/adhesions Completed 302 Found in 7ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1069", "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", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 27ms (Views: 23.3ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1071", "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", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1071/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"=>"1073", "id"=>"1"} Organism Load (1.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", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 1.0ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1075", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.6ms) 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", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 1.0ms | ActiveRecord: 2.1ms)  (7.9ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1077", "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", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1079"} Organism Load (0.3ms) 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", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1079/adhesions/new Completed 302 Found in 11ms (ActiveRecord: 2.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1080"} Organism Load (2.8ms) 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", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 1.0ms | ActiveRecord: 4.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1081"} Organism Load (1.1ms) 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", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.9ms | ActiveRecord: 2.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) ROLLBACK  (0.6ms) BEGIN  (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" = 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", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 4], ["office", nil], ["tel", nil], ["updated_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  (0.3ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 1]] SQL (0.2ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 4]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.4ms) 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.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", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 5], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 05:14:59 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" = 5 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 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", #], ["created_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 5], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 5], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00]] Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 5 LIMIT 1 Adherent::Adhesion Load (29.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 1  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 2  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 1 SQL (1.4ms) 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", #], ["created_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.3ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '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", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 6], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 6 Adherent::Adhesion Load (1.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 6 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", #], ["created_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 6], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 6], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 6 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 6 ORDER BY to_date  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 3  (0.2ms) 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" = 3 SQL (0.7ms) 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", #], ["created_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["payment_id", 2], ["updated_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 4 SQL (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["payment_id", 2], ["updated_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) 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", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 7], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 05:14:59 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" = 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.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", #], ["created_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 7], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00]]  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 7], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 05:14:59 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.5ms) 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" = 5  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 6  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 5 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", 5], ["amount", #], ["created_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["payment_id", 3], ["updated_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 6 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 6], ["amount", #], ["created_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00], ["payment_id", 3], ["updated_at", Sat, 24 Aug 2013 05:14:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 3  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 3  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.1ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) ROLLBACK  (0.0ms) BEGIN  (1.1ms) ROLLBACK  (0.1ms) BEGIN  (1.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (1.3ms) BEGIN  (2.3ms) ROLLBACK  (0.4ms) BEGIN  (1.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1084"} 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", Sat, 24 Aug 2013 05:15:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:15:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1084 Completed 302 Found in 6ms (ActiveRecord: 0.9ms)  (0.6ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1085"} Organism Load (0.4ms) 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", Sat, 24 Aug 2013 05:15:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:15:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1086"} Organism Load (1.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", Sat, 24 Aug 2013 05:15:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:15:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1086 Completed 302 Found in 13ms (ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1087"} 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", Sat, 24 Aug 2013 05:15:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:15:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1087 Completed 302 Found in 11ms (ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Organism Load (1.1ms) 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", Sat, 24 Aug 2013 05:15:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:15:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 0.9ms | ActiveRecord: 2.0ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} 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", Sat, 24 Aug 2013 05:15:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:15:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.2ms) 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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:15:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:15:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 0.9ms | ActiveRecord: 0.7ms)  (0.1ms) 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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:15:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:15:00 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" = 'A001' AND "adherent_members"."organism_id" = 48) 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", Sat, 24 Aug 2013 05:15:00 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 48], ["updated_at", Sat, 24 Aug 2013 05:15:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/8/coord/new Completed 302 Found in 11ms (ActiveRecord: 1.7ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (5.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.0ms) 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", Sat, 24 Aug 2013 05:15:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:15:00 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 49) 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", Sat, 24 Aug 2013 05:15:00 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 49], ["updated_at", Sat, 24 Aug 2013 05:15:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/9/coord/new Completed 302 Found in 22ms (ActiveRecord: 12.4ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001", "birthdate"=>"06/06/1955"}} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.4ms) 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", Sat, 24 Aug 2013 05:15:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:15:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 50) LIMIT 1 SQL (4.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", Mon, 06 Jun 1955], ["created_at", Sat, 24 Aug 2013 05:15:00 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 50], ["updated_at", Sat, 24 Aug 2013 05:15:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/10/coord/new Completed 302 Found in 19ms (ActiveRecord: 7.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1090"} Organism Load (5.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:15:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:15:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 11ms (ActiveRecord: 5.8ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1091"} Organism Load (0.6ms) 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", Sat, 24 Aug 2013 05:15:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:15:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 10ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (4.9ms) 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 05:15:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:15:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 64ms (Views: 51.4ms | ActiveRecord: 5.7ms)  (1.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Organism Load (4.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.8ms) 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", Sat, 24 Aug 2013 05:15:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:15:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 0.9ms | ActiveRecord: 5.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML Organism Load (1.0ms) 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", Sat, 24 Aug 2013 05:15:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:15:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 1.2ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (1.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.0ms) 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", Sat, 24 Aug 2013 05:15:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:15:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 56 Completed 200 OK in 13ms (Views: 1.0ms | ActiveRecord: 2.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (2.6ms) 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", Sat, 24 Aug 2013 05:15:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:15:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 18ms (Views: 6.3ms | ActiveRecord: 4.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (4.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.8ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.7ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (2.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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", #], ["created_at", Sat, 24 Aug 2013 05:15:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 05:15:01 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" = 7  (0.1ms) SAVEPOINT active_record_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", 7], ["amount", #], ["created_at", Sat, 24 Aug 2013 05:15:01 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 05:15:01 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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" = 7  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.8ms) 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", #], ["created_at", Sat, 24 Aug 2013 05:15:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 05:15:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8  (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", 8], ["amount", #], ["created_at", Sat, 24 Aug 2013 05:15:01 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 05:15:01 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" = 8  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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", #], ["created_at", Sat, 24 Aug 2013 05:15:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 05:15:01 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" = 9  (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", 9], ["amount", #], ["created_at", Sat, 24 Aug 2013 05:15:01 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 05:15:01 UTC +00:00]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1001"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (35.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:16:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/new.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 142ms (Views: 87.1ms | ActiveRecord: 41.2ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1003", "id"=>"1"} Organism Load (0.3ms) 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", Sat, 24 Aug 2013 05:16:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1003/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1005", "id"=>"1"} Organism Load (1.0ms) 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", Sat, 24 Aug 2013 05:16:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 2.5ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1007", "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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:16:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1009", "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", Sat, 24 Aug 2013 05:16:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1009/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1011"} 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", Sat, 24 Aug 2013 05:16:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:21 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.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1013"} 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", Sat, 24 Aug 2013 05:16:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1015"} Organism Load (0.3ms) 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", Sat, 24 Aug 2013 05:16:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1015/adhesions Completed 302 Found in 6ms (ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"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", Sat, 24 Aug 2013 05:16:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.8ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) 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 (1.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:16:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 2.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1021"} 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", Sat, 24 Aug 2013 05:16:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 26ms (Views: 20.0ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1022"} 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", Sat, 24 Aug 2013 05:16:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1023"} 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", Sat, 24 Aug 2013 05:16:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:21 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1023/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1025"} Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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", Sat, 24 Aug 2013 05:16:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" Completed 200 OK in 13ms (Views: 2.1ms | ActiveRecord: 4.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1028"} 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", Sat, 24 Aug 2013 05:16:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  Completed 200 OK in 8ms (Views: 1.3ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1031"} 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", Sat, 24 Aug 2013 05:16:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1030/payments Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new 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.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:16:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 75ms (Views: 44.1ms | ActiveRecord: 4.7ms)  (0.1ms) 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.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", Sat, 24 Aug 2013 05:16:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 75) LIMIT 1 SQL (24.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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 75], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/11/coord/new Completed 302 Found in 79ms (ActiveRecord: 27.7ms)  (0.4ms) 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  (1.4ms) 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 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 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" = 'A001' AND "adherent_members"."organism_id" = 76) 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", Mon, 06 Jun 1955], ["created_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 76], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/12/coord/new Completed 302 Found in 12ms (ActiveRecord: 3.6ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.2ms) 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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' 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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 77], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/13/coord/new Completed 302 Found in 11ms (ActiveRecord: 4.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} 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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 79 Completed 200 OK in 17ms (Views: 11.0ms | ActiveRecord: 1.0ms)  (0.2ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} 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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 18ms (Views: 12.0ms | ActiveRecord: 0.9ms)  (0.2ms) 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.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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} 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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.8ms)  (0.1ms) 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.0ms) 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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1036"} 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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1036 Completed 302 Found in 7ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1037"} Organism Load (0.4ms) 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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1037 Completed 302 Found in 5ms (ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1038"} Organism Load (1.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.6ms) 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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 2.4ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1039"} 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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1039 Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1040"} 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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1041"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1042"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 3.2ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1044"} 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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1044/adhesions Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1046"} Organism Load (0.8ms) 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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1048"} 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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1048/adhesions Completed 302 Found in 7ms (ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1050"} 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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 2.5ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1051"} 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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1052", "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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1054", "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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1056", "id"=>"1"} 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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1058", "id"=>"1"} Organism Load (0.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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1060", "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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1060/payments/1061 Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1062", "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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1064", "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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1066", "id"=>"1"} 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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1066/payments/1067 Completed 302 Found in 6ms (ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1068"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1070"} Organism Load (1.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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1070/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1072"} 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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 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::CoordsController#index as HTML Parameters: {"member_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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 108 Completed 200 OK in 9ms (Views: 1.6ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1075"} Organism Load (0.6ms) 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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1076"} 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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.8ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1078"} Organism Load (0.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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (1.2ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1080"} 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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 131ms (Views: 126.1ms | ActiveRecord: 0.8ms)  (3.9ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1082"} Organism Load (0.5ms) 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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 6.5ms | ActiveRecord: 1.4ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1084"} 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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1084/coord Completed 302 Found in 8ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1086"} 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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1088"} 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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 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::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1090"} 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", Sat, 24 Aug 2013 05:16:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1090/coord Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.6ms) ROLLBACK  (0.0ms) 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.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) 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", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 05:16:23 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", #], ["created_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 14], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 05:16:23 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" = 14 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 14 ORDER BY to_date DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 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", #], ["created_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 14], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.8ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 14], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 14 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 14 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 10  (0.2ms) 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" = 10 SQL (0.7ms) 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", #], ["created_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["payment_id", 4], ["updated_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 11 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 11], ["amount", #], ["created_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["payment_id", 4], ["updated_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.8ms) 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", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 15], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 05:16:23 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" = 15 Adherent::Adhesion Load (0.3ms) 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.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", #], ["created_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 15], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 15], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 15 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 15 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 12  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 13  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 12 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 12], ["amount", #], ["created_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["payment_id", 5], ["updated_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 13 SQL (0.7ms) 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", #], ["created_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["payment_id", 5], ["updated_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00]]  (1.2ms) RELEASE SAVEPOINT active_record_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  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (1.1ms) 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", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 05:16:23 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", #], ["created_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 16], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 05:16:23 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" = 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.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", #], ["created_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 16], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 05:16:23 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", #], ["created_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 16], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 16 LIMIT 1 Adherent::Adhesion Load (1.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 16 ORDER BY to_date  (0.3ms) 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  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 14 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", 14], ["amount", #], ["created_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["payment_id", 6], ["updated_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.0ms) ROLLBACK  (0.2ms) 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.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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", #], ["created_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 16  (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", 16], ["amount", #], ["created_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 16  (0.1ms) ROLLBACK  (0.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 05:16:23 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" = 17  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 05:16:23 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" = 18  (0.0ms) 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", 18], ["amount", #], ["created_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 18  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 18  (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 (0.2ms) 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.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.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  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Tue, 06 Jun 1944], ["created_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00]]  (0.1ms) RELEASE 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  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 2) LIMIT 1  (0.3ms) 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.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (2.7ms) BEGIN Organism Load (1.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.5ms) 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", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 118) 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", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 118], ["updated_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 118) 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", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 118], ["updated_at", Sat, 24 Aug 2013 05:16:23 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" = 118) 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", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 118], ["updated_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00]]  (0.2ms) 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" = 'Adh003' AND "adherent_members"."organism_id" = 118) 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", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 118], ["updated_at", Sat, 24 Aug 2013 05:16:23 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" = 'Adh004' AND "adherent_members"."organism_id" = 118) 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", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 118], ["updated_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 07:16:23 +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" = 118 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 20 ORDER BY to_date Adherent::Coord Load (1.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 20 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 21 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 21 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 22 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 22 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 23 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 23 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 24 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 24 LIMIT 1 Rendered layouts/adherent/_header.html.haml (1.4ms) 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.1ms) Completed 200 OK in 141ms (Views: 131.9ms | ActiveRecord: 6.5ms)  (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 (1.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:23 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" = 119) LIMIT 1 SQL (1.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", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 119], ["updated_at", Sat, 24 Aug 2013 05:16:23 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" = 119) 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", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 119], ["updated_at", Sat, 24 Aug 2013 05:16:23 UTC +00:00]]  (0.3ms) 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" = 119) 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", Sat, 24 Aug 2013 05:16:23 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 119], ["updated_at", Sat, 24 Aug 2013 05:16:23 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" = 119) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 119], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 119) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 119], ["updated_at", Sat, 24 Aug 2013 05:16:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 07:16:24 +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.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 119 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 25 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 25 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 26 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 26 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 27 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 28 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 28 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 29 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 29 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 32ms (Views: 25.5ms | ActiveRecord: 3.8ms)  (0.9ms) 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.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 120) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 120], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 'Adh001' AND "adherent_members"."organism_id" = 120) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 120], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 120) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 120], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 120) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 120], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 120) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 120], ["updated_at", Sat, 24 Aug 2013 05:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 07:16:24 +0200 Processing by Adherent::MembersController#index as HTML 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"."organism_id" = 120 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 30 LIMIT 1 Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 31 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 31 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 32 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 32 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 33 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 33 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 34 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 40ms (Views: 31.7ms | ActiveRecord: 5.1ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/30/adhesions" for 127.0.0.1 at 2013-08-24 07:16:24 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"30"} Organism Load (0.2ms) 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", "30"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30 Redirected to http://www.example.com/adherent/members/30/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET "/adherent/members/30/adhesions/new" for 127.0.0.1 at 2013-08-24 07:16:24 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"30"} 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", "30"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (47.3ms) Rendered layouts/adherent/_header.html.haml (0.6ms) 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.5ms) Completed 200 OK in 71ms (Views: 66.0ms | ActiveRecord: 0.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  (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 05:16:24 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 121) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 121], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 121) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 121], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 121) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 121], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 121) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 121], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 121) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 121], ["updated_at", Sat, 24 Aug 2013 05:16:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 07:16:24 +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" = 121 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 35 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 36 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 36 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 37 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 37 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 38 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 38 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 39 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 33ms (Views: 26.7ms | ActiveRecord: 3.6ms) Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/35/payments" for 127.0.0.1 at 2013-08-24 07:16:24 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"35"} 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", "35"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 35 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 11ms (Views: 8.6ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 122) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 122], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 122) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 122], ["updated_at", Sat, 24 Aug 2013 05:16:24 UTC +00:00]]  (0.4ms) 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" = 122) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 122], ["updated_at", Sat, 24 Aug 2013 05:16:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 122) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 122], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 122) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 122], ["updated_at", Sat, 24 Aug 2013 05:16:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 07:16:24 +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" = 122 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 40 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 40 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 41 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 41 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 42 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 42 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 43 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 43 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 44 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 44 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 87ms (Views: 81.2ms | ActiveRecord: 3.3ms) Adherent::Member Load (5.6ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/40/coord" for 127.0.0.1 at 2013-08-24 07:16:24 +0200 Processing by Adherent::CoordsController#show 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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "40"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 40 LIMIT 1 Redirected to http://www.example.com/adherent/members/40/coord/new Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET "/adherent/members/40/coord/new" for 127.0.0.1 at 2013-08-24 07:16:24 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"40"} Organism Load (4.9ms) 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", "40"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 40 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (18.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 48ms (Views: 23.5ms | ActiveRecord: 5.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  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 123) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 123], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 123) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 123], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 123) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 123], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 123) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 123], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 123) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 123], ["updated_at", Sat, 24 Aug 2013 05:16:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 07:16:24 +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" = 123 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 45 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 45 LIMIT 1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 46 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 46 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 47 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 47 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 48 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 48 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 49 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 49 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 39ms (Views: 29.6ms | ActiveRecord: 4.2ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 45 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 45 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", #], ["created_at", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 45], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 05:16:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/45/adhesions" for 127.0.0.1 at 2013-08-24 07:16:24 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"45"} 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", "45"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 45 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 45  (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 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 16ms (Views: 11.9ms | ActiveRecord: 1.5ms)  (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 (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 'Adh000' AND "adherent_members"."organism_id" = 124) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 124], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 124) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 124], ["updated_at", Sat, 24 Aug 2013 05:16:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 124) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 124], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 124) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 124], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 124) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 124], ["updated_at", Sat, 24 Aug 2013 05:16:24 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 07:16:24 +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" = 124 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 50 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 50 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 51 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 51 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 52 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 52 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 53 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 53 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 54 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 54 LIMIT 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 31ms (Views: 25.1ms | ActiveRecord: 3.2ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 50], ["office", nil], ["tel", nil], ["updated_at", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["zip", nil]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 50 LIMIT 1 Started GET "/adherent/members/50/coord" for 127.0.0.1 at 2013-08-24 07:16:24 +0200 Processing by Adherent::CoordsController#show 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::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 50 LIMIT 1 Rendered layouts/adherent/_header.html.haml (0.7ms) 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: 5.5ms | ActiveRecord: 0.7ms)  (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 (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 'Adh000' AND "adherent_members"."organism_id" = 125) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 125], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 'Adh001' AND "adherent_members"."organism_id" = 125) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 125], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 'Adh002' AND "adherent_members"."organism_id" = 125) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 125], ["updated_at", Sat, 24 Aug 2013 05:16:24 UTC +00:00]]  (0.0ms) 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" = 'Adh003' AND "adherent_members"."organism_id" = 125) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 125], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 125) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 125], ["updated_at", Sat, 24 Aug 2013 05:16:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 07:16:24 +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" = 125 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 55 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 55 LIMIT 1 Adherent::Adhesion Load (0.2ms) 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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 57 ORDER BY to_date Adherent::Coord Load (0.2ms) 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.5ms) 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 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 31ms (Views: 23.7ms | ActiveRecord: 4.2ms) Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/55/edit" for 127.0.0.1 at 2013-08-24 07:16:24 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"55"} 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", "55"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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 22ms (Views: 20.1ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 126) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 126], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 126) LIMIT 1 SQL (19.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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 126], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 126) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 126], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 126) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 126], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 'Adh004' AND "adherent_members"."organism_id" = 126) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 126], ["updated_at", Sat, 24 Aug 2013 05:16:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 07:16:24 +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" = 126 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 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 61 ORDER BY to_date Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 61 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 62 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 62 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 63 ORDER BY to_date Adherent::Coord Load (0.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 63 LIMIT 1 Adherent::Adhesion Load (0.3ms) 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 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 30ms (Views: 23.1ms | ActiveRecord: 4.4ms) Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-24 07:16:24 +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 (6.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 12ms (Views: 10.0ms | ActiveRecord: 0.3ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 127) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 127], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 'Adh001' AND "adherent_members"."organism_id" = 127) LIMIT 1 SQL (1.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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 127], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 'Adh002' AND "adherent_members"."organism_id" = 127) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 127], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 127) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 127], ["updated_at", Sat, 24 Aug 2013 05:16:24 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" = 127) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 127], ["updated_at", Sat, 24 Aug 2013 05:16:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-24 07:16:24 +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 (6.7ms) 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 14ms (Views: 11.5ms | ActiveRecord: 0.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  Started POST "/adherent/members" for 127.0.0.1 at 2013-08-24 07:16:24 +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.3ms) 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" = 127) 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", Sat, 24 Aug 2013 05:16:24 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 127], ["updated_at", Sat, 24 Aug 2013 05:16:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/70/coord/new Completed 302 Found in 9ms (ActiveRecord: 1.3ms) Started GET "/adherent/members/70/coord/new" for 127.0.0.1 at 2013-08-24 07:16:24 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"70"} 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", "70"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 70 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.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 14ms (Views: 10.9ms | ActiveRecord: 0.6ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  (0.1ms) ROLLBACK Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (4.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 05:16:25 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 05:16:25 UTC +00:00]]  (26.9ms) COMMIT  (0.8ms) BEGIN Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 128) 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", Sat, 24 Aug 2013 05:16:25 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 128], ["updated_at", Sat, 24 Aug 2013 05:16:25 UTC +00:00]]  (1.0ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 128) LIMIT 1 SQL (2.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", Sat, 24 Aug 2013 05:16:25 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 128], ["updated_at", Sat, 24 Aug 2013 05:16:25 UTC +00:00]]  (1.0ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 128) 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", Sat, 24 Aug 2013 05:16:25 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 128], ["updated_at", Sat, 24 Aug 2013 05:16:25 UTC +00:00]]  (1.5ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 128) 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", Sat, 24 Aug 2013 05:16:25 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 128], ["updated_at", Sat, 24 Aug 2013 05:16:25 UTC +00:00]]  (1.3ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 128) 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", Sat, 24 Aug 2013 05:16:25 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 128], ["updated_at", Sat, 24 Aug 2013 05:16:25 UTC +00:00]]  (0.9ms) COMMIT Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 07:16:35 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.7ms) 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" = 128 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 71 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 71 LIMIT 1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 72 ORDER BY to_date Adherent::Coord Load (0.9ms) 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.3ms) 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 (2.7ms) 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.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 75 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.8ms) Completed 200 OK in 83ms (Views: 48.5ms | ActiveRecord: 29.0ms) Started GET "/assets/adherent/application.css" for 127.0.0.1 at 2013-08-24 07:16:35 +0200 Served asset /adherent/application.css - 200 OK (148ms) Started GET "/assets/adherent/application.js" for 127.0.0.1 at 2013-08-24 07:16:35 +0200 Served asset /adherent/application.js - 200 OK (156ms) Started GET "/assets/adherent/icones/navigation90.png" for 127.0.0.1 at 2013-08-24 07:16:35 +0200 Served asset /adherent/icones/navigation90.png - 200 OK (2ms) Started GET "/assets/adherent/icones/nouveau.png" for 127.0.0.1 at 2013-08-24 07:16:35 +0200 Served asset /adherent/icones/nouveau.png - 200 OK (2ms) Started GET "/assets/adherent/icones/afficher.png" for 127.0.0.1 at 2013-08-24 07:16:35 +0200 Served asset /adherent/icones/afficher.png - 200 OK (2ms) Started GET "/assets/adherent/icones/detail.png" for 127.0.0.1 at 2013-08-24 07:16:35 +0200 Served asset /adherent/icones/detail.png - 200 OK (2ms) Started GET "/assets/adherent/icones/modifier.png" for 127.0.0.1 at 2013-08-24 07:16:35 +0200 Served asset /adherent/icones/modifier.png - 200 OK (2ms) Started GET "/assets/adherent/icones/supprimer.png" for 127.0.0.1 at 2013-08-24 07:16:35 +0200 Served asset /adherent/icones/supprimer.png - 200 OK (1ms) Started GET "/assets/adherent/icones/payment.png" for 127.0.0.1 at 2013-08-24 07:16:35 +0200 Served asset /adherent/icones/payment.png - 200 OK (2ms) Started DELETE "/adherent/members/71" for 127.0.0.1 at 2013-08-24 07:16:37 +0200 Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"71"} Organism Load (4.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "71"]]  (0.1ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 71 LIMIT 1 SQL (0.6ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 71]]  (56.1ms) COMMIT Redirected to http://127.0.0.1:55837/adherent/members Completed 302 Found in 88ms (ActiveRecord: 63.5ms) Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 07:16:37 +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" = 128 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.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 72 LIMIT 1 Adherent::Adhesion Load (0.3ms) 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 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 29ms (Views: 23.0ms | ActiveRecord: 2.9ms)  (1.0ms) SELECT COUNT(*) FROM "adherent_members"   (93.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (19.5ms) select table_name from information_schema.views where table_schema = 'adh_test'  (332.0ms) TRUNCATE TABLE "adherent_coords", "adherent_adhesions", "adherent_payments", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (1.2ms) 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  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' AND "adherent_members"."organism_id" = 1) 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", Sat, 24 Aug 2013 05:16:39 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 05:16:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.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", Sat, 24 Aug 2013 05:16:39 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 1], ["office", nil], ["tel", nil], ["updated_at", Sat, 24 Aug 2013 05:16:39 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 1]] SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (68.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 06:02:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:02:39 UTC +00:00]]  (0.2ms) 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" = 1) 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", Sat, 24 Aug 2013 06:02:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 06:02:40 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/2/coord/new" for 127.0.0.1 at 2013-08-24 08:02:40 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"2"} 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", "2"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 2 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (129.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/new.html.erb within layouts/adherent/application (135.0ms) Rendered layouts/adherent/_header.html.haml (0.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (2.1ms) Completed 200 OK in 196ms (Views: 164.6ms | ActiveRecord: 2.6ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (2.0ms) 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", Sat, 24 Aug 2013 06:02:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:02:40 UTC +00:00]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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" = 2) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 06:02:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 2], ["updated_at", Sat, 24 Aug 2013 06:02:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members/3/coord/new" for 127.0.0.1 at 2013-08-24 08:02:40 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"3"} Organism Load (5.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", "3"]] Adherent::Coord Load (2.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 3 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (19.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 39ms (Views: 28.2ms | ActiveRecord: 7.4ms) Adherent::Coord Load (3.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 3 LIMIT 1  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (0.6ms) BEGIN Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 06:03:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:03:39 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" = 'Adh000' AND "adherent_members"."organism_id" = 3) 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", Sat, 24 Aug 2013 06:03:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 3], ["updated_at", Sat, 24 Aug 2013 06:03:39 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/4/coord/new" for 127.0.0.1 at 2013-08-24 08:03:40 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"4"} 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", "4"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (106.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/new.html.erb within layouts/adherent/application (113.8ms) Rendered layouts/adherent/_header.html.haml (1.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (1.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 169ms (Views: 131.6ms | ActiveRecord: 5.3ms)  (0.8ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Sat, 24 Aug 2013 06:03:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:03:40 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" = 'Adh000' AND "adherent_members"."organism_id" = 4) 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", Sat, 24 Aug 2013 06:03:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 4], ["updated_at", Sat, 24 Aug 2013 06:03:40 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/5/coord/new" for 127.0.0.1 at 2013-08-24 08:03:40 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"5"} 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", "5"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.3ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 17ms (Views: 12.2ms | ActiveRecord: 0.9ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords" Started POST "/adherent/members/5/coord" for 127.0.0.1 at 2013-08-24 08:03:40 +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"=>"5"} 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", "5"]] Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) 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", Sat, 24 Aug 2013 06:03:40 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 5], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 06:03:40 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/5/adhesions/new Completed 302 Found in 10ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/5/adhesions/new" for 127.0.0.1 at 2013-08-24 08:03:40 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"5"} 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", "5"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (12.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.0ms) Completed 200 OK in 114ms (Views: 18.0ms | ActiveRecord: 3.2ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"   (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 06:05:10 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:05:10 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" = 'Adh000' AND "adherent_members"."organism_id" = 5) 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", Sat, 24 Aug 2013 06:05:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 5], ["updated_at", Sat, 24 Aug 2013 06:05:10 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/6/coord/new" for 127.0.0.1 at 2013-08-24 08:05:11 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"6"} 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", "6"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 6 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (85.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/new.html.erb within layouts/adherent/application (90.6ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.2ms) Completed 200 OK in 135ms (Views: 107.1ms | ActiveRecord: 2.7ms)  (0.6ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) 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", Sat, 24 Aug 2013 06:05:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:05:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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" = 6) LIMIT 1 SQL (49.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", Sat, 24 Aug 2013 06:05:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 6], ["updated_at", Sat, 24 Aug 2013 06:05:11 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/7/coord/new" for 127.0.0.1 at 2013-08-24 08:05:11 +0200 Processing by Adherent::CoordsController#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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "7"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 7 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.6ms) 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 16ms (Views: 11.5ms | ActiveRecord: 1.0ms)  (0.6ms) 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", Sat, 24 Aug 2013 06:05:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:05:11 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" = 'Adh000' AND "adherent_members"."organism_id" = 7) 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", Sat, 24 Aug 2013 06:05:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 7], ["updated_at", Sat, 24 Aug 2013 06:05:11 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/8/coord/new" for 127.0.0.1 at 2013-08-24 08:05:11 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"8"} 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", "8"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 8 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.1ms) 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: 11.7ms | ActiveRecord: 0.8ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_coords" Started POST "/adherent/members/8/coord" for 127.0.0.1 at 2013-08-24 08:05:11 +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"=>"8"} 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", "8"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 8 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.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", ""], ["city", "Oklahoma city"], ["created_at", Sat, 24 Aug 2013 06:05:11 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 8], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 06:05:11 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/8/adhesions/new Completed 302 Found in 10ms (ActiveRecord: 1.7ms) Started GET "/adherent/members/8/adhesions/new" for 127.0.0.1 at 2013-08-24 08:05:11 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"8"} 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", "8"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 8 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 8 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (13.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 44ms (Views: 19.8ms | ActiveRecord: 3.0ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_coords"   (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.8ms) SAVEPOINT active_record_1 SQL (4.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 06:05:26 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:05:26 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" = 8) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 06:05:26 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 8], ["updated_at", Sat, 24 Aug 2013 06:05:26 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/9/coord/new" for 127.0.0.1 at 2013-08-24 08:05:26 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"9"} 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", "9"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 9 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (86.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/new.html.erb within layouts/adherent/application (91.3ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 137ms (Views: 108.1ms | ActiveRecord: 2.8ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_coords" Started POST "/adherent/members/9/coord" for 127.0.0.1 at 2013-08-24 08:05:26 +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"=>"9"} 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", "9"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 9 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", "Oklahoma city"], ["created_at", Sat, 24 Aug 2013 06:05:27 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 9], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 06:05:27 UTC +00:00], ["zip", ""]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/9/adhesions/new Completed 302 Found in 10ms (ActiveRecord: 1.7ms) Started GET "/adherent/members/9/adhesions/new" for 127.0.0.1 at 2013-08-24 08:05:27 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"9"} 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", "9"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 9 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 9 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (13.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/new.html.erb within layouts/adherent/application (15.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 45ms (Views: 20.6ms | ActiveRecord: 3.7ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_coords"   (1.4ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 06:05:27 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:05:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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" = 9) 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", Sat, 24 Aug 2013 06:05:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 9], ["updated_at", Sat, 24 Aug 2013 06:05:27 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/10/coord/new" for 127.0.0.1 at 2013-08-24 08:05:27 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"10"} 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", "10"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 10 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (6.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.0ms) Completed 200 OK in 17ms (Views: 12.2ms | ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 06:05:27 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:05:27 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" = 'Adh000' AND "adherent_members"."organism_id" = 10) 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", Sat, 24 Aug 2013 06:05:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 10], ["updated_at", Sat, 24 Aug 2013 06:05:27 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/11/coord/new" for 127.0.0.1 at 2013-08-24 08:05:27 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"11"} 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", "11"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 11 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.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.3ms) Completed 200 OK in 17ms (Views: 12.2ms | ActiveRecord: 0.7ms) Started POST "/adherent/members/11/coord" for 127.0.0.1 at 2013-08-24 08:05:27 +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"=>"11"} 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", "11"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 11 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", Sat, 24 Aug 2013 06:05:27 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 11], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 06:05:27 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/11/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 1.5ms) Started GET "/adherent/members/11/adhesions/new" for 127.0.0.1 at 2013-08-24 08:05:27 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"11"} Organism Load (0.4ms) 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", "11"]] Adherent::Adhesion Load (0.2ms) 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 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 14ms (Views: 8.3ms | ActiveRecord: 1.5ms) Adherent::Coord Load (0.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 11 LIMIT 1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 06:06:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:06:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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" = 11) 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", Sat, 24 Aug 2013 06:06:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 11], ["updated_at", Sat, 24 Aug 2013 06:06:15 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/12/coord/new" for 127.0.0.1 at 2013-08-24 08:06:16 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"12"} 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", "12"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 12 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (92.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/new.html.erb within layouts/adherent/application (96.7ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.2ms) Completed 200 OK in 142ms (Views: 112.8ms | ActiveRecord: 3.1ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords" Started POST "/adherent/members/12/coord" for 127.0.0.1 at 2013-08-24 08:06:16 +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"=>"12"} 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", "12"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 12 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", "Oklahoma city"], ["created_at", Sat, 24 Aug 2013 06:06:16 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 12], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 06:06:16 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/12/adhesions/new Completed 302 Found in 9ms (ActiveRecord: 1.8ms) Started GET "/adherent/members/12/adhesions/new" for 127.0.0.1 at 2013-08-24 08:06:16 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"12"} 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", "12"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 12 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 12 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (12.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/new.html.erb within layouts/adherent/application (14.7ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 45ms (Views: 20.2ms | ActiveRecord: 2.8ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"   (0.4ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) 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", Sat, 24 Aug 2013 06:06:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:06:16 UTC +00:00]]  (0.1ms) 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" = 12) 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", Sat, 24 Aug 2013 06:06:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 12], ["updated_at", Sat, 24 Aug 2013 06:06:16 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/13/coord/new" for 127.0.0.1 at 2013-08-24 08:06:16 +0200 Processing by Adherent::CoordsController#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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "13"]] Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 13 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.8ms) Rendered layouts/adherent/_header.html.haml (1.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: 13.0ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.4ms) BEGIN Organism Load (0.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", Sat, 24 Aug 2013 06:06:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:06: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" = 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", Sat, 24 Aug 2013 06:06:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 13], ["updated_at", Sat, 24 Aug 2013 06:06:16 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/14/coord/new" for 127.0.0.1 at 2013-08-24 08:06:16 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"14"} Organism Load (0.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", "14"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 14 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.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 18ms (Views: 13.5ms | ActiveRecord: 0.8ms) Started POST "/adherent/members/14/coord" for 127.0.0.1 at 2013-08-24 08:06:16 +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"=>"14"} 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", "14"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 14 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", Sat, 24 Aug 2013 06:06:16 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 14], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 06:06:16 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/14/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 1.7ms) Started GET "/adherent/members/14/adhesions/new" for 127.0.0.1 at 2013-08-24 08:06:16 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"14"} 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", "14"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 14 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 14 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 14ms (Views: 8.9ms | ActiveRecord: 0.9ms) Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 14 LIMIT 1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (1.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 06:07:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:07:36 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" = 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", Sat, 24 Aug 2013 06:07:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 14], ["updated_at", Sat, 24 Aug 2013 06:07:36 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/15/coord/new" for 127.0.0.1 at 2013-08-24 08:07:36 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"15"} Organism Load (1.7ms) 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", "15"]] Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 15 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (87.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/new.html.erb within layouts/adherent/application (92.4ms) Rendered layouts/adherent/_header.html.haml (0.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 137ms (Views: 107.8ms | ActiveRecord: 5.2ms) Started POST "/adherent/members/15/coord" for 127.0.0.1 at 2013-08-24 08:07:36 +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"=>"15"} 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", "15"]] Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 15 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.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", ""], ["city", "Oklahoma city"], ["created_at", Sat, 24 Aug 2013 06:07:36 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 15], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 06:07:36 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/15/adhesions/new Completed 302 Found in 9ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/15/adhesions/new" for 127.0.0.1 at 2013-08-24 08:07:36 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"15"} 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", "15"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 15 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 15 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (13.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/new.html.erb within layouts/adherent/application (16.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 44ms (Views: 19.2ms | ActiveRecord: 2.8ms) Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 15 LIMIT 1  (0.4ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 06:07:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:07:36 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" = 'Adh000' AND "adherent_members"."organism_id" = 15) 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", Sat, 24 Aug 2013 06:07:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 15], ["updated_at", Sat, 24 Aug 2013 06:07:36 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/16/coord/new" for 127.0.0.1 at 2013-08-24 08:07:36 +0200 Processing by Adherent::CoordsController#new 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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "16"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 16 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (9.3ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.0ms) Completed 200 OK in 19ms (Views: 15.0ms | ActiveRecord: 0.8ms) Started POST "/adherent/members/16/coord" for 127.0.0.1 at 2013-08-24 08:07:36 +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"=>"16"} Organism Load (0.3ms) 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", "16"]] Adherent::Coord Load (0.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 16 LIMIT 1  (0.6ms) 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", ""], ["created_at", Sat, 24 Aug 2013 06:07:36 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 16], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 06:07:36 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/16/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 1.9ms) Started GET "/adherent/members/16/adhesions/new" for 127.0.0.1 at 2013-08-24 08:07:36 +0200 Processing by Adherent::AdhesionsController#new 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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "16"]] Adherent::Adhesion Load (0.2ms) 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 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 14ms (Views: 8.8ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Sat, 24 Aug 2013 06:07:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:07:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 16) 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", Sat, 24 Aug 2013 06:07:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 16], ["updated_at", Sat, 24 Aug 2013 06:07:36 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/17/coord/new" for 127.0.0.1 at 2013-08-24 08:07:36 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"17"} 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", "17"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 17 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.6ms) Rendered layouts/adherent/_header.html.haml (0.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 67ms (Views: 61.8ms | ActiveRecord: 0.8ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  Started POST "/adherent/members/17/coord" for 127.0.0.1 at 2013-08-24 08:07:36 +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"=>"17"} 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", "17"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 17 LIMIT 1  (0.2ms) 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", Sat, 24 Aug 2013 06:07:36 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 17], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 06:07:36 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/17/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 1.4ms) Started GET "/adherent/members/17/adhesions/new" for 127.0.0.1 at 2013-08-24 08:07:36 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"17"} 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", "17"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 17 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 17 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 15ms (Views: 10.4ms | ActiveRecord: 1.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Sat, 24 Aug 2013 06:07:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:07:36 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" = 'Adh000' AND "adherent_members"."organism_id" = 17) 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", Sat, 24 Aug 2013 06:07:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 17], ["updated_at", Sat, 24 Aug 2013 06:07:36 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/18/coord/new" for 127.0.0.1 at 2013-08-24 08:07:36 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"18"} 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", "18"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 18 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.7ms) Rendered layouts/adherent/_header.html.haml (0.7ms) 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: 0.6ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (1.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", Sat, 24 Aug 2013 06:08:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:08:16 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" = 18) 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", Sat, 24 Aug 2013 06:08:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 18], ["updated_at", Sat, 24 Aug 2013 06:08:16 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/19/coord/new" for 127.0.0.1 at 2013-08-24 08:08:16 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"19"} Organism Load (1.0ms) 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", "19"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 19 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (93.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/new.html.erb within layouts/adherent/application (98.5ms) Rendered layouts/adherent/_header.html.haml (0.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 144ms (Views: 114.7ms | ActiveRecord: 3.0ms)  (1.2ms) 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", Sat, 24 Aug 2013 06:08:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:08:16 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" = 'Adh000' AND "adherent_members"."organism_id" = 19) 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", Sat, 24 Aug 2013 06:08:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 19], ["updated_at", Sat, 24 Aug 2013 06:08:16 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/20/coord/new" for 127.0.0.1 at 2013-08-24 08:08:16 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"20"} Organism Load (1.9ms) 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", "20"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 20 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (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 20ms (Views: 14.1ms | ActiveRecord: 2.5ms) Started POST "/adherent/members/20/coord" for 127.0.0.1 at 2013-08-24 08:08:16 +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"=>"20"} 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", "20"]] Adherent::Coord Load (0.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 20 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", ""], ["created_at", Sat, 24 Aug 2013 06:08:16 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 20], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 06:08:16 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/20/adhesions/new Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET "/adherent/members/20/adhesions/new" for 127.0.0.1 at 2013-08-24 08:08:16 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"20"} 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", "20"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 20 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 20 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (13.1ms) 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: 19.3ms | ActiveRecord: 2.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Sat, 24 Aug 2013 06:08:17 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:08:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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" = 20) 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", Sat, 24 Aug 2013 06:08:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 20], ["updated_at", Sat, 24 Aug 2013 06:08:17 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/21/coord/new" for 127.0.0.1 at 2013-08-24 08:08:17 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"21"} 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", "21"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 21 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.4ms) Rendered layouts/adherent/_header.html.haml (0.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 19ms (Views: 14.1ms | ActiveRecord: 1.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords" Started POST "/adherent/members/21/coord" for 127.0.0.1 at 2013-08-24 08:08:17 +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"=>"21"} 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", "21"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 21 LIMIT 1  (0.7ms) SAVEPOINT active_record_1 SQL (0.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", ""], ["city", "Oklahoma city"], ["created_at", Sat, 24 Aug 2013 06:08:17 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 21], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 06:08:17 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/21/adhesions/new Completed 302 Found in 9ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/21/adhesions/new" for 127.0.0.1 at 2013-08-24 08:08:17 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"21"} Organism Load (0.8ms) 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", "21"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 21 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 21 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (6.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 62ms (Views: 10.2ms | ActiveRecord: 1.7ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 06:08:17 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:08:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 21) 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", Sat, 24 Aug 2013 06:08:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 21], ["updated_at", Sat, 24 Aug 2013 06:08:17 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/22/coord/new" for 127.0.0.1 at 2013-08-24 08:08:17 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"22"} 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", "22"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 22 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (10.0ms) 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 19ms (Views: 14.8ms | ActiveRecord: 0.8ms) Started POST "/adherent/members/22/coord" for 127.0.0.1 at 2013-08-24 08:08:17 +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"=>"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::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 22 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", Sat, 24 Aug 2013 06:08:17 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 22], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 06:08:17 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/22/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 1.3ms) Started GET "/adherent/members/22/adhesions/new" for 127.0.0.1 at 2013-08-24 08:08:17 +0200 Processing by Adherent::AdhesionsController#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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 22 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 22 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (8.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 16ms (Views: 10.9ms | ActiveRecord: 1.0ms) Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 22 LIMIT 1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (56.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 06:48:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:48:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 22) LIMIT 1 SQL (13.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", Sat, 24 Aug 2013 06:48:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 22], ["updated_at", Sat, 24 Aug 2013 06:48:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (1.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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", Sat, 24 Aug 2013 06:49:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:49:07 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" = 23) 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", Sat, 24 Aug 2013 06:49:07 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 23], ["updated_at", Sat, 24 Aug 2013 06:49:07 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/24/adhesions/new" for 127.0.0.1 at 2013-08-24 08:49:08 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"24"} 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", "24"]] Adherent::Adhesion Load (0.3ms) 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 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (138.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/new.html.erb within layouts/adherent/application (160.5ms) Rendered layouts/adherent/_header.html.haml (1.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.3ms) Completed 200 OK in 319ms (Views: 250.2ms | ActiveRecord: 3.1ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 06:49:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:49:22 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" = 24) 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", Sat, 24 Aug 2013 06:49:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 24], ["updated_at", Sat, 24 Aug 2013 06:49:22 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/25/adhesions/new" for 127.0.0.1 at 2013-08-24 08:49:22 +0200 Processing by Adherent::AdhesionsController#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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "25"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 25 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 25 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (70.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/new.html.erb within layouts/adherent/application (76.0ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.8ms) Completed 200 OK in 131ms (Views: 91.8ms | ActiveRecord: 3.9ms)  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (1.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 06:52:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:52:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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" = 25) 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", Sat, 24 Aug 2013 06:52:07 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 25], ["updated_at", Sat, 24 Aug 2013 06:52:07 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/26/adhesions/new" for 127.0.0.1 at 2013-08-24 08:52:07 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"26"} 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", "26"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 26 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 26 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (71.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/new.html.erb within layouts/adherent/application (76.2ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.9ms) Completed 200 OK in 131ms (Views: 91.2ms | ActiveRecord: 3.7ms)  (0.9ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 26 Started POST "/adherent/members/26/adhesions" for 127.0.0.1 at 2013-08-24 08:52:08 +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"=>"26"} 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", "26"]]  (0.1ms) SAVEPOINT active_record_1 SQL (15.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", #], ["created_at", Sat, 24 Aug 2013 06:52:08 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 26], ["to_date", Thu, 31 Jul 2014], ["updated_at", Sat, 24 Aug 2013 06:52:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/26/adhesions Completed 302 Found in 25ms (ActiveRecord: 16.3ms) Started GET "/adherent/members/26/adhesions" for 127.0.0.1 at 2013-08-24 08:52:08 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"26"} 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", "26"]]  (0.3ms) SELECT COUNT(*) 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  (0.8ms) 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/adhesions/index.html.haml within layouts/adherent/application (18.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 28ms (Views: 20.9ms | ActiveRecord: 3.6ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 26  (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.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 06:52:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:52:08 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" = 'Adh000' AND "adherent_members"."organism_id" = 26) 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", Sat, 24 Aug 2013 06:52:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 26], ["updated_at", Sat, 24 Aug 2013 06:52:08 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/27/adhesions/new" for 127.0.0.1 at 2013-08-24 08:52:08 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"27"} 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", "27"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 17ms (Views: 10.8ms | ActiveRecord: 1.3ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.7ms) 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", Sat, 24 Aug 2013 06:53:28 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:53:28 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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" = 27) 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", Sat, 24 Aug 2013 06:53:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 27], ["updated_at", Sat, 24 Aug 2013 06:53:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members/28/adhesions/new" for 127.0.0.1 at 2013-08-24 08:53:28 +0200 Processing by Adherent::AdhesionsController#new 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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "28"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 28 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 28 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (72.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/new.html.erb within layouts/adherent/application (76.0ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 133ms (Views: 92.9ms | ActiveRecord: 2.9ms)  (1.0ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 28 Started POST "/adherent/members/28/adhesions" for 127.0.0.1 at 2013-08-24 08:53:28 +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"=>"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"]]  (0.1ms) SAVEPOINT active_record_1 SQL (36.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", #], ["created_at", Sat, 24 Aug 2013 06:53:28 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 28], ["to_date", Thu, 31 Jul 2014], ["updated_at", Sat, 24 Aug 2013 06:53:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/28/adhesions Completed 302 Found in 45ms (ActiveRecord: 37.1ms) Started GET "/adherent/members/28/adhesions" for 127.0.0.1 at 2013-08-24 08:53:29 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"28"} Organism Load (0.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", "28"]]  (1.3ms) SELECT COUNT(*) 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  (0.4ms) 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/adhesions/index.html.haml within layouts/adherent/application (18.4ms) 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 27ms (Views: 20.0ms | ActiveRecord: 4.2ms)  (0.8ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 28  (0.3ms) 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", Sat, 24 Aug 2013 06:53:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:53:29 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" = 28) 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", Sat, 24 Aug 2013 06:53:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 28], ["updated_at", Sat, 24 Aug 2013 06:53:29 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/29/adhesions/new" for 127.0.0.1 at 2013-08-24 08:53:29 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"29"} 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", "29"]] Adherent::Adhesion Load (0.0ms) 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 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 18ms (Views: 12.0ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (1.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 06:57:17 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:57:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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" = 29) 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", Sat, 24 Aug 2013 06:57:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 29], ["updated_at", Sat, 24 Aug 2013 06:57:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members/30/adhesions/new" for 127.0.0.1 at 2013-08-24 08:57:17 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"30"} 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", "30"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (72.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/new.html.erb within layouts/adherent/application (77.6ms) Rendered layouts/adherent/_header.html.haml (0.9ms) 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.3ms) Completed 200 OK in 134ms (Views: 92.8ms | ActiveRecord: 3.3ms)  (0.6ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Sat, 24 Aug 2013 06:57:18 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:57:18 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" = 'Adh000' AND "adherent_members"."organism_id" = 30) 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", Sat, 24 Aug 2013 06:57:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 30], ["updated_at", Sat, 24 Aug 2013 06:57:18 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/31/adhesions/new" for 127.0.0.1 at 2013-08-24 08:57:18 +0200 Processing by Adherent::AdhesionsController#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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "31"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 31 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 31 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 18ms (Views: 11.7ms | ActiveRecord: 1.2ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 31 Started POST "/adherent/members/31/adhesions" for 127.0.0.1 at 2013-08-24 08:57:18 +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"=>"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"]]  (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", #], ["created_at", Sat, 24 Aug 2013 06:57:18 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 31], ["to_date", Thu, 31 Jul 2014], ["updated_at", Sat, 24 Aug 2013 06:57:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/31/adhesions Completed 302 Found in 9ms (ActiveRecord: 1.6ms) Started GET "/adherent/members/31/adhesions" for 127.0.0.1 at 2013-08-24 08:57:18 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"31"} Organism Load (0.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", "31"]]  (1.1ms) SELECT COUNT(*) 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  (0.5ms) 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 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 26ms (Views: 19.0ms | ActiveRecord: 3.8ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 31  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (1.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 06:59:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:59:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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" = 31) 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", Sat, 24 Aug 2013 06:59:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 31], ["updated_at", Sat, 24 Aug 2013 06:59:03 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/32/adhesions/new" for 127.0.0.1 at 2013-08-24 08:59:03 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"32"} Organism Load (0.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", "32"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 32 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 32 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (72.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/new.html.erb within layouts/adherent/application (77.9ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (2.3ms) Completed 200 OK in 136ms (Views: 94.0ms | ActiveRecord: 3.5ms)  (0.5ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 06:59:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:59:03 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" = 32) LIMIT 1 SQL (115.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", Sat, 24 Aug 2013 06:59:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 32], ["updated_at", Sat, 24 Aug 2013 06:59:03 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members/33/adhesions/new" for 127.0.0.1 at 2013-08-24 08:59:03 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"33"} Organism Load (0.9ms) 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", "33"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 33 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 33 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (5.5ms) 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 20ms (Views: 12.4ms | ActiveRecord: 1.8ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 33 Started POST "/adherent/members/33/adhesions" for 127.0.0.1 at 2013-08-24 08:59:03 +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"=>"33"} 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", "33"]]  (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", #], ["created_at", Sat, 24 Aug 2013 06:59:03 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 33], ["to_date", Thu, 31 Jul 2014], ["updated_at", Sat, 24 Aug 2013 06:59:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/33/adhesions Completed 302 Found in 9ms (ActiveRecord: 1.5ms) Started GET "/adherent/members/33/adhesions" for 127.0.0.1 at 2013-08-24 08:59:03 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"33"} 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", "33"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 33 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 33  (1.0ms) 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 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: 20.3ms | ActiveRecord: 3.9ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 33  (0.4ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.0ms) 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", Sat, 24 Aug 2013 06:59:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 06:59:03 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" = 33) 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", Sat, 24 Aug 2013 06:59:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 33], ["updated_at", Sat, 24 Aug 2013 06:59:03 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/34/adhesions" for 127.0.0.1 at 2013-08-24 08:59:03 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"34"} 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", "34"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 Redirected to http://www.example.com/adherent/members/34/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET "/adherent/members/34/adhesions/new" for 127.0.0.1 at 2013-08-24 08:59:03 +0200 Processing by Adherent::AdhesionsController#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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (5.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 16ms (Views: 11.1ms | ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 07:00:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 07:00:33 UTC +00:00]]  (0.3ms) 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" = 34) 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", Sat, 24 Aug 2013 07:00:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 34], ["updated_at", Sat, 24 Aug 2013 07:00:33 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/35/adhesions/new" for 127.0.0.1 at 2013-08-24 09:00:33 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"35"} 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", "35"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (75.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/new.html.erb within layouts/adherent/application (80.3ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 139ms (Views: 99.8ms | ActiveRecord: 3.1ms)  (0.6ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.1ms) 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", Sat, 24 Aug 2013 07:00:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 07:00: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" = 'Adh000' AND "adherent_members"."organism_id" = 35) 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", Sat, 24 Aug 2013 07:00:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 35], ["updated_at", Sat, 24 Aug 2013 07:00:33 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/36/adhesions/new" for 127.0.0.1 at 2013-08-24 09:00:33 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"36"} 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", "36"]] Adherent::Adhesion Load (1.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 36 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 36 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 18ms (Views: 10.8ms | ActiveRecord: 2.2ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 36 Started POST "/adherent/members/36/adhesions" for 127.0.0.1 at 2013-08-24 09:00:33 +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"=>"36"} Organism Load (0.0ms) 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", "36"]]  (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", #], ["created_at", Sat, 24 Aug 2013 07:00:33 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 36], ["to_date", Thu, 31 Jul 2014], ["updated_at", Sat, 24 Aug 2013 07:00:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/36/adhesions Completed 302 Found in 10ms (ActiveRecord: 1.1ms) Started GET "/adherent/members/36/adhesions" for 127.0.0.1 at 2013-08-24 09:00:33 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"36"} 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", "36"]]  (0.2ms) SELECT COUNT(*) 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  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 5 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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.1ms) Completed 200 OK in 28ms (Views: 20.1ms | ActiveRecord: 4.1ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 36  (0.5ms) 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", Sat, 24 Aug 2013 07:00:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 07:00:33 UTC +00:00]]  (0.0ms) 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" = 'Adh000' AND "adherent_members"."organism_id" = 36) 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", Sat, 24 Aug 2013 07:00:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 36], ["updated_at", Sat, 24 Aug 2013 07:00:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (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", #], ["created_at", Sat, 24 Aug 2013 07:00:33 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 37], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 07:00:33 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/37/adhesions" for 127.0.0.1 at 2013-08-24 09:00:33 +0200 Processing by Adherent::AdhesionsController#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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "37"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 37 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 37  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 6 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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 15ms (Views: 10.8ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 07:00:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 07:00:54 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" = 37) 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", Sat, 24 Aug 2013 07:00:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 37], ["updated_at", Sat, 24 Aug 2013 07:00:54 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/38/adhesions/new" for 127.0.0.1 at 2013-08-24 09:00:54 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"38"} 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", "38"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 38 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 38 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (71.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/new.html.erb within layouts/adherent/application (76.7ms) Rendered layouts/adherent/_header.html.haml (0.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 138ms (Views: 93.5ms | ActiveRecord: 3.1ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.1ms) 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", Sat, 24 Aug 2013 07:00:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 07:00:54 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" = 38) 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", Sat, 24 Aug 2013 07:00:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 38], ["updated_at", Sat, 24 Aug 2013 07:00:54 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/39/adhesions/new" for 127.0.0.1 at 2013-08-24 09:00:54 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"39"} 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", "39"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 19ms (Views: 13.2ms | ActiveRecord: 0.8ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39 Started POST "/adherent/members/39/adhesions" for 127.0.0.1 at 2013-08-24 09:00:54 +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"=>"39"} 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", "39"]]  (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", #], ["created_at", Sat, 24 Aug 2013 07:00:54 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 39], ["to_date", Thu, 31 Jul 2014], ["updated_at", Sat, 24 Aug 2013 07:00:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/39/adhesions Completed 302 Found in 10ms (ActiveRecord: 1.6ms) Started GET "/adherent/members/39/adhesions" for 127.0.0.1 at 2013-08-24 09:00:54 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"39"} 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", "39"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39  (0.7ms) 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 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: 20.4ms | ActiveRecord: 3.4ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39  (0.3ms) 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", Sat, 24 Aug 2013 07:00:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 07:00:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 39) 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", Sat, 24 Aug 2013 07:00:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 39], ["updated_at", Sat, 24 Aug 2013 07:00:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (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", #], ["created_at", Sat, 24 Aug 2013 07:00:54 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 40], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 07:00:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/40/adhesions" for 127.0.0.1 at 2013-08-24 09:00:54 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"40"} Organism Load (0.9ms) 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", "40"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 40 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 40  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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 16ms (Views: 11.6ms | ActiveRecord: 1.9ms)  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 07:03:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 07:03:07 UTC +00:00]]  (1.2ms) 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" = 40) 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", Sat, 24 Aug 2013 07:03:07 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 40], ["updated_at", Sat, 24 Aug 2013 07:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members"  (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", #], ["created_at", Sat, 24 Aug 2013 07:03:07 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 41], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 07:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/41/adhesions" for 127.0.0.1 at 2013-08-24 09:03:07 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"41"} 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", "41"]]  (0.6ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 41 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 41  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 9 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/adhesions/index.html.haml within layouts/adherent/application (22.5ms) Rendered layouts/adherent/_header.html.haml (0.9ms) 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.1ms) Completed 200 OK in 48ms (Views: 37.7ms | ActiveRecord: 4.4ms)  (2.6ms) ROLLBACK  (0.8ms) BEGIN Organism Load (1.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", Sat, 24 Aug 2013 07:03:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 07:03:07 UTC +00:00]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.9ms) 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" = 41) LIMIT 1 SQL (2.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", Sat, 24 Aug 2013 07:03:07 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 41], ["updated_at", Sat, 24 Aug 2013 07:03:07 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members"  (0.7ms) SAVEPOINT active_record_1 SQL (2.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 07:03:07 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 42], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 07:03:07 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/42/adhesions" for 127.0.0.1 at 2013-08-24 09:03:07 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"42"} Organism Load (0.8ms) 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", "42"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 42 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 42  (0.3ms) 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 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 17ms (Views: 9.6ms | ActiveRecord: 2.9ms) Started GET "/adherent/members/42/adhesions/10/edit" for 127.0.0.1 at 2013-08-24 09:03:07 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"42", "id"=>"10"} 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", "42"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 42 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "10"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (24.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 48ms (Views: 42.7ms | ActiveRecord: 1.3ms)  (0.4ms) ROLLBACK  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 07:03:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 07:03:08 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" = 42) 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", Sat, 24 Aug 2013 07:03:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 42], ["updated_at", Sat, 24 Aug 2013 07:03:08 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members/43/adhesions/new" for 127.0.0.1 at 2013-08-24 09:03:08 +0200 Processing by Adherent::AdhesionsController#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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "43"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 43 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 43 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (9.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 21ms (Views: 13.7ms | ActiveRecord: 1.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 43 Started POST "/adherent/members/43/adhesions" for 127.0.0.1 at 2013-08-24 09:03:08 +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"=>"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"]]  (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", #], ["created_at", Sat, 24 Aug 2013 07:03:08 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 43], ["to_date", Thu, 31 Jul 2014], ["updated_at", Sat, 24 Aug 2013 07:03:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/43/adhesions Completed 302 Found in 8ms (ActiveRecord: 1.2ms) Started GET "/adherent/members/43/adhesions" for 127.0.0.1 at 2013-08-24 09:03:08 +0200 Processing by Adherent::AdhesionsController#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"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 43 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 43  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 11 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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 12ms (Views: 8.3ms | ActiveRecord: 1.9ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 43  (0.1ms) ROLLBACK  (0.0ms) BEGIN 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", Sat, 24 Aug 2013 07:03:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 07:03:08 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" = 43) 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", Sat, 24 Aug 2013 07:03:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 43], ["updated_at", Sat, 24 Aug 2013 07:03:08 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/44/adhesions/new" for 127.0.0.1 at 2013-08-24 09:03:08 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"44"} 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", "44"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 44 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 44 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 15ms (Views: 9.7ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (48.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 07:03:25 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 07:03:25 UTC +00:00]]  (1.4ms) 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" = 44) 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", Sat, 24 Aug 2013 07:03:25 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 44], ["updated_at", Sat, 24 Aug 2013 07:03:25 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/45/adhesions/new" for 127.0.0.1 at 2013-08-24 09:03:25 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"45"} 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", "45"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 45 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 45 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (71.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/new.html.erb within layouts/adherent/application (77.1ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.8ms) Completed 200 OK in 132ms (Views: 93.7ms | ActiveRecord: 3.1ms)  (0.5ms) 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", Sat, 24 Aug 2013 07:03:25 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 07:03:25 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" = 45) 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", Sat, 24 Aug 2013 07:03:25 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 45], ["updated_at", Sat, 24 Aug 2013 07:03:25 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/46/adhesions/new" for 127.0.0.1 at 2013-08-24 09:03:25 +0200 Processing by Adherent::AdhesionsController#new 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.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 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 46 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (5.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 18ms (Views: 11.5ms | ActiveRecord: 1.2ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 46 Started POST "/adherent/members/46/adhesions" for 127.0.0.1 at 2013-08-24 09:03:25 +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"=>"46"} Organism Load (0.8ms) 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", "46"]]  (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", #], ["created_at", Sat, 24 Aug 2013 07:03:25 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 46], ["to_date", Thu, 31 Jul 2014], ["updated_at", Sat, 24 Aug 2013 07:03:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/46/adhesions Completed 302 Found in 10ms (ActiveRecord: 2.1ms) Started GET "/adherent/members/46/adhesions" for 127.0.0.1 at 2013-08-24 09:03:25 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"46"} 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", "46"]]  (0.7ms) SELECT COUNT(*) 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  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 12 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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 28ms (Views: 20.5ms | ActiveRecord: 4.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 46  (0.1ms) ROLLBACK  (0.5ms) 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", Sat, 24 Aug 2013 07:03:25 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 07:03:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 46) 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", Sat, 24 Aug 2013 07:03:25 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 46], ["updated_at", Sat, 24 Aug 2013 07:03:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (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", #], ["created_at", Sat, 24 Aug 2013 07:03:25 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 47], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 07:03:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/47/adhesions" for 127.0.0.1 at 2013-08-24 09:03:25 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"47"} 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", "47"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 47 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 47  (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 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: 10.8ms | ActiveRecord: 1.6ms)  (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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 07:03:25 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 07:03:25 UTC +00:00]]  (0.7ms) 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" = 47) 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", Sat, 24 Aug 2013 07:03:25 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 47], ["updated_at", Sat, 24 Aug 2013 07:03:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (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", #], ["created_at", Sat, 24 Aug 2013 07:03:25 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 48], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 07:03:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/48/adhesions" for 127.0.0.1 at 2013-08-24 09:03:25 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"48"} 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", "48"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 48 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 48  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 14 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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 15ms (Views: 11.1ms | ActiveRecord: 1.2ms) Started GET "/adherent/members/48/adhesions/14/edit" for 127.0.0.1 at 2013-08-24 09:03:25 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"48", "id"=>"14"} 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", "48"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 48 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "14"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 14ms (Views: 9.8ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) BEGIN Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 07:03:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 07:03:50 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" = 'Adh000' AND "adherent_members"."organism_id" = 48) 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", Sat, 24 Aug 2013 07:03:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 48], ["updated_at", Sat, 24 Aug 2013 07:03:50 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/49/adhesions/new" for 127.0.0.1 at 2013-08-24 09:03:50 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"49"} 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", "49"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 49 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 49 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (73.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/new.html.erb within layouts/adherent/application (78.1ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.9ms) Completed 200 OK in 134ms (Views: 94.1ms | ActiveRecord: 3.1ms)  (0.4ms) 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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 07:03:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 07:03:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.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" = 49) 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", Sat, 24 Aug 2013 07:03:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 49], ["updated_at", Sat, 24 Aug 2013 07:03:50 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members/50/adhesions/new" for 127.0.0.1 at 2013-08-24 09:03:50 +0200 Processing by Adherent::AdhesionsController#new 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::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 50 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 50 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 18ms (Views: 13.2ms | ActiveRecord: 1.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 50 Started POST "/adherent/members/50/adhesions" for 127.0.0.1 at 2013-08-24 09:03:50 +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"=>"50"} 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", "50"]]  (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", #], ["created_at", Sat, 24 Aug 2013 07:03:50 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 50], ["to_date", Thu, 31 Jul 2014], ["updated_at", Sat, 24 Aug 2013 07:03:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/50/adhesions Completed 302 Found in 9ms (ActiveRecord: 1.8ms) Started GET "/adherent/members/50/adhesions" for 127.0.0.1 at 2013-08-24 09:03:50 +0200 Processing by Adherent::AdhesionsController#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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "50"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 50 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 50  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 15 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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.0ms) Completed 200 OK in 26ms (Views: 19.4ms | ActiveRecord: 3.1ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 50  (0.2ms) 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", Sat, 24 Aug 2013 07:03:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 07:03:50 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" = 'Adh000' AND "adherent_members"."organism_id" = 50) 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", Sat, 24 Aug 2013 07:03:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 50], ["updated_at", Sat, 24 Aug 2013 07:03:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (0.0ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Sat, 24 Aug 2013 07:03:50 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 51], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 07:03:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/51/adhesions" for 127.0.0.1 at 2013-08-24 09:03:50 +0200 Processing by Adherent::AdhesionsController#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"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 51 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 51  (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 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.2ms) Completed 200 OK in 16ms (Views: 10.5ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Organism Load (1.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", Sat, 24 Aug 2013 07:03:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 07:03:50 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" = 51) 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", Sat, 24 Aug 2013 07:03:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 51], ["updated_at", Sat, 24 Aug 2013 07:03:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (0.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", #], ["created_at", Sat, 24 Aug 2013 07:03:50 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 52], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 07:03:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/52/adhesions" for 127.0.0.1 at 2013-08-24 09:03:50 +0200 Processing by Adherent::AdhesionsController#index 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"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 52 Adherent::Adhesion Load (2.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 52  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 17 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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 17ms (Views: 9.9ms | ActiveRecord: 3.7ms) Started GET "/adherent/members/52/adhesions/17/edit" for 127.0.0.1 at 2013-08-24 09:03:50 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"52", "id"=>"17"} 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.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 52 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "17"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 14ms (Views: 9.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 08:37:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:37:35 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" = 'Adh000' AND "adherent_members"."organism_id" = 52) 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", Sat, 24 Aug 2013 08:37:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 52], ["updated_at", Sat, 24 Aug 2013 08:37:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members"  (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", #], ["created_at", Sat, 24 Aug 2013 08:37:35 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 53], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 08:37:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/53/adhesions" for 127.0.0.1 at 2013-08-24 10:37:35 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"53"} 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", "53"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 53 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 53  (4.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 18 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/adhesions/index.html.haml within layouts/adherent/application (37.5ms) Rendered layouts/adherent/_header.html.haml (0.5ms) 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.1ms) Completed 200 OK in 64ms (Views: 49.7ms | ActiveRecord: 8.1ms)  (0.5ms) 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", Sat, 24 Aug 2013 08:37:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:37:36 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" = 53) 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", Sat, 24 Aug 2013 08:37:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 53], ["updated_at", Sat, 24 Aug 2013 08:37:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members"  (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", #], ["created_at", Sat, 24 Aug 2013 08:37:36 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 54], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 08:37:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/54/adhesions" for 127.0.0.1 at 2013-08-24 10:37:36 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"54"} 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", "54"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 54 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 54  (1.1ms) 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 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: 13.6ms | ActiveRecord: 1.9ms) Started GET "/adherent/members/54/payments/new" for 127.0.0.1 at 2013-08-24 10:37:36 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"54"} 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", "54"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 54 ORDER BY to_date  (0.1ms) 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 (58.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 131ms (Views: 108.3ms | ActiveRecord: 3.4ms)  (0.5ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Sat, 24 Aug 2013 08:37:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:37:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 54) 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", Sat, 24 Aug 2013 08:37:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 54], ["updated_at", Sat, 24 Aug 2013 08:37:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 08:37:36 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 55], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 08:37:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/55/adhesions" for 127.0.0.1 at 2013-08-24 10:37:36 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"55"} Organism Load (0.1ms) 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", "55"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 55 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 55  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20 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: 11.3ms | ActiveRecord: 1.4ms) Started GET "/adherent/members/55/adhesions/20/edit" for 127.0.0.1 at 2013-08-24 10:37:36 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"55", "id"=>"20"} 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", "55"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 55 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "20"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (8.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 18ms (Views: 13.4ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (2.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 08:37:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:37:36 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" = 55) 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", Sat, 24 Aug 2013 08:37:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 55], ["updated_at", Sat, 24 Aug 2013 08:37:36 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/56/adhesions/new" for 127.0.0.1 at 2013-08-24 10:37:36 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"56"} 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", "56"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 56 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 56 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 17ms (Views: 10.0ms | ActiveRecord: 1.2ms)  (0.6ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 56 Started POST "/adherent/members/56/adhesions" for 127.0.0.1 at 2013-08-24 10:37:36 +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"=>"56"} 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", "56"]]  (0.1ms) SAVEPOINT active_record_1 SQL (3.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 08:37:36 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 56], ["to_date", Thu, 31 Jul 2014], ["updated_at", Sat, 24 Aug 2013 08:37:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/56/adhesions Completed 302 Found in 53ms (ActiveRecord: 3.7ms) Started GET "/adherent/members/56/adhesions" for 127.0.0.1 at 2013-08-24 10:37:36 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"56"} 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", "56"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 56 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 56  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 21 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 21 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: 7.6ms | ActiveRecord: 1.2ms)  (1.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 56  (0.0ms) 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", Sat, 24 Aug 2013 08:37:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:37:36 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" = 'Adh000' AND "adherent_members"."organism_id" = 56) 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", Sat, 24 Aug 2013 08:37:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 56], ["updated_at", Sat, 24 Aug 2013 08:37:36 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/57/adhesions/new" for 127.0.0.1 at 2013-08-24 10:37:36 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"57"} 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", "57"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 57 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 57 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 15ms (Views: 9.7ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Organism Load (1.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Sat, 24 Aug 2013 08:38:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:38:00 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" = 57) 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", Sat, 24 Aug 2013 08:38:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 57], ["updated_at", Sat, 24 Aug 2013 08:38:00 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/58/adhesions/new" for 127.0.0.1 at 2013-08-24 10:38:00 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"58"} Organism Load (0.3ms) 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", "58"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 58 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 58 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (77.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/new.html.erb within layouts/adherent/application (82.6ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 141ms (Views: 98.5ms | ActiveRecord: 3.5ms)  (1.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (1.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", Sat, 24 Aug 2013 08:38:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:38:00 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" = 'Adh000' AND "adherent_members"."organism_id" = 58) 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", Sat, 24 Aug 2013 08:38:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 58], ["updated_at", Sat, 24 Aug 2013 08:38:00 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/59/adhesions/new" for 127.0.0.1 at 2013-08-24 10:38:00 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"59"} 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", "59"]] Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 59 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 59 ORDER BY to_date DESC LIMIT 1 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 (1.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 19ms (Views: 12.7ms | ActiveRecord: 1.7ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 59 Started POST "/adherent/members/59/adhesions" for 127.0.0.1 at 2013-08-24 10:38:00 +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"=>"59"} 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", "59"]]  (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", #], ["created_at", Sat, 24 Aug 2013 08:38:00 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 59], ["to_date", Thu, 31 Jul 2014], ["updated_at", Sat, 24 Aug 2013 08:38:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/59/adhesions Completed 302 Found in 10ms (ActiveRecord: 1.5ms) Started GET "/adherent/members/59/adhesions" for 127.0.0.1 at 2013-08-24 10:38:00 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"59"} 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", "59"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 59 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 59  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 22 CACHE (1.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 22 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: 18.5ms | ActiveRecord: 5.7ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 59  (0.4ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 08:38:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:38:00 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" = 59) 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", Sat, 24 Aug 2013 08:38:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 59], ["updated_at", Sat, 24 Aug 2013 08:38:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (1.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 08:38:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 60], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 08:38:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/60/adhesions" for 127.0.0.1 at 2013-08-24 10:38:00 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"60"} 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", "60"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 60 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 60  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23 CACHE (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23 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: 11.0ms | ActiveRecord: 2.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Sat, 24 Aug 2013 08:38:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:38:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.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" = 60) 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", Sat, 24 Aug 2013 08:38:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 60], ["updated_at", Sat, 24 Aug 2013 08:38:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"   (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", #], ["created_at", Sat, 24 Aug 2013 08:38:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 61], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 08:38:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/61/adhesions" for 127.0.0.1 at 2013-08-24 10:38:00 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"61"} 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", "61"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 61 Adherent::Adhesion Load (1.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 61  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 24 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 24 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: 10.5ms | ActiveRecord: 3.0ms) Started GET "/adherent/members/61/adhesions/24/edit" for 127.0.0.1 at 2013-08-24 10:38:00 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"61", "id"=>"24"} 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", "61"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 61 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "24"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (5.0ms) 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 15ms (Views: 10.5ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Sat, 24 Aug 2013 08:38:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:38:00 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" = 61) 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", Sat, 24 Aug 2013 08:38:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 61], ["updated_at", Sat, 24 Aug 2013 08:38:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (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", #], ["created_at", Sat, 24 Aug 2013 08:38:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 62], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 08:38:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/62/adhesions" for 127.0.0.1 at 2013-08-24 10:38:00 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"62"} 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", "62"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 62 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 62  (0.2ms) 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 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: 10.9ms | ActiveRecord: 1.4ms) Started GET "/adherent/members/62/payments/new" for 127.0.0.1 at 2013-08-24 10:38:00 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"62"} 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", "62"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 62 ORDER BY to_date  (0.2ms) 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 (13.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 90ms (Views: 21.5ms | ActiveRecord: 2.6ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (3.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 08:39:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:39:44 UTC +00:00]]  (41.6ms) COMMIT  (0.7ms) BEGIN Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 62) 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", Sat, 24 Aug 2013 08:39:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 62], ["updated_at", Sat, 24 Aug 2013 08:39:44 UTC +00:00]]  (1.0ms) 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" = 62) 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", Sat, 24 Aug 2013 08:39:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 62], ["updated_at", Sat, 24 Aug 2013 08:39:44 UTC +00:00]]  (0.8ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 62) 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", Sat, 24 Aug 2013 08:39:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 62], ["updated_at", Sat, 24 Aug 2013 08:39:44 UTC +00:00]]  (0.8ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 62) 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", Sat, 24 Aug 2013 08:39:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 62], ["updated_at", Sat, 24 Aug 2013 08:39:44 UTC +00:00]]  (0.8ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 62) 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", Sat, 24 Aug 2013 08:39:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 62], ["updated_at", Sat, 24 Aug 2013 08:39:44 UTC +00:00]]  (0.9ms) COMMIT Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 10:40:07 +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 (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 62 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 63 ORDER BY to_date Adherent::Coord Load (25.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.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 64 LIMIT 1 Adherent::Adhesion Load (3.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 65 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 65 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 66 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 66 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 67 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 67 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (249.4ms) Rendered layouts/adherent/_header.html.haml (1.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (16.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.2ms) Completed 200 OK in 386ms (Views: 285.6ms | ActiveRecord: 42.4ms) Started GET "/assets/adherent/application.css" for 127.0.0.1 at 2013-08-24 10:40:08 +0200 Served asset /adherent/application.css - 200 OK (289ms) Started GET "/assets/adherent/application.js" for 127.0.0.1 at 2013-08-24 10:40:09 +0200 Served asset /adherent/application.js - 200 OK (754ms) Started GET "/assets/adherent/icones/navigation90.png" for 127.0.0.1 at 2013-08-24 10:40:09 +0200 Served asset /adherent/icones/navigation90.png - 200 OK (49ms) Started GET "/assets/adherent/icones/modifier.png" for 127.0.0.1 at 2013-08-24 10:40:09 +0200 Served asset /adherent/icones/modifier.png - 200 OK (63ms) Started GET "/assets/adherent/icones/payment.png" for 127.0.0.1 at 2013-08-24 10:40:09 +0200 Served asset /adherent/icones/payment.png - 200 OK (21ms) Started GET "/assets/adherent/icones/afficher.png" for 127.0.0.1 at 2013-08-24 10:40:09 +0200 Served asset /adherent/icones/afficher.png - 200 OK (27ms) Started GET "/assets/adherent/icones/nouveau.png" for 127.0.0.1 at 2013-08-24 10:40:09 +0200 Served asset /adherent/icones/nouveau.png - 200 OK (58ms) Started GET "/assets/adherent/icones/detail.png" for 127.0.0.1 at 2013-08-24 10:40:10 +0200 Served asset /adherent/icones/detail.png - 200 OK (40ms) Started GET "/assets/adherent/icones/supprimer.png" for 127.0.0.1 at 2013-08-24 10:40:10 +0200 Served asset /adherent/icones/supprimer.png - 200 OK (7ms) Started DELETE "/adherent/members/63" for 127.0.0.1 at 2013-08-24 10:40:12 +0200 Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"63"} Organism Load (1.4ms) 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"."id" = $1 LIMIT 1 [["id", "63"]]  (0.1ms) BEGIN Adherent::Coord Load (5.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 63 LIMIT 1 SQL (23.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 63]]  (49.2ms) COMMIT Redirected to http://127.0.0.1:54583/adherent/members Completed 302 Found in 111ms (ActiveRecord: 82.5ms) Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 10:40:12 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.8ms) 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"."organism_id" = 62 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.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 64 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 65 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 65 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 66 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 66 LIMIT 1 Adherent::Adhesion Load (1.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 67 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 67 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (27.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 40ms (Views: 26.3ms | ActiveRecord: 5.6ms)  (1.2ms) SELECT COUNT(*) FROM "adherent_members"  (8.9ms) 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  (3.1ms) select table_name from information_schema.views where table_schema = 'adh_test'  (744.6ms) TRUNCATE TABLE "adherent_adhesions", "adherent_payments", "adherent_coords", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (0.4ms) 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 Connecting to database specified by database.yml Organism Load (1.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (18.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 08:41:13 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:41:13 UTC +00:00]]  (85.5ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) 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", Sat, 24 Aug 2013 08:41:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 08:41:13 UTC +00:00]]  (0.9ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' 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", Sat, 24 Aug 2013 08:41:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 08:41:13 UTC +00:00]]  (1.2ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (1.9ms) 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", Sat, 24 Aug 2013 08:41:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 08:41:13 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" = '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", Sat, 24 Aug 2013 08:41:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 08:41:13 UTC +00:00]]  (1.3ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' 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", Sat, 24 Aug 2013 08:41:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 08:41:13 UTC +00:00]]  (1.0ms) COMMIT Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 10:41:25 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.0ms) 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"."organism_id" = 1 Adherent::Adhesion Load (75.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 2 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 3 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (352.5ms) Rendered layouts/adherent/_header.html.haml (2.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.3ms) Completed 200 OK in 570ms (Views: 412.1ms | ActiveRecord: 92.7ms) Started GET "/assets/adherent/application.css" for 127.0.0.1 at 2013-08-24 10:41:26 +0200 Served asset /adherent/application.css - 200 OK (800ms) Started GET "/assets/adherent/application.js" for 127.0.0.1 at 2013-08-24 10:41:27 +0200 Served asset /adherent/application.js - 200 OK (993ms) Started GET "/assets/adherent/icones/navigation90.png" for 127.0.0.1 at 2013-08-24 10:41:28 +0200 Served asset /adherent/icones/navigation90.png - 200 OK (56ms) Started GET "/assets/adherent/icones/nouveau.png" for 127.0.0.1 at 2013-08-24 10:41:28 +0200 Served asset /adherent/icones/nouveau.png - 200 OK (3ms) Started GET "/assets/adherent/icones/payment.png" for 127.0.0.1 at 2013-08-24 10:41:28 +0200 Served asset /adherent/icones/payment.png - 200 OK (27ms) Started GET "/assets/adherent/icones/modifier.png" for 127.0.0.1 at 2013-08-24 10:41:28 +0200 Served asset /adherent/icones/modifier.png - 200 OK (28ms) Started GET "/assets/adherent/icones/afficher.png" for 127.0.0.1 at 2013-08-24 10:41:28 +0200 Served asset /adherent/icones/afficher.png - 200 OK (29ms) Started GET "/assets/adherent/icones/detail.png" for 127.0.0.1 at 2013-08-24 10:41:28 +0200 Served asset /adherent/icones/detail.png - 200 OK (17ms) Started GET "/assets/adherent/icones/supprimer.png" for 127.0.0.1 at 2013-08-24 10:41:28 +0200 Served asset /adherent/icones/supprimer.png - 200 OK (21ms) Started DELETE "/adherent/members/1" for 127.0.0.1 at 2013-08-24 10:41:30 +0200 Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1"} Organism Load (9.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]]  (0.1ms) BEGIN Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1 SQL (20.9ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 1]]  (177.2ms) COMMIT Redirected to http://127.0.0.1:44621/adherent/members Completed 302 Found in 227ms (ActiveRecord: 212.4ms) Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 10:41:30 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (2.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (5.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 1 Adherent::Adhesion Load (3.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 ORDER BY to_date Adherent::Coord Load (4.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 2 LIMIT 1 Adherent::Adhesion Load (9.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 3 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date Adherent::Coord Load (1.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (46.4ms) 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.2ms) Completed 200 OK in 74ms (Views: 32.1ms | ActiveRecord: 28.8ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_members"  (41.4ms) 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  (10.4ms) select table_name from information_schema.views where table_schema = 'adh_test'  (180.7ms) TRUNCATE TABLE "adherent_adhesions", "adherent_payments", "adherent_coords", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (0.5ms) 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 Connecting to database specified by database.yml Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (4.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 08:42:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:42:04 UTC +00:00]]  (37.5ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) 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", Sat, 24 Aug 2013 08:42:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 08:42:04 UTC +00:00]]  (0.8ms) COMMIT  (0.3ms) 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", Sat, 24 Aug 2013 08:42:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 08:42:04 UTC +00:00]]  (0.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.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", Sat, 24 Aug 2013 08:42:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 08:42:04 UTC +00:00]]  (1.2ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) 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", Sat, 24 Aug 2013 08:42:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 08:42:04 UTC +00:00]]  (1.2ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' 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", Sat, 24 Aug 2013 08:42:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 08:42:04 UTC +00:00]]  (0.9ms) COMMIT Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 10:42:16 +0200 Processing by Adherent::MembersController#index as HTML 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"."organism_id" = 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 2 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 3 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (61.1ms) Rendered layouts/adherent/_header.html.haml (1.4ms) 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.1ms) Completed 200 OK in 176ms (Views: 85.9ms | ActiveRecord: 13.0ms) Started GET "/assets/adherent/application.css" for 127.0.0.1 at 2013-08-24 10:42:16 +0200 Served asset /adherent/application.css - 200 OK (25ms) Started GET "/assets/adherent/application.js" for 127.0.0.1 at 2013-08-24 10:42:16 +0200 Served asset /adherent/application.js - 200 OK (78ms) Started GET "/assets/adherent/icones/navigation90.png" for 127.0.0.1 at 2013-08-24 10:42:16 +0200 Served asset /adherent/icones/navigation90.png - 200 OK (2ms) Started GET "/assets/adherent/icones/nouveau.png" for 127.0.0.1 at 2013-08-24 10:42:16 +0200 Served asset /adherent/icones/nouveau.png - 200 OK (2ms) Started GET "/assets/adherent/icones/modifier.png" for 127.0.0.1 at 2013-08-24 10:42:16 +0200 Served asset /adherent/icones/modifier.png - 200 OK (1ms) Started GET "/assets/adherent/icones/payment.png" for 127.0.0.1 at 2013-08-24 10:42:16 +0200 Served asset /adherent/icones/payment.png - 200 OK (2ms) Started GET "/assets/adherent/icones/afficher.png" for 127.0.0.1 at 2013-08-24 10:42:16 +0200 Served asset /adherent/icones/afficher.png - 200 OK (1ms) Started GET "/assets/adherent/icones/detail.png" for 127.0.0.1 at 2013-08-24 10:42:16 +0200 Served asset /adherent/icones/detail.png - 200 OK (1ms) Started GET "/assets/adherent/icones/supprimer.png" for 127.0.0.1 at 2013-08-24 10:42:16 +0200 Served asset /adherent/icones/supprimer.png - 200 OK (2ms) Started DELETE "/adherent/members/1" for 127.0.0.1 at 2013-08-24 10:42:18 +0200 Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1"} Organism Load (18.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]]  (1.9ms) SELECT COUNT(*) FROM "adherent_members"  (6.3ms) BEGIN Adherent::Coord Load (6.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1 SQL (14.8ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 1]]  (25.7ms) COMMIT Redirected to http://127.0.0.1:37928/adherent/members Completed 302 Found in 99ms (ActiveRecord: 75.4ms)  (1.9ms) 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  (1.2ms) select table_name from information_schema.views where table_schema = 'adh_test' Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 10:42:18 +0200 Processing by Adherent::MembersController#index as HTML  (329.9ms) TRUNCATE TABLE "adherent_payments", "adherent_coords", "adherent_adhesions", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE; Organism Load (316.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (0.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 08:42:18 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:42:18 UTC +00:00]]  (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  (32.7ms) COMMIT Adherent::Member Load (1.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_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 366ms (Views: 8.1ms | ActiveRecord: 351.7ms) Connecting to database specified by database.yml Organism Load (2.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (2.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", Sat, 24 Aug 2013 08:42:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 08:42:49 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" = 'Adh001' 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", Sat, 24 Aug 2013 08:42:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 08:42:49 UTC +00:00]]  (1.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.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", Sat, 24 Aug 2013 08:42:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 08:42:49 UTC +00:00]]  (1.1ms) COMMIT  (0.8ms) 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 (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", Sat, 24 Aug 2013 08:42:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 08:42:49 UTC +00:00]]  (1.4ms) COMMIT  (0.1ms) 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 (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", Sat, 24 Aug 2013 08:42:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 08:42:49 UTC +00:00]]  (0.5ms) COMMIT Adherent::Member Load (2.7ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 10:42:54 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.6ms) 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"."organism_id" = 1 Adherent::Adhesion Load (1.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 2 LIMIT 1 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 3 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (63.3ms) Rendered layouts/adherent/_header.html.haml (2.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 178ms (Views: 77.2ms | ActiveRecord: 14.9ms) Started GET "/assets/adherent/application.css" for 127.0.0.1 at 2013-08-24 10:42:54 +0200 Served asset /adherent/application.css - 200 OK (23ms) Started GET "/assets/adherent/application.js" for 127.0.0.1 at 2013-08-24 10:42:54 +0200 Served asset /adherent/application.js - 200 OK (115ms) Started GET "/assets/adherent/icones/navigation90.png" for 127.0.0.1 at 2013-08-24 10:42:54 +0200 Served asset /adherent/icones/navigation90.png - 200 OK (11ms) Started GET "/assets/adherent/icones/nouveau.png" for 127.0.0.1 at 2013-08-24 10:42:54 +0200 Served asset /adherent/icones/nouveau.png - 200 OK (2ms) Started GET "/assets/adherent/icones/modifier.png" for 127.0.0.1 at 2013-08-24 10:42:54 +0200 Served asset /adherent/icones/modifier.png - 200 OK (1ms) Started GET "/assets/adherent/icones/payment.png" for 127.0.0.1 at 2013-08-24 10:42:54 +0200 Served asset /adherent/icones/payment.png - 200 OK (2ms) Started GET "/assets/adherent/icones/afficher.png" for 127.0.0.1 at 2013-08-24 10:42:54 +0200 Served asset /adherent/icones/afficher.png - 200 OK (2ms) Started GET "/assets/adherent/icones/supprimer.png" for 127.0.0.1 at 2013-08-24 10:42:54 +0200 Served asset /adherent/icones/supprimer.png - 200 OK (1ms) Started GET "/assets/adherent/icones/detail.png" for 127.0.0.1 at 2013-08-24 10:42:54 +0200 Served asset /adherent/icones/detail.png - 200 OK (2ms) Started DELETE "/adherent/members/1" for 127.0.0.1 at 2013-08-24 10:42:55 +0200 Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1"} Organism Load (3.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (6.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]]  (0.7ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1 SQL (0.4ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 1]]  (42.3ms) COMMIT Redirected to http://127.0.0.1:42439/adherent/members Completed 302 Found in 72ms (ActiveRecord: 56.6ms) Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 10:42:55 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.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" = 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 2 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 3 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (27.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 33ms (Views: 27.3ms | ActiveRecord: 4.0ms)  (0.7ms) SELECT COUNT(*) FROM "adherent_members"   (2.0ms) 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  (4.4ms) select table_name from information_schema.views where table_schema = 'adh_test'  (333.5ms) TRUNCATE TABLE "adherent_payments", "adherent_coords", "adherent_adhesions", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (0.7ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL Connecting to database specified by database.yml Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) BEGIN SQL (3.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 08:45:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:45:20 UTC +00:00]]  (40.8ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.6ms) 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", Sat, 24 Aug 2013 08:45:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 08:45:20 UTC +00:00]]  (1.1ms) 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.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", Sat, 24 Aug 2013 08:45:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 08:45:20 UTC +00:00]]  (0.7ms) 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.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", Sat, 24 Aug 2013 08:45:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 08:45:20 UTC +00:00]]  (1.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" = 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", Sat, 24 Aug 2013 08:45:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 08:45:21 UTC +00:00]]  (0.5ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) 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", Sat, 24 Aug 2013 08:45:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 08:45:21 UTC +00:00]]  (1.8ms) COMMIT Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 10:45:25 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.0ms) 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" = 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 2 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 3 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1 Adherent::Adhesion Load (1.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (61.4ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 169ms (Views: 72.3ms | ActiveRecord: 16.3ms) Started GET "/assets/adherent/application.css" for 127.0.0.1 at 2013-08-24 10:45:25 +0200 Served asset /adherent/application.css - 200 OK (35ms) Started GET "/assets/adherent/application.js" for 127.0.0.1 at 2013-08-24 10:45:25 +0200 Served asset /adherent/application.js - 200 OK (79ms) Started GET "/assets/adherent/icones/navigation90.png" for 127.0.0.1 at 2013-08-24 10:45:25 +0200 Served asset /adherent/icones/navigation90.png - 200 OK (15ms) Started GET "/assets/adherent/icones/nouveau.png" for 127.0.0.1 at 2013-08-24 10:45:25 +0200 Served asset /adherent/icones/nouveau.png - 200 OK (1ms) Started GET "/assets/adherent/icones/modifier.png" for 127.0.0.1 at 2013-08-24 10:45:25 +0200 Served asset /adherent/icones/modifier.png - 200 OK (1ms) Started GET "/assets/adherent/icones/payment.png" for 127.0.0.1 at 2013-08-24 10:45:25 +0200 Served asset /adherent/icones/payment.png - 200 OK (2ms) Started GET "/assets/adherent/icones/detail.png" for 127.0.0.1 at 2013-08-24 10:45:25 +0200 Served asset /adherent/icones/detail.png - 200 OK (2ms) Started GET "/assets/adherent/icones/afficher.png" for 127.0.0.1 at 2013-08-24 10:45:25 +0200 Served asset /adherent/icones/afficher.png - 200 OK (1ms) Started GET "/assets/adherent/icones/supprimer.png" for 127.0.0.1 at 2013-08-24 10:45:25 +0200 Served asset /adherent/icones/supprimer.png - 200 OK (1ms) Started DELETE "/adherent/members/1" for 127.0.0.1 at 2013-08-24 10:45:26 +0200 Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1"} Organism Load (13.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]]  (0.9ms) BEGIN Adherent::Coord Load (7.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1 SQL (0.5ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 1]]  (42.3ms) COMMIT Redirected to http://127.0.0.1:55908/adherent/members Completed 302 Found in 89ms (ActiveRecord: 68.7ms) Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 10:45:26 +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 (2.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 2 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 3 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (23.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.0ms) Completed 200 OK in 32ms (Views: 24.2ms | ActiveRecord: 5.2ms)  (1.1ms) SELECT COUNT(*) FROM "adherent_members"  (2.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (2.5ms) select table_name from information_schema.views where table_schema = 'adh_test'  (124.4ms) TRUNCATE TABLE "adherent_coords", "adherent_adhesions", "adherent_payments", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" 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.3ms) BEGIN SQL (8.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 08:45:27 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:45:27 UTC +00:00]]  (4.4ms) COMMIT  (0.3ms) BEGIN Adherent::Member Exists (1.1ms) 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", Sat, 24 Aug 2013 08:45:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 08:45:27 UTC +00:00]]  (1.5ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' 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", Sat, 24 Aug 2013 08:45:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 08:45:27 UTC +00:00]]  (2.2ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' 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", Sat, 24 Aug 2013 08:45:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 08:45:27 UTC +00:00]]  (1.5ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) 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", Sat, 24 Aug 2013 08:45:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 08:45:27 UTC +00:00]]  (1.3ms) COMMIT  (0.1ms) 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", Sat, 24 Aug 2013 08:45:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 08:45:27 UTC +00:00]]  (1.0ms) COMMIT 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.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date DESC LIMIT 1  (0.1ms) BEGIN SQL (2.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", #], ["created_at", Sat, 24 Aug 2013 08:45:27 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 08:45:27 UTC +00:00]]  (1.6ms) COMMIT Started GET "/adherent/members/1/adhesions" for 127.0.0.1 at 2013-08-24 10:45:27 +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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]]  (0.3ms) SELECT COUNT(*) 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  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 1 CACHE (0.1ms) 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 55ms (Views: 47.3ms | ActiveRecord: 3.7ms) Started DELETE "/adherent/members/1/adhesions/1" for 127.0.0.1 at 2013-08-24 10:45:28 +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 (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] Adherent::Adhesion Load (4.4ms) 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.4ms) DELETE FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 [["id", 1]]  (187.9ms) COMMIT Redirected to http://127.0.0.1:55908/adherent/members/1/adhesions Completed 302 Found in 206ms (ActiveRecord: 193.8ms) Started GET "/adherent/members/1/adhesions" for 127.0.0.1 at 2013-08-24 10:45:28 +0200 Processing by Adherent::AdhesionsController#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 (1.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]]  (1.7ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 Redirected to http://127.0.0.1:55908/adherent/members/1/adhesions/new Completed 302 Found in 15ms (ActiveRecord: 3.3ms) Started GET "/adherent/members/1/adhesions/new" for 127.0.0.1 at 2013-08-24 10:45:28 +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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] 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 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (60.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 106ms (Views: 98.5ms | ActiveRecord: 1.2ms) Started GET "/assets/adherent/cal.gif" for 127.0.0.1 at 2013-08-24 10:45:29 +0200  (1.0ms) SELECT COUNT(*) FROM "adherent_adhesions"  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL Served asset /adherent/cal.gif - 200 OK (881ms)  (798.1ms) TRUNCATE TABLE "adherent_coords", "adherent_adhesions", "adherent_payments", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (0.5ms) 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 Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 08:49:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:49:59 UTC +00:00]]  (27.4ms) 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" = 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", Sat, 24 Aug 2013 08:49:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 08:49:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (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", #], ["created_at", Sat, 24 Aug 2013 08:50:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 08:50:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/1/adhesions" for 127.0.0.1 at 2013-08-24 10:50:00 +0200 Processing by Adherent::AdhesionsController#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.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]]  (0.4ms) SELECT COUNT(*) 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  (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/adhesions/index.html.haml within layouts/adherent/application (22.5ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.7ms) Completed 200 OK in 46ms (Views: 38.4ms | ActiveRecord: 3.7ms)  (0.7ms) ROLLBACK  (0.0ms) 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", Sat, 24 Aug 2013 08:50:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:50:00 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" = 2) 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", Sat, 24 Aug 2013 08:50:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 2], ["updated_at", Sat, 24 Aug 2013 08:50:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  (0.6ms) 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", #], ["created_at", Sat, 24 Aug 2013 08:50:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 2], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 08:50:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/2/adhesions" for 127.0.0.1 at 2013-08-24 10:50:00 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"2"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "2"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 Adherent::Adhesion Load (2.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2  (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 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: 10.0ms | ActiveRecord: 4.4ms) Started GET "/adherent/members/2/payments/new" for 127.0.0.1 at 2013-08-24 10:50:00 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"2"} Organism Load (0.7ms) 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", "2"]] Adherent::Adhesion Load (5.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 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 (30.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 63ms (Views: 37.3ms | ActiveRecord: 8.2ms)  (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", Sat, 24 Aug 2013 08:50:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:50:00 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" = 3) 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", Sat, 24 Aug 2013 08:50:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 3], ["updated_at", Sat, 24 Aug 2013 08:50:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 08:50:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 3], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 08:50:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/3/adhesions" for 127.0.0.1 at 2013-08-24 10:50:00 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"3"} Organism Load (0.2ms) 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", "3"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3  (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 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: 11.1ms | ActiveRecord: 1.5ms) Started GET "/adherent/members/3/adhesions/3/edit" for 127.0.0.1 at 2013-08-24 10:50:00 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"3", "id"=>"3"} 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", "3"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "3"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (8.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 18ms (Views: 12.9ms | ActiveRecord: 1.2ms)  (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", Sat, 24 Aug 2013 08:50:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:50:00 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" = 4) 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", Sat, 24 Aug 2013 08:50:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 4], ["updated_at", Sat, 24 Aug 2013 08:50:00 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/4/payments/new" for 127.0.0.1 at 2013-08-24 10:50:00 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"4"} 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", "4"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.0ms) Rendered layouts/adherent/_header.html.haml (0.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 15ms (Views: 10.6ms | ActiveRecord: 0.8ms)  (1.3ms) 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 (40.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 08:50:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:50:00 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" = 5) 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", Sat, 24 Aug 2013 08:50:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 5], ["updated_at", Sat, 24 Aug 2013 08:50:00 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/5/payments/new" for 127.0.0.1 at 2013-08-24 10:50:00 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"5"} 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", "5"]] Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 ORDER BY to_date Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (11.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 19ms (Views: 14.6ms | ActiveRecord: 1.3ms)  (0.5ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (1.1ms) 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", Sat, 24 Aug 2013 08:51:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:51:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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" = 6) 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", Sat, 24 Aug 2013 08:51:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 6], ["updated_at", Sat, 24 Aug 2013 08:51:00 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/6/payments/new" for 127.0.0.1 at 2013-08-24 10:51:00 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"6"} Organism Load (1.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", "6"]] Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 6 ORDER BY to_date Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (90.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (96.0ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.8ms) Completed 200 OK in 150ms (Views: 110.9ms | ActiveRecord: 8.3ms)  (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", Sat, 24 Aug 2013 08:51:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:51:00 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" = 7) 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", Sat, 24 Aug 2013 08:51:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 7], ["updated_at", Sat, 24 Aug 2013 08:51:00 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/7/payments/new" for 127.0.0.1 at 2013-08-24 10:51:00 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"7"} 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", "7"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 7 ORDER BY to_date Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.4ms) Rendered layouts/adherent/_header.html.haml (0.8ms) 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: 13.7ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN 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", Sat, 24 Aug 2013 08:51:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:51:00 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" = 8) 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", Sat, 24 Aug 2013 08:51:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 8], ["updated_at", Sat, 24 Aug 2013 08:51:00 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Sat, 24 Aug 2013 08:51:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 8], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 08:51:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/8/adhesions" for 127.0.0.1 at 2013-08-24 10:51:00 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"8"} 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", "8"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 8 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 8  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 4 CACHE (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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 30ms (Views: 23.0ms | ActiveRecord: 3.8ms)  (0.2ms) 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", Sat, 24 Aug 2013 08:51:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:51:00 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" = 9) 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", Sat, 24 Aug 2013 08:51:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 9], ["updated_at", Sat, 24 Aug 2013 08:51:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (0.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 08:51:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 9], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 08:51:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/9/adhesions" for 127.0.0.1 at 2013-08-24 10:51:00 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"9"} 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", "9"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 9 Adherent::Adhesion Load (1.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 9  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 5 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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 15ms (Views: 10.3ms | ActiveRecord: 2.6ms) Started GET "/adherent/members/9/adhesions/5/edit" for 127.0.0.1 at 2013-08-24 10:51:00 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"9", "id"=>"5"} Organism Load (0.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", "9"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 9 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "5"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (7.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 17ms (Views: 12.5ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.4ms) BEGIN 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", Sat, 24 Aug 2013 08:51:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:51:00 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" = 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", Sat, 24 Aug 2013 08:51:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 10], ["updated_at", Sat, 24 Aug 2013 08:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (0.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", #], ["created_at", Sat, 24 Aug 2013 08:51:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 10], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 08:51:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/10/adhesions" for 127.0.0.1 at 2013-08-24 10:51:00 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"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.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 10 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 10  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 6 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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 12ms (Views: 7.9ms | ActiveRecord: 1.4ms) Started GET "/adherent/members/10/payments/new" for 127.0.0.1 at 2013-08-24 10:51:00 +0200 Processing by Adherent::PaymentsController#new 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::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 10 ORDER BY to_date  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 6 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/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.6ms | ActiveRecord: 1.5ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 08:53:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:53:06 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" = 11) LIMIT 1 SQL (1.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", Sat, 24 Aug 2013 08:53:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 11], ["updated_at", Sat, 24 Aug 2013 08:53:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 08:53:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 11], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 08:53:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/11/adhesions" for 127.0.0.1 at 2013-08-24 10:53:06 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"11"} 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", "11"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 11 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 11  (0.6ms) 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/adhesions/index.html.haml within layouts/adherent/application (25.0ms) Rendered layouts/adherent/_header.html.haml (1.4ms) 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.8ms) Completed 200 OK in 49ms (Views: 40.4ms | ActiveRecord: 4.7ms)  (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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 08:53:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:53:06 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" = 12) 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", Sat, 24 Aug 2013 08:53:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 12], ["updated_at", Sat, 24 Aug 2013 08:53:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 08:53:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 12], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 08:53:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/12/adhesions" for 127.0.0.1 at 2013-08-24 10:53:06 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"12"} 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", "12"]]  (0.3ms) SELECT COUNT(*) 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  (1.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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 17ms (Views: 10.8ms | ActiveRecord: 2.8ms) Started GET "/adherent/members/12/payments/new" for 127.0.0.1 at 2013-08-24 10:53:06 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"12"} Organism Load (0.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", "12"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 12 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (28.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 58ms (Views: 35.3ms | ActiveRecord: 4.0ms)  (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", Sat, 24 Aug 2013 08:53:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:53:07 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" = 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", Sat, 24 Aug 2013 08:53:07 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 13], ["updated_at", Sat, 24 Aug 2013 08:53:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (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", #], ["created_at", Sat, 24 Aug 2013 08:53:07 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 13], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 08:53:07 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/13/adhesions" for 127.0.0.1 at 2013-08-24 10:53:07 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"13"} 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", "13"]]  (0.2ms) SELECT COUNT(*) 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  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 9 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 9 Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (1.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 13ms (Views: 8.3ms | ActiveRecord: 1.7ms) Started GET "/adherent/members/13/adhesions/9/edit" for 127.0.0.1 at 2013-08-24 10:53:07 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"13", "id"=>"9"} 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", "13"]] Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 13 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "9"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (8.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 18ms (Views: 13.5ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) 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", Sat, 24 Aug 2013 08:53:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:53:07 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" = 'Adh000' AND "adherent_members"."organism_id" = 14) 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", Sat, 24 Aug 2013 08:53:07 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 14], ["updated_at", Sat, 24 Aug 2013 08:53:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members/14/payments/new" for 127.0.0.1 at 2013-08-24 10:53:07 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"14"} 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", "14"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 14 ORDER BY to_date 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 14ms (Views: 9.8ms | ActiveRecord: 0.8ms)  (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", Sat, 24 Aug 2013 08:53:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:53:07 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" = 'Adh000' AND "adherent_members"."organism_id" = 15) 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", Sat, 24 Aug 2013 08:53:07 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 15], ["updated_at", Sat, 24 Aug 2013 08:53:07 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/15/payments/new" for 127.0.0.1 at 2013-08-24 10:53:07 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"15"} 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", "15"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 15 ORDER BY to_date 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 13ms (Views: 8.8ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) 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", Sat, 24 Aug 2013 08:53:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:53:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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" = 16) 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", Sat, 24 Aug 2013 08:53:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 16], ["updated_at", Sat, 24 Aug 2013 08:53:56 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/16/payments/new" for 127.0.0.1 at 2013-08-24 10:53:56 +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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "16"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 16 ORDER BY to_date Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (90.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (95.6ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.2ms) Completed 200 OK in 145ms (Views: 111.7ms | ActiveRecord: 4.5ms)  (0.5ms) 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", Sat, 24 Aug 2013 08:53:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:53:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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" = 17) 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", Sat, 24 Aug 2013 08:53:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 17], ["updated_at", Sat, 24 Aug 2013 08:53:56 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/17/payments/new" for 127.0.0.1 at 2013-08-24 10:53:56 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"17"} 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", "17"]] Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 17 ORDER BY to_date 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 17ms (Views: 12.2ms | ActiveRecord: 0.8ms)  (1.7ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 17 Started POST "/adherent/members/17/payments" for 127.0.0.1 at 2013-08-24 10:53:57 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"17"} Organism Load (0.4ms) 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", "17"]]  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 08:53:57 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 17], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 08:53:57 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 17 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 17 ORDER BY to_date  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/17/adhesions Completed 302 Found in 55ms (ActiveRecord: 3.8ms) Started GET "/adherent/members/17/adhesions" for 127.0.0.1 at 2013-08-24 10:53:57 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"17"} 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"."id" = $1 LIMIT 1 [["id", "17"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 17 Redirected to http://www.example.com/adherent/members/17/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 1.3ms) Started GET "/adherent/members/17/adhesions/new" for 127.0.0.1 at 2013-08-24 10:53:57 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"17"} Organism Load (1.0ms) 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", "17"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 17 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 17 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (9.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 29ms (Views: 15.3ms | ActiveRecord: 1.6ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 17  (0.3ms) 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", Sat, 24 Aug 2013 08:53:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:53:57 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" = 'Adh000' AND "adherent_members"."organism_id" = 18) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 08:53:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 18], ["updated_at", Sat, 24 Aug 2013 08:53:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members"  (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", #], ["created_at", Sat, 24 Aug 2013 08:53:57 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 18], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 08:53:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/18/adhesions" for 127.0.0.1 at 2013-08-24 10:53:57 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"18"} 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", "18"]]  (0.2ms) SELECT COUNT(*) 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  (0.5ms) 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 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 29ms (Views: 22.1ms | ActiveRecord: 3.8ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 08:53:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:53:57 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" = 'Adh000' AND "adherent_members"."organism_id" = 19) 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", Sat, 24 Aug 2013 08:53:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 19], ["updated_at", Sat, 24 Aug 2013 08:53:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (0.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 08:53:57 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 19], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 08:53:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/19/adhesions" for 127.0.0.1 at 2013-08-24 10:53:57 +0200 Processing by Adherent::AdhesionsController#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"]]  (0.4ms) SELECT COUNT(*) 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  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 11 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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 15ms (Views: 9.3ms | ActiveRecord: 1.4ms) Started GET "/adherent/members/19/adhesions/11/edit" for 127.0.0.1 at 2013-08-24 10:53:57 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"19", "id"=>"11"} 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.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 19 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "11"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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: 10.8ms | ActiveRecord: 1.0ms)  (0.1ms) 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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 08:53:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:53:57 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" = 20) 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", Sat, 24 Aug 2013 08:53:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 20], ["updated_at", Sat, 24 Aug 2013 08:53:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 08:53:57 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 20], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 08:53:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/20/adhesions" for 127.0.0.1 at 2013-08-24 10:53:57 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"20"} 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", "20"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 20 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 20  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 12 CACHE (1.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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 16ms (Views: 9.1ms | ActiveRecord: 3.4ms) Started GET "/adherent/members/20/payments/new" for 127.0.0.1 at 2013-08-24 10:53:57 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"20"} 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", "20"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 20 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 12 CACHE (0.0ms) 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/payments/_form.html.haml (6.1ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 20ms (Views: 13.3ms | ActiveRecord: 1.0ms)  (4.5ms) ROLLBACK Connecting to database specified by database.yml  (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 (4.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 08:55:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:55:00 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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" = 21) 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", Sat, 24 Aug 2013 08:55:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 21], ["updated_at", Sat, 24 Aug 2013 08:55:00 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.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 21 Adherent::Adhesion Load (0.4ms) 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.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", #], ["created_at", Sat, 24 Aug 2013 08:55:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 21], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 08:55:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/21/payments/new" for 127.0.0.1 at 2013-08-24 10:55:00 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"21"} Organism Load (0.3ms) 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", "21"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 21 ORDER BY to_date  (0.5ms) 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 (78.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (83.4ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.2ms) Completed 200 OK in 128ms (Views: 100.0ms | ActiveRecord: 4.6ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN 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", Sat, 24 Aug 2013 08:55:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:55:01 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" = 'Adh000' AND "adherent_members"."organism_id" = 22) 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", Sat, 24 Aug 2013 08:55:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 22], ["updated_at", Sat, 24 Aug 2013 08:55:01 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" = 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.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", #], ["created_at", Sat, 24 Aug 2013 08:55:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 22], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 08:55:01 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-24 10:55:01 +0200 Processing by Adherent::PaymentsController#new 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::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 22 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 14 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (9.5ms) 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 20ms (Views: 13.6ms | ActiveRecord: 1.1ms)  (0.7ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 22 Started POST "/adherent/members/22/payments" for 127.0.0.1 at 2013-08-24 10:55:01 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"22"} Organism Load (1.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.8ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 08:55:01 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 22], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 08:55:01 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" = 14  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/22/adhesions Completed 302 Found in 22ms (ActiveRecord: 3.5ms) Started GET "/adherent/members/22/adhesions" for 127.0.0.1 at 2013-08-24 10:55:01 +0200 Processing by Adherent::AdhesionsController#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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "22"]]  (0.3ms) SELECT COUNT(*) 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  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 14 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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 21ms (Views: 15.3ms | ActiveRecord: 1.4ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 22  (0.3ms) 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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 08:55:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:55:01 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" = 23) 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", Sat, 24 Aug 2013 08:55:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 23], ["updated_at", Sat, 24 Aug 2013 08:55:01 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" = 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", #], ["created_at", Sat, 24 Aug 2013 08:55:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 23], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 08:55:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 08:55:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 23], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 08:55:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/23/adhesions" for 127.0.0.1 at 2013-08-24 10:55:01 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"23"} 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", "23"]]  (0.1ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 23 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 23  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 16 CACHE (0.1ms) 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" = 15 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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 18ms (Views: 13.3ms | ActiveRecord: 2.2ms)  (0.3ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 08:55:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:55:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 24) 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", Sat, 24 Aug 2013 08:55:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 24], ["updated_at", Sat, 24 Aug 2013 08:55:01 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.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 24 Adherent::Adhesion Load (0.4ms) 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.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", #], ["created_at", Sat, 24 Aug 2013 08:55:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 24], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 08:55:01 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 08:55:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 24], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 08:55:01 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/24/adhesions" for 127.0.0.1 at 2013-08-24 10:55:01 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"24"} 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", "24"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 24 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 24  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 18 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 18  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 17 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 17 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: 11.3ms | ActiveRecord: 1.8ms) Started GET "/adherent/members/24/adhesions/18/edit" for 127.0.0.1 at 2013-08-24 10:55:01 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"24", "id"=>"18"} 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", "24"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 24 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "18"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (57.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 102ms (Views: 63.3ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) 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", Sat, 24 Aug 2013 08:55:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 08:55:01 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" = 25) 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", Sat, 24 Aug 2013 08:55:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 25], ["updated_at", Sat, 24 Aug 2013 08:55:01 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" = 25 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 25 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", #], ["created_at", Sat, 24 Aug 2013 08:55:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 25], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 08:55:01 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Sat, 24 Aug 2013 08:55:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 25], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 08:55:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/25/adhesions" for 127.0.0.1 at 2013-08-24 10:55:01 +0200 Processing by Adherent::AdhesionsController#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"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 25 Adherent::Adhesion Load (1.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 25  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20  (0.3ms) 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 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 24ms (Views: 16.6ms | ActiveRecord: 3.4ms) Started GET "/adherent/members/25/payments/new" for 127.0.0.1 at 2013-08-24 10:55:01 +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.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 25 ORDER BY to_date  (0.3ms) 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" = 19 CACHE (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.8ms) 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 22ms (Views: 13.7ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (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 (6.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 09:03:18 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:03:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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" = 26) 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", Sat, 24 Aug 2013 09:03:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 26], ["updated_at", Sat, 24 Aug 2013 09:03:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 26 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 26 ORDER BY to_date DESC LIMIT 1  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 09:03:18 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 26], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:03:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/26/payments/new" for 127.0.0.1 at 2013-08-24 11:03:18 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"26"} 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", "26"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 26 ORDER BY to_date  (0.6ms) 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/payments/_form.html.haml (75.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (80.4ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.2ms) Completed 200 OK in 125ms (Views: 97.5ms | ActiveRecord: 5.4ms)  (0.5ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) 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", Sat, 24 Aug 2013 09:03:18 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:03:18 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" = 27) 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", Sat, 24 Aug 2013 09:03:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 27], ["updated_at", Sat, 24 Aug 2013 09:03:18 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" = 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", #], ["created_at", Sat, 24 Aug 2013 09:03:18 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 27], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:03:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/27/payments/new" for 127.0.0.1 at 2013-08-24 11:03:18 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"27"} Organism Load (0.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", "27"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27 ORDER BY to_date  (0.2ms) 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 (7.4ms) Rendered layouts/adherent/_header.html.haml (0.4ms) 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.2ms) Completed 200 OK in 19ms (Views: 13.2ms | ActiveRecord: 1.1ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 27 Started POST "/adherent/members/27/payments" for 127.0.0.1 at 2013-08-24 11:03:18 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"27"} 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", "27"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 09:03:18 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 27], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 09:03:18 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 27 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 22  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/27/adhesions Completed 302 Found in 19ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/27/adhesions" for 127.0.0.1 at 2013-08-24 11:03:18 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"27"} 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", "27"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27  (0.3ms) 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 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 19ms (Views: 15.2ms | ActiveRecord: 1.4ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 27  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 09:03:18 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:03:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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" = 28) 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", Sat, 24 Aug 2013 09:03:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 28], ["updated_at", Sat, 24 Aug 2013 09:03:18 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.6ms) 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 (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", #], ["created_at", Sat, 24 Aug 2013 09:03:18 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 28], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:03:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (13.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) 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.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 09:03:18 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:03:18 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" = 29) 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", Sat, 24 Aug 2013 09:03:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 29], ["updated_at", Sat, 24 Aug 2013 09:03:18 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" = 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.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Sat, 24 Aug 2013 09:03:18 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 29], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:03:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 09:04:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:04:20 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" = 30) LIMIT 1 SQL (36.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", Sat, 24 Aug 2013 09:04:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 30], ["updated_at", Sat, 24 Aug 2013 09:04:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30 Adherent::Adhesion Load (0.8ms) 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.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", #], ["created_at", Sat, 24 Aug 2013 09:04:20 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 30], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:04:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/30/payments/new" for 127.0.0.1 at 2013-08-24 11:04:20 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"30"} 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", "30"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30 ORDER BY to_date  (0.5ms) 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 (83.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (88.8ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 135ms (Views: 106.8ms | ActiveRecord: 4.8ms)  (0.6ms) 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.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 09:04:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:04:20 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" = 31) 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", Sat, 24 Aug 2013 09:04:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 31], ["updated_at", Sat, 24 Aug 2013 09:04:20 UTC +00:00]]  (0.1ms) 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" = 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", #], ["created_at", Sat, 24 Aug 2013 09:04:20 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 31], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:04:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/31/payments/new" for 127.0.0.1 at 2013-08-24 11:04:20 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"31"} 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", "31"]] Adherent::Adhesion Load (1.0ms) 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" = 26 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.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 20ms (Views: 11.6ms | ActiveRecord: 2.1ms)  (0.6ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 31 Started POST "/adherent/members/31/payments" for 127.0.0.1 at 2013-08-24 11:04:20 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "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"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 09:04:20 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 31], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 09:04:20 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 31 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 31 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 26  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/31/adhesions Completed 302 Found in 19ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/31/adhesions" for 127.0.0.1 at 2013-08-24 11:04:20 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"31"} 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", "31"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 31 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 31  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 26 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 26 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: 18.6ms | ActiveRecord: 1.5ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 31  (0.1ms) ROLLBACK  (0.0ms) BEGIN 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", Sat, 24 Aug 2013 09:04:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:04:20 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" = 'Adh000' AND "adherent_members"."organism_id" = 32) 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", Sat, 24 Aug 2013 09:04:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 32], ["updated_at", Sat, 24 Aug 2013 09:04:20 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" = 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.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", #], ["created_at", Sat, 24 Aug 2013 09:04:20 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 32], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:04:20 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", #], ["created_at", Sat, 24 Aug 2013 09:04:20 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 32], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 09:04:20 UTC +00:00]] 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"."member_id" = 32 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 27  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/32/payments" for 127.0.0.1 at 2013-08-24 11:04:20 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"32"} 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", "32"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 32 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 5 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.1ms) Completed 200 OK in 25ms (Views: 20.6ms | ActiveRecord: 2.2ms)  (0.1ms) ROLLBACK  (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", Sat, 24 Aug 2013 09:04:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:04:20 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" = 33) 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", Sat, 24 Aug 2013 09:04:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 33], ["updated_at", Sat, 24 Aug 2013 09:04:20 UTC +00:00]]  (0.0ms) 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" = 33 Adherent::Adhesion Load (0.3ms) 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.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", #], ["created_at", Sat, 24 Aug 2013 09:04:20 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 33], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:04:20 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", #], ["created_at", Sat, 24 Aug 2013 09:04:20 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 33], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 09:04:20 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 33 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 33 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 28  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/33/payments" for 127.0.0.1 at 2013-08-24 11:04:20 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"33"} 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", "33"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 33 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 6 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 6  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 6 Adherent::Reglement Load (0.2ms) 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 51ms (Views: 47.1ms | ActiveRecord: 2.4ms)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Organism Load (1.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 09:07:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:07:00 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" = 'Adh000' AND "adherent_members"."organism_id" = 34) 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", Sat, 24 Aug 2013 09:07:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 34], ["updated_at", Sat, 24 Aug 2013 09:07:00 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" = 34 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 ORDER BY to_date DESC LIMIT 1  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 09:07:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 34], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:07:01 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-24 11:07:01 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"34"} 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", "34"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 29 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (77.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (83.0ms) Rendered layouts/adherent/_header.html.haml (1.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.2ms) Completed 200 OK in 129ms (Views: 99.9ms | ActiveRecord: 4.7ms)  (0.5ms) ROLLBACK  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 09:07:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 35) 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", Sat, 24 Aug 2013 09:07:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 35], ["updated_at", Sat, 24 Aug 2013 09:07:01 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" = 35 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 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", #], ["created_at", Sat, 24 Aug 2013 09:07:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 35], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/35/payments/new" for 127.0.0.1 at 2013-08-24 11:07:01 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"35"} 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", "35"]] Adherent::Adhesion Load (1.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 ORDER BY to_date  (0.4ms) 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/payments/_form.html.haml (5.4ms) 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 21ms (Views: 9.1ms | ActiveRecord: 2.8ms)  (0.7ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 35 Started POST "/adherent/members/35/payments" for 127.0.0.1 at 2013-08-24 11:07:01 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"35"} 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", "35"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 09:07:01 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 35], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 09:07:01 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 35 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 30  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/35/adhesions Completed 302 Found in 27ms (ActiveRecord: 3.1ms) Started GET "/adherent/members/35/adhesions" for 127.0.0.1 at 2013-08-24 11:07:01 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"35"} 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", "35"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 30 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 30 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: 17.9ms | ActiveRecord: 1.8ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 35  (0.4ms) 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 (0.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 09:07:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:07:01 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" = 36) 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", Sat, 24 Aug 2013 09:07:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 36], ["updated_at", Sat, 24 Aug 2013 09:07:01 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" = 36 Adherent::Adhesion Load (0.3ms) 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.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", #], ["created_at", Sat, 24 Aug 2013 09:07:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 36], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:07:01 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", #], ["created_at", Sat, 24 Aug 2013 09:07:01 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 36], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 09:07:01 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 36 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 36 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 31  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/36/payments" for 127.0.0.1 at 2013-08-24 11:07:01 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"36"} 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", "36"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 36 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8 Adherent::Reglement Load (0.0ms) 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.3ms) 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 25ms (Views: 20.4ms | ActiveRecord: 1.9ms)  (0.1ms) 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", Sat, 24 Aug 2013 09:07:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:07:01 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" = 37) 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", Sat, 24 Aug 2013 09:07:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 37], ["updated_at", Sat, 24 Aug 2013 09:07:01 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" = 37 Adherent::Adhesion Load (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 09:07:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 37], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:07:01 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", #], ["created_at", Sat, 24 Aug 2013 09:07:01 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 37], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 09:07:01 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 37 LIMIT 1 Adherent::Adhesion Load (1.0ms) 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" = 32  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/37/payments" for 127.0.0.1 at 2013-08-24 11:07:01 +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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "37"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 37 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* 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  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9 Adherent::Reglement Load (0.4ms) 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 52ms (Views: 46.2ms | ActiveRecord: 2.2ms) Started GET "/adherent/payments/9/reglements/new" for 127.0.0.1 at 2013-08-24 11:07:01 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"9"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.6ms) 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" = 37 LIMIT 1 Adherent::Reglement Load (0.1ms) 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::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 32 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 /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (7.9ms) 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 36ms (Views: 19.2ms | ActiveRecord: 2.4ms)  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Sat, 24 Aug 2013 09:08:18 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:08:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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" = 38) 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", Sat, 24 Aug 2013 09:08:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 38], ["updated_at", Sat, 24 Aug 2013 09:08:18 UTC +00:00]]  (0.1ms) 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" = 38 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 38 ORDER BY to_date DESC LIMIT 1  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 09:08:18 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 38], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:08:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/38/payments/new" for 127.0.0.1 at 2013-08-24 11:08:18 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"38"} 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", "38"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 38 ORDER BY to_date  (0.5ms) 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 (77.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (83.5ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 129ms (Views: 99.8ms | ActiveRecord: 5.5ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.4ms) 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", Sat, 24 Aug 2013 09:08:19 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:08:19 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" = 39) 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", Sat, 24 Aug 2013 09:08:19 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 39], ["updated_at", Sat, 24 Aug 2013 09:08:19 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" = 39 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39 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", #], ["created_at", Sat, 24 Aug 2013 09:08:19 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 39], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:08:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/39/payments/new" for 127.0.0.1 at 2013-08-24 11:08:19 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"39"} 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", "39"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39 ORDER BY to_date  (0.2ms) 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 (8.6ms) 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 20ms (Views: 13.4ms | ActiveRecord: 1.4ms)  (0.6ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 39 Started POST "/adherent/members/39/payments" for 127.0.0.1 at 2013-08-24 11:08:19 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"39"} 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", "39"]]  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 09:08:19 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 39], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 09:08:19 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 39 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 34  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/39/adhesions Completed 302 Found in 19ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/39/adhesions" for 127.0.0.1 at 2013-08-24 11:08:19 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"39"} 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", "39"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 34 CACHE (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 34 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: 13.9ms | ActiveRecord: 2.2ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 39  (0.3ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Sat, 24 Aug 2013 09:08:19 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:08:19 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" = 'Adh000' AND "adherent_members"."organism_id" = 40) 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", Sat, 24 Aug 2013 09:08:19 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 40], ["updated_at", Sat, 24 Aug 2013 09:08:19 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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 40 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", #], ["created_at", Sat, 24 Aug 2013 09:08:19 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 40], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:08:19 UTC +00:00]]  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 09:08:19 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 40], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 09:08:19 UTC +00:00]] Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 40 LIMIT 1 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" = 35  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/40/payments" for 127.0.0.1 at 2013-08-24 11:08:19 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"40"} 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", "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" = 11 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11  (0.0ms) 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 27ms (Views: 19.9ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Organism Load (1.7ms) 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", Sat, 24 Aug 2013 09:08:19 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:08:19 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" = 41) 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", Sat, 24 Aug 2013 09:08:19 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 41], ["updated_at", Sat, 24 Aug 2013 09:08:19 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" = 41 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 41 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", #], ["created_at", Sat, 24 Aug 2013 09:08:19 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 41], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:08:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Sat, 24 Aug 2013 09:08:19 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 41], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 09:08:19 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 41 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 41 ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/41/payments" for 127.0.0.1 at 2013-08-24 11:08:19 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"41"} 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", "41"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 41 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12 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 Adherent::Reglement Load (0.2ms) 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.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 50ms (Views: 45.2ms | ActiveRecord: 1.9ms) Started GET "/adherent/payments/12/reglements/new" for 127.0.0.1 at 2013-08-24 11:08:19 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"12"} 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", "12"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 41 LIMIT 1 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 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36 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 /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (11.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 36ms (Views: 19.4ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 09:09:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:09:03 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" = 42) 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", Sat, 24 Aug 2013 09:09:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 42], ["updated_at", Sat, 24 Aug 2013 09:09:03 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" = 42 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 42 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", #], ["created_at", Sat, 24 Aug 2013 09:09:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 42], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:09:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/42/payments/new" for 127.0.0.1 at 2013-08-24 11:09:03 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"42"} 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", "42"]] Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 42 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (75.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (80.8ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.9ms) Completed 200 OK in 125ms (Views: 96.6ms | ActiveRecord: 5.4ms)  (0.5ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Sat, 24 Aug 2013 09:09:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:09:03 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" = 'Adh000' AND "adherent_members"."organism_id" = 43) 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", Sat, 24 Aug 2013 09:09:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 43], ["updated_at", Sat, 24 Aug 2013 09:09:03 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.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 43 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 43 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", #], ["created_at", Sat, 24 Aug 2013 09:09:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 43], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:09:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/43/payments/new" for 127.0.0.1 at 2013-08-24 11:09:03 +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.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 38 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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.3ms) Completed 200 OK in 18ms (Views: 12.3ms | ActiveRecord: 1.1ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 43 Started POST "/adherent/members/43/payments" for 127.0.0.1 at 2013-08-24 11:09:03 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "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"]]  (0.9ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 09:09:03 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 43], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 09:09:03 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.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 38  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/43/adhesions Completed 302 Found in 19ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/43/adhesions" for 127.0.0.1 at 2013-08-24 11:09:03 +0200 Processing by Adherent::AdhesionsController#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"]]  (0.3ms) SELECT COUNT(*) 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  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 38 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 38 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.2ms | ActiveRecord: 1.5ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 43  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 09:09:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:09:03 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" = 44) 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", Sat, 24 Aug 2013 09:09:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 44], ["updated_at", Sat, 24 Aug 2013 09:09:03 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" = 44 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 44 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (12.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", #], ["created_at", Sat, 24 Aug 2013 09:09:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 44], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:09:03 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", #], ["created_at", Sat, 24 Aug 2013 09:09:03 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 44], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 09:09:03 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 44 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 44 ORDER BY to_date  (0.3ms) 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/44/payments" for 127.0.0.1 at 2013-08-24 11:09:03 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"44"} 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", "44"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 44 Adherent::Reglement Load (0.8ms) SELECT "adherent_reglements".* 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  (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 25ms (Views: 19.9ms | ActiveRecord: 2.6ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 09:09:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:09:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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" = 45) 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", Sat, 24 Aug 2013 09:09:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 45], ["updated_at", Sat, 24 Aug 2013 09:09:03 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" = 45 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 45 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", #], ["created_at", Sat, 24 Aug 2013 09:09:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 45], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:09:03 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", #], ["created_at", Sat, 24 Aug 2013 09:09:03 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 45], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 09:09:03 UTC +00:00]] Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 45 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 45 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 40  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/45/payments" for 127.0.0.1 at 2013-08-24 11:09:03 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"45"} 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", "45"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 45 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* 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  (1.0ms) 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 49ms (Views: 43.9ms | ActiveRecord: 2.9ms) Started GET "/adherent/payments/15/reglements/new" for 127.0.0.1 at 2013-08-24 11:09:04 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"15"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "15"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 45 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::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 40 Adherent::Reglement Load (1.7ms) 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 /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (7.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 38ms (Views: 16.2ms | ActiveRecord: 4.3ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (1.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Sat, 24 Aug 2013 09:11:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:11:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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" = 46) 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", Sat, 24 Aug 2013 09:11:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 46], ["updated_at", Sat, 24 Aug 2013 09:11:20 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" = 46 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 46 ORDER BY to_date DESC LIMIT 1  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 09:11:20 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 46], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:11:20 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-24 11:11:20 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"46"} Organism Load (0.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", "46"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 46 ORDER BY to_date  (0.5ms) 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 (75.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (80.5ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 123ms (Views: 95.2ms | ActiveRecord: 5.9ms)  (0.4ms) ROLLBACK  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 09:11:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:11:20 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" = 47) 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", Sat, 24 Aug 2013 09:11:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 47], ["updated_at", Sat, 24 Aug 2013 09:11:20 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" = 47 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 47 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", #], ["created_at", Sat, 24 Aug 2013 09:11:20 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 47], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:11:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/47/payments/new" for 127.0.0.1 at 2013-08-24 11:11:20 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"47"} Organism Load (0.7ms) 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", "47"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 47 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 42 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (7.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 18ms (Views: 12.1ms | ActiveRecord: 1.5ms)  (1.0ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 47 Started POST "/adherent/members/47/payments" for 127.0.0.1 at 2013-08-24 11:11:20 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"47"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "47"]]  (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", #], ["created_at", Sat, 24 Aug 2013 09:11:20 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 47], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 09:11:20 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 47 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 47 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 42  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/47/adhesions Completed 302 Found in 19ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/47/adhesions" for 127.0.0.1 at 2013-08-24 11:11:20 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"47"} 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", "47"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 47 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 47  (0.2ms) 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.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 19ms (Views: 15.1ms | ActiveRecord: 1.4ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 47  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) 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", Sat, 24 Aug 2013 09:11:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:11:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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" = 48) 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", Sat, 24 Aug 2013 09:11:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 48], ["updated_at", Sat, 24 Aug 2013 09:11:21 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" = 48 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 48 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (90.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", #], ["created_at", Sat, 24 Aug 2013 09:11:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 48], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:11:21 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 09:11:21 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 48], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 09:11:21 UTC +00:00]] Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 48 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 48 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 43  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/48/payments" for 127.0.0.1 at 2013-08-24 11:11:21 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"48"} Organism Load (0.6ms) 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", "48"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 48 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 17 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 17  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 17 Adherent::Reglement Load (0.2ms) 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 (1.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 37ms (Views: 28.4ms | ActiveRecord: 2.7ms)  (0.3ms) 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", Sat, 24 Aug 2013 09:11:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:11:21 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" = 'Adh000' AND "adherent_members"."organism_id" = 49) 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", Sat, 24 Aug 2013 09:11:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 49], ["updated_at", Sat, 24 Aug 2013 09:11:21 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" = 49 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 49 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", #], ["created_at", Sat, 24 Aug 2013 09:11:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 49], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:11:21 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", #], ["created_at", Sat, 24 Aug 2013 09:11:21 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 49], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 09:11:21 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 49 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 49 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 44  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/49/payments" for 127.0.0.1 at 2013-08-24 11:11:21 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"49"} 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", "49"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 49 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.1ms) 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.1ms) Completed 200 OK in 48ms (Views: 43.7ms | ActiveRecord: 1.8ms) Started GET "/adherent/payments/18/reglements/new" for 127.0.0.1 at 2013-08-24 11:11:21 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"18"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "18"]] Adherent::Member Load (1.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 49 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 18  (1.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 18 Adherent::Adhesion Load (5.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 44 Adherent::Reglement Load (4.0ms) 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 /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (18.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 67ms (Views: 28.8ms | ActiveRecord: 13.6ms)  (0.5ms) ROLLBACK Connecting to database specified by database.yml Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (3.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 09:11:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:11:30 UTC +00:00]]  (57.9ms) COMMIT  (0.3ms) BEGIN Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 50) 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", Sat, 24 Aug 2013 09:11:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 50], ["updated_at", Sat, 24 Aug 2013 09:11:30 UTC +00:00]]  (1.4ms) 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" = 50) 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", Sat, 24 Aug 2013 09:11:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 50], ["updated_at", Sat, 24 Aug 2013 09:11:30 UTC +00:00]]  (1.4ms) 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" = 50) 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", Sat, 24 Aug 2013 09:11:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 50], ["updated_at", Sat, 24 Aug 2013 09:11:30 UTC +00:00]]  (0.7ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 50) 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", Sat, 24 Aug 2013 09:11:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 50], ["updated_at", Sat, 24 Aug 2013 09:11:30 UTC +00:00]]  (0.8ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 50) 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", Sat, 24 Aug 2013 09:11:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 50], ["updated_at", Sat, 24 Aug 2013 09:11:30 UTC +00:00]]  (0.9ms) COMMIT Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (0.2ms) BEGIN 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", #], ["created_at", Sat, 24 Aug 2013 09:11:30 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 50], ["mode", "Chèque"], ["updated_at", Sat, 24 Aug 2013 09:11:30 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 50 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 50 ORDER BY to_date  (1.5ms) COMMIT Started GET "/adherent/members/50/payments" for 127.0.0.1 at 2013-08-24 11:11:39 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"50"} Organism Load (0.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "50"]] Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 50 Adherent::Reglement Load (0.3ms) 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.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 19 Adherent::Reglement Load (1.1ms) 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 /home/jcl/rails_project/Adherent/app/views/adherent/payments/index.html.haml within layouts/adherent/application (76.7ms) Rendered layouts/adherent/_header.html.haml (1.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 109ms (Views: 88.6ms | ActiveRecord: 16.8ms) Started GET "/assets/adherent/application.css" for 127.0.0.1 at 2013-08-24 11:11:39 +0200 Served asset /adherent/application.css - 200 OK (312ms) Started GET "/assets/adherent/application.js" for 127.0.0.1 at 2013-08-24 11:11:39 +0200 Served asset /adherent/application.js - 200 OK (121ms) Started GET "/assets/adherent/icones/navigation90.png" for 127.0.0.1 at 2013-08-24 11:11:40 +0200 Served asset /adherent/icones/navigation90.png - 200 OK (2ms) Started GET "/assets/adherent/icones/money-plus.png" for 127.0.0.1 at 2013-08-24 11:11:40 +0200 Served asset /adherent/icones/money-plus.png - 200 OK (39ms) Started GET "/assets/adherent/icones/supprimer.png" for 127.0.0.1 at 2013-08-24 11:11:40 +0200 Served asset /adherent/icones/supprimer.png - 200 OK (2ms) Started DELETE "/adherent/members/50/payments/19" for 127.0.0.1 at 2013-08-24 11:11:41 +0200 Processing by Adherent::PaymentsController#destroy as HTML Parameters: {"member_id"=>"50", "id"=>"19"} Organism Load (9.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", "50"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 50 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "19"]]  (0.1ms) BEGIN Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 19 SQL (0.3ms) DELETE FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 [["id", 19]]  (140.7ms) COMMIT Redirected to http://127.0.0.1:58422/adherent/members/50/payments Completed 302 Found in 170ms (ActiveRecord: 152.2ms) Started GET "/adherent/members/50/payments" for 127.0.0.1 at 2013-08-24 11:11:41 +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.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "50"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 50 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/index.html.haml within layouts/adherent/application (3.5ms) Rendered layouts/adherent/_header.html.haml (0.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 12ms (Views: 7.5ms | ActiveRecord: 1.3ms)  (50.1ms) 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  (20.8ms) select table_name from information_schema.views where table_schema = 'adh_test'  (241.2ms) TRUNCATE TABLE "adherent_adhesions", "adherent_payments", "adherent_coords", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (0.5ms) 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 (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (2.7ms) BEGIN SQL (12.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 09:11:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:11:43 UTC +00:00]]  (47.2ms) 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" = 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", Sat, 24 Aug 2013 09:11:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:11:43 UTC +00:00]]  (22.2ms) COMMIT  (0.2ms) 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.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", Sat, 24 Aug 2013 09:11:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:11:43 UTC +00:00]]  (5.2ms) COMMIT  (0.4ms) BEGIN Adherent::Member Exists (3.0ms) 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", Sat, 24 Aug 2013 09:11:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:11:43 UTC +00:00]]  (1.4ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.7ms) 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", Sat, 24 Aug 2013 09:11:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:11:43 UTC +00:00]]  (1.3ms) 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.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", Sat, 24 Aug 2013 09:11:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:11:43 UTC +00:00]]  (1.2ms) COMMIT Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* 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 ORDER BY to_date DESC LIMIT 1  (0.5ms) BEGIN 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", #], ["created_at", Sat, 24 Aug 2013 09:11:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:11:43 UTC +00:00]]  (1.2ms) COMMIT Started GET "/adherent/members/1/adhesions" for 127.0.0.1 at 2013-08-24 11:11:43 +0200 Processing by Adherent::AdhesionsController#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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]]  (1.3ms) 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.6ms) 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 46ms (Views: 28.6ms | ActiveRecord: 12.3ms) Started GET "/assets/adherent/icones/nouveau.png" for 127.0.0.1 at 2013-08-24 11:11:43 +0200 Served asset /adherent/icones/nouveau.png - 200 OK (127ms) Started GET "/assets/adherent/icones/modifier.png" for 127.0.0.1 at 2013-08-24 11:11:43 +0200 Served asset /adherent/icones/modifier.png - 200 OK (22ms) Started DELETE "/adherent/members/1/adhesions/1" for 127.0.0.1 at 2013-08-24 11:11:44 +0200 Processing by Adherent::AdhesionsController#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 (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] Adherent::Adhesion Load (1.4ms) 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 (2.0ms) DELETE FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 [["id", 1]]  (149.1ms) COMMIT Redirected to http://127.0.0.1:58422/adherent/members/1/adhesions Completed 302 Found in 168ms (ActiveRecord: 153.2ms) Started GET "/adherent/members/1/adhesions" for 127.0.0.1 at 2013-08-24 11:11:44 +0200 Processing by Adherent::AdhesionsController#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"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 Redirected to http://127.0.0.1:58422/adherent/members/1/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET "/adherent/members/1/adhesions/new" for 127.0.0.1 at 2013-08-24 11:11:44 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1"} Organism Load (0.7ms) 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.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (133.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 158ms (Views: 143.7ms | ActiveRecord: 2.3ms) Started GET "/assets/adherent/cal.gif" for 127.0.0.1 at 2013-08-24 11:11:44 +0200 Served asset /adherent/cal.gif - 200 OK (27ms)  (1.1ms) SELECT COUNT(*) FROM "adherent_adhesions"  (0.7ms) 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  (284.4ms) TRUNCATE TABLE "adherent_adhesions", "adherent_payments", "adherent_coords", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (0.5ms) 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.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 09:11:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:11:45 UTC +00:00]]  (9.3ms) COMMIT  (2.3ms) BEGIN Adherent::Member Exists (1.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (15.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", Sat, 24 Aug 2013 09:11:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:11:45 UTC +00:00]]  (1.0ms) COMMIT  (0.2ms) BEGIN 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 (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", Sat, 24 Aug 2013 09:11:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:11:45 UTC +00:00]]  (1.4ms) 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.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", Sat, 24 Aug 2013 09:11:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:11:45 UTC +00:00]]  (1.8ms) COMMIT  (0.0ms) 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", Sat, 24 Aug 2013 09:11:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:11:45 UTC +00:00]]  (0.8ms) COMMIT  (0.2ms) BEGIN Adherent::Member Exists (1.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", Sat, 24 Aug 2013 09:11:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:11:45 UTC +00:00]]  (1.1ms) COMMIT Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 11:11:45 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (4.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 2 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 ORDER BY to_date Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 3 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date Adherent::Coord Load (0.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 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 121ms (Views: 98.5ms | ActiveRecord: 10.4ms) Started GET "/assets/adherent/icones/detail.png" for 127.0.0.1 at 2013-08-24 11:11:45 +0200 Served asset /adherent/icones/detail.png - 200 OK (62ms) Started GET "/assets/adherent/icones/afficher.png" for 127.0.0.1 at 2013-08-24 11:11:45 +0200 Served asset /adherent/icones/afficher.png - 200 OK (40ms) Started GET "/assets/adherent/icones/payment.png" for 127.0.0.1 at 2013-08-24 11:11:45 +0200 Served asset /adherent/icones/payment.png - 200 OK (24ms) Started DELETE "/adherent/members/1" for 127.0.0.1 at 2013-08-24 11:11:46 +0200 Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1"} Organism Load (8.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", "1"]]  (0.1ms) BEGIN Adherent::Coord Load (9.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1 SQL (5.7ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 1]]  (215.4ms) COMMIT Redirected to http://127.0.0.1:58422/adherent/members Completed 302 Found in 262ms (ActiveRecord: 239.1ms) Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 11:11:46 +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.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 2 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 ORDER BY to_date Adherent::Coord Load (1.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 3 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 ORDER BY to_date Adherent::Coord Load (1.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 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: 25.0ms | ActiveRecord: 5.6ms)  (0.6ms) SELECT COUNT(*) FROM "adherent_members"   (0.4ms) 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  (277.2ms) TRUNCATE TABLE "adherent_adhesions", "adherent_payments", "adherent_coords", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (1.5ms) 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 Connecting to database specified by database.yml Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (17.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 09:12:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:12:08 UTC +00:00]]  (0.8ms) COMMIT  (0.2ms) BEGIN Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) 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", Sat, 24 Aug 2013 09:12:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:12:09 UTC +00:00]]  (1.2ms) 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" = 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", Sat, 24 Aug 2013 09:12:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:12:09 UTC +00:00]]  (1.6ms) 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", Sat, 24 Aug 2013 09:12:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:12:09 UTC +00:00]]  (1.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" = 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", Sat, 24 Aug 2013 09:12:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:12:09 UTC +00:00]]  (0.8ms) COMMIT  (0.1ms) 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.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", Sat, 24 Aug 2013 09:12:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:12:09 UTC +00:00]]  (1.7ms) COMMIT Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 11:12:16 +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 (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 2 LIMIT 1 Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 3 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (102.3ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.5ms) Completed 200 OK in 184ms (Views: 125.0ms | ActiveRecord: 16.2ms) Started GET "/assets/adherent/application.css" for 127.0.0.1 at 2013-08-24 11:12:16 +0200 Served asset /adherent/application.css - 200 OK (161ms) Started GET "/assets/adherent/application.js" for 127.0.0.1 at 2013-08-24 11:12:16 +0200 Served asset /adherent/application.js - 200 OK (52ms) Started GET "/assets/adherent/icones/navigation90.png" for 127.0.0.1 at 2013-08-24 11:12:16 +0200 Served asset /adherent/icones/navigation90.png - 200 OK (4ms) Started GET "/assets/adherent/icones/nouveau.png" for 127.0.0.1 at 2013-08-24 11:12:16 +0200 Served asset /adherent/icones/nouveau.png - 200 OK (1ms) Started GET "/assets/adherent/icones/payment.png" for 127.0.0.1 at 2013-08-24 11:12:16 +0200 Served asset /adherent/icones/payment.png - 200 OK (2ms) Started GET "/assets/adherent/icones/modifier.png" for 127.0.0.1 at 2013-08-24 11:12:16 +0200 Served asset /adherent/icones/modifier.png - 200 OK (2ms) Started GET "/assets/adherent/icones/detail.png" for 127.0.0.1 at 2013-08-24 11:12:17 +0200 Served asset /adherent/icones/detail.png - 200 OK (77ms) Started GET "/assets/adherent/icones/afficher.png" for 127.0.0.1 at 2013-08-24 11:12:17 +0200 Served asset /adherent/icones/afficher.png - 200 OK (2ms) Started GET "/assets/adherent/icones/supprimer.png" for 127.0.0.1 at 2013-08-24 11:12:17 +0200 Served asset /adherent/icones/supprimer.png - 200 OK (2ms) Started DELETE "/adherent/members/1" for 127.0.0.1 at 2013-08-24 11:12:18 +0200 Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1"} Organism Load (0.4ms) 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"]]  (0.1ms) BEGIN Adherent::Coord Load (2.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1 SQL (1.0ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 1]]  (5.8ms) COMMIT Redirected to http://127.0.0.1:43079/adherent/members Completed 302 Found in 21ms (ActiveRecord: 10.5ms) Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 11:12:18 +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" = 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 2 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 3 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (31.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 38ms (Views: 31.1ms | ActiveRecord: 3.9ms)  (0.8ms) SELECT COUNT(*) FROM "adherent_members"  (62.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  (9.5ms) select table_name from information_schema.views where table_schema = 'adh_test'  (479.1ms) TRUNCATE TABLE "adherent_adhesions", "adherent_payments", "adherent_coords", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (0.4ms) 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.4ms) BEGIN SQL (1.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 09:12:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:12:20 UTC +00:00]]  (1.3ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (1.8ms) 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", Sat, 24 Aug 2013 09:12:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:12:20 UTC +00:00]]  (1.0ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 1) 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", Sat, 24 Aug 2013 09:12:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:12:20 UTC +00:00]]  (1.5ms) 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.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", Sat, 24 Aug 2013 09:12:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:12:20 UTC +00:00]]  (1.7ms) 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.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", Sat, 24 Aug 2013 09:12:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:12:20 UTC +00:00]]  (0.9ms) COMMIT  (0.1ms) 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.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", Sat, 24 Aug 2013 09:12:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:12:20 UTC +00:00]]  (1.5ms) COMMIT Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 Adherent::Adhesion Load (1.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date DESC LIMIT 1  (0.0ms) BEGIN 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", #], ["created_at", Sat, 24 Aug 2013 09:12:20 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:12:20 UTC +00:00]]  (0.7ms) COMMIT Started GET "/adherent/members/1/adhesions" for 127.0.0.1 at 2013-08-24 11:12:20 +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.4ms) SELECT COUNT(*) 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  (0.6ms) 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 67ms (Views: 58.3ms | ActiveRecord: 4.4ms) Started DELETE "/adherent/members/1/adhesions/1" for 127.0.0.1 at 2013-08-24 11:12:20 +0200 Processing by Adherent::AdhesionsController#destroy as HTML Parameters: {"member_id"=>"1", "id"=>"1"} Organism Load (1.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (4.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] Adherent::Adhesion Load (4.5ms) 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.4ms) DELETE FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 [["id", 1]]  (50.1ms) COMMIT Redirected to http://127.0.0.1:43079/adherent/members/1/adhesions Completed 302 Found in 102ms (ActiveRecord: 61.3ms) Started GET "/adherent/members/1/adhesions" for 127.0.0.1 at 2013-08-24 11:12:21 +0200 Processing by Adherent::AdhesionsController#index 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"]]  (0.6ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 Redirected to http://127.0.0.1:43079/adherent/members/1/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 1.2ms) Started GET "/adherent/members/1/adhesions/new" for 127.0.0.1 at 2013-08-24 11:12:21 +0200 Processing by Adherent::AdhesionsController#new 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::Adhesion Load (0.2ms) 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 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (31.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 43ms (Views: 36.2ms | ActiveRecord: 1.1ms) Started GET "/assets/adherent/cal.gif" for 127.0.0.1 at 2013-08-24 11:12:21 +0200 Served asset /adherent/cal.gif - 200 OK (16ms)  (1.1ms) SELECT COUNT(*) FROM "adherent_adhesions"  (0.2ms) 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  (203.9ms) TRUNCATE TABLE "adherent_adhesions", "adherent_payments", "adherent_coords", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (0.4ms) 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 (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.0ms) BEGIN SQL (13.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 09:12:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 09:12:22 UTC +00:00]]  (1.7ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (2.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (3.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", Sat, 24 Aug 2013 09:12:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:12:22 UTC +00:00]]  (1.3ms) 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" = 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", Sat, 24 Aug 2013 09:12:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:12:22 UTC +00:00]]  (1.3ms) 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.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", Sat, 24 Aug 2013 09:12:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:12:22 UTC +00:00]]  (1.2ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (3.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (1.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", Sat, 24 Aug 2013 09:12:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:12:22 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" = '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", Sat, 24 Aug 2013 09:12:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:12:22 UTC +00:00]]  (1.1ms) COMMIT Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (0.2ms) BEGIN SQL (0.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 09:12:22 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 1], ["mode", "Chèque"], ["updated_at", Sat, 24 Aug 2013 09:12:22 UTC +00:00]] Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 1 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date  (1.5ms) COMMIT Started GET "/adherent/members/1/payments" for 127.0.0.1 at 2013-08-24 11:12:22 +0200 Processing by Adherent::PaymentsController#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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 1 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* 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  (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 (1.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 40ms (Views: 34.1ms | ActiveRecord: 3.9ms) Started GET "/assets/adherent/icones/money-plus.png" for 127.0.0.1 at 2013-08-24 11:12:22 +0200 Served asset /adherent/icones/money-plus.png - 200 OK (16ms) Started DELETE "/adherent/members/1/payments/1" for 127.0.0.1 at 2013-08-24 11:12:22 +0200 Processing by Adherent::PaymentsController#destroy as HTML Parameters: {"member_id"=>"1", "id"=>"1"} Organism Load (3.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] Adherent::Payment Load (0.5ms) 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 (2.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1 SQL (11.1ms) DELETE FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 [["id", 1]]  (44.3ms) COMMIT Redirected to http://127.0.0.1:43079/adherent/members/1/payments Completed 302 Found in 97ms (ActiveRecord: 62.0ms) Started GET "/adherent/members/1/payments" for 127.0.0.1 at 2013-08-24 11:12:23 +0200 Processing by Adherent::PaymentsController#index 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.2ms) 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.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: 10.0ms | ActiveRecord: 1.3ms)  (1.5ms) SELECT COUNT(*) FROM "adherent_payments"  (0.9ms) 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  (221.9ms) TRUNCATE TABLE "adherent_adhesions", "adherent_payments", "adherent_coords", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (0.8ms) 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 Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.2ms) 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.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) 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.0ms) 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  (1.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Adhesion Load (1.9ms) 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  (3.1ms) 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 Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) 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.6ms) 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 Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Adhesion Load (1.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) 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.0ms) 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.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) 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.3ms) ROLLBACK  (0.2ms) 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.0ms) 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.2ms) SAVEPOINT active_record_1  (24.5ms) ROLLBACK TO SAVEPOINT active_record_1 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.0ms) 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.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 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.0ms) 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.3ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (1.1ms) ROLLBACK  (0.0ms) 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.0ms) 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.0ms) BEGIN Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Adhesion Load (2.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 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 Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (4.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", #], ["created_at", Sat, 24 Aug 2013 09:34:51 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:34:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 1  (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", 1], ["amount", #], ["created_at", Sat, 24 Aug 2013 09:34:51 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 09:34:51 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 1  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 1  (0.4ms) ROLLBACK  (0.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 09:34:51 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:34:51 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" = 2  (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", 2], ["amount", #], ["created_at", Sat, 24 Aug 2013 09:34:51 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 09:34:51 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 2  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Sat, 24 Aug 2013 09:34:51 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:34:51 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 3  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) 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", #], ["created_at", Sat, 24 Aug 2013 09:34:51 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 09:34:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (5.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", #], ["created_at", Sat, 24 Aug 2013 09:41:11 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:41:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 4  (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", 4], ["amount", #], ["created_at", Sat, 24 Aug 2013 09:41:11 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 09:41:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 4  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 4  (0.4ms) ROLLBACK  (0.0ms) BEGIN  (1.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", #], ["created_at", Sat, 24 Aug 2013 09:41:11 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:41:11 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" = 5  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 5], ["amount", #], ["created_at", Sat, 24 Aug 2013 09:41:11 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 09:41:11 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" = 5  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 09:41:11 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:41:11 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" = 6  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 6], ["amount", #], ["created_at", Sat, 24 Aug 2013 09:41:11 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 09:41:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) 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.1ms) ROLLBACK  (0.0ms) 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.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) 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.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 09:42:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:42:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 7  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) 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", #], ["created_at", Sat, 24 Aug 2013 09:42:43 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 09:42:43 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" = 7  (0.4ms) 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", #], ["created_at", Sat, 24 Aug 2013 09:42:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:42:43 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" = 8  (0.5ms) 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", 8], ["amount", #], ["created_at", Sat, 24 Aug 2013 09:42:43 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 09:42:43 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" = 8  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (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", #], ["created_at", Sat, 24 Aug 2013 09:42:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:42:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 9  (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", 9], ["amount", #], ["created_at", Sat, 24 Aug 2013 09:42:43 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 09:42:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.4ms) BEGIN  (0.1ms) 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.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) 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.0ms) 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.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) 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) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) 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) SAVEPOINT active_record_1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) 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.0ms) 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.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (3.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", Sat, 24 Aug 2013 09:45:52 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:45:52 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" = 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 (1.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 09:45:52 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:45:52 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" = 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.4ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) 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.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", Sat, 24 Aug 2013 09:45:52 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:45:52 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" = 2 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 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", #], ["created_at", Sat, 24 Aug 2013 09:45:52 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 2], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:45:52 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" = 2 Adherent::Adhesion Load (3.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Sat, 24 Aug 2013 09:45:53 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 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", #], ["created_at", Sat, 24 Aug 2013 09:45:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 3], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:45:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) 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.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.0ms) 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.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", Sat, 24 Aug 2013 09:48:36 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 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", #], ["created_at", Sat, 24 Aug 2013 09:48:36 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 4], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:48:36 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" = 4 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date DESC LIMIT 1  (0.4ms) ROLLBACK  (0.0ms) 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", Sat, 24 Aug 2013 09:48:36 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:48:36 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" = 5 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 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", #], ["created_at", Sat, 24 Aug 2013 09:48:36 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 5], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:48:36 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" = 5 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 ORDER BY to_date DESC LIMIT 1  (0.4ms) ROLLBACK  (0.0ms) 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.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", Sat, 24 Aug 2013 09:48:36 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:48:36 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" = 6 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 6 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", #], ["created_at", Sat, 24 Aug 2013 09:48:36 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 6], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:48:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 6 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 6 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.2ms) 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.0ms) 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.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) 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", Sat, 24 Aug 2013 09:57:13 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:57:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) 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.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 09:57:13 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 7], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:57:13 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" = 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.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Sat, 24 Aug 2013 09:57:13 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:57:13 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" = 8 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 8 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 09:57:13 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 8], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:57:13 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" = 8 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 8 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) 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", Sat, 24 Aug 2013 09:57:13 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:57:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 9 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 9 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", #], ["created_at", Sat, 24 Aug 2013 09:57:13 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 9], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:57:13 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" = 9 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 9 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' 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", Sat, 24 Aug 2013 09:58:44 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 09:58:44 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" = 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 (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", #], ["created_at", Sat, 24 Aug 2013 09:58:44 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 10], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 09:58:44 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" = 10 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 10 ORDER BY to_date DESC LIMIT 1  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (1.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", Sat, 24 Aug 2013 10:00:42 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:00:42 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" = 11 Adherent::Adhesion Load (0.5ms) 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 (1.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:00:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 11], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:00:43 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" = 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.4ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (1.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.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.0ms) BEGIN Adherent::Member Exists (0.2ms) 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 (1.9ms) 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  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) 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", Tue, 06 Jun 1944], ["created_at", Sat, 24 Aug 2013 10:01:07 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:01:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) 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", Sat, 24 Aug 2013 10:01:07 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:01:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.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.0ms) 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 (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", Sat, 24 Aug 2013 10:01:07 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:01:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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.1ms) ROLLBACK  (0.0ms) 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.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  (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.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", Sat, 24 Aug 2013 10:01:07 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:01:07 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 15 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 15 ORDER BY to_date DESC LIMIT 1  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:01:07 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 15], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:01:07 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" = 15 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 15 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) 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.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", Sat, 24 Aug 2013 10:01:07 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:01:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (5.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 16 Adherent::Adhesion Load (0.9ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:01:07 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 16], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:01:07 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" = 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.4ms) 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", Sat, 24 Aug 2013 10:01:07 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:01:07 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" = 17 Adherent::Adhesion Load (0.2ms) 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 (5.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", #], ["created_at", Sat, 24 Aug 2013 10:01:07 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 17], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:01:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 17 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 17 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN 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  (0.0ms) 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.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.0ms) BEGIN Adherent::Member Exists (0.8ms) 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  (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 (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", Tue, 06 Jun 1944], ["created_at", Sat, 24 Aug 2013 10:02:10 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:02:10 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) 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.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", Sat, 24 Aug 2013 10:02:10 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:02:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.0ms) 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", Sat, 24 Aug 2013 10:02:10 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:02:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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.1ms) 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.0ms) 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.0ms) 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.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", Sat, 24 Aug 2013 10:02:10 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:02:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (2.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 21 Adherent::Adhesion Load (0.4ms) 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 (1.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", #], ["created_at", Sat, 24 Aug 2013 10:02:10 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 21], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:02:10 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" = 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) ROLLBACK  (0.0ms) 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 (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", Sat, 24 Aug 2013 10:02:10 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:02:10 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 22 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 22 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", #], ["created_at", Sat, 24 Aug 2013 10:02:10 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 22], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:02:10 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" = 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) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.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", Sat, 24 Aug 2013 10:02:10 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:02:10 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 23 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 23 ORDER BY to_date DESC LIMIT 1  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:02:10 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 23], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:02:10 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" = 23 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 23 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (1.0ms) 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 Adherent::Member Exists (0.2ms) 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.0ms) BEGIN Adherent::Member Exists (0.2ms) 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.0ms) BEGIN Adherent::Member Exists (0.9ms) 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  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' 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", Tue, 06 Jun 1944], ["created_at", Sat, 24 Aug 2013 10:04:37 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:04:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.0ms) 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.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", Sat, 24 Aug 2013 10:04:37 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:04:37 UTC +00:00]]  (0.1ms) RELEASE 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  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Sat, 24 Aug 2013 10:04:37 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:04:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.0ms) ROLLBACK  (0.0ms) BEGIN Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) 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", Sat, 24 Aug 2013 10:04:37 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:04:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27 Adherent::Adhesion Load (0.3ms) 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.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", #], ["created_at", Sat, 24 Aug 2013 10:04:37 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 27], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:04:37 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" = 27 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) 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.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", Sat, 24 Aug 2013 10:04:37 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:04:37 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" = 28 Adherent::Adhesion Load (0.4ms) 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 (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", #], ["created_at", Sat, 24 Aug 2013 10:04:37 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 28], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:04:37 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" = 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.7ms) ROLLBACK  (0.0ms) 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", Sat, 24 Aug 2013 10:04:37 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:04:37 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 29 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 29 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", #], ["created_at", Sat, 24 Aug 2013 10:04:37 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 29], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:04:37 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" = 29 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 29 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" IS NULL AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.6ms) 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.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.0ms) BEGIN Adherent::Member Exists (1.1ms) 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.0ms) 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 (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", Tue, 06 Jun 1944], ["created_at", Sat, 24 Aug 2013 10:04:54 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:04:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) 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", Sat, 24 Aug 2013 10:04:54 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:04:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) 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", Sat, 24 Aug 2013 10:04:54 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:04:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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) ROLLBACK  (0.0ms) BEGIN Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) 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.0ms) BEGIN Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) 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", Sat, 24 Aug 2013 10:04:54 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:04:54 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.2ms) 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 (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", #], ["created_at", Sat, 24 Aug 2013 10:04:54 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 33], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:04:54 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 33 ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) 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", Sat, 24 Aug 2013 10:04:54 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:04:54 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" = 34 Adherent::Adhesion Load (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:04:54 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 34], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:04:54 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" = 34 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) 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", Sat, 24 Aug 2013 10:04:54 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:04:54 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 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", #], ["created_at", Sat, 24 Aug 2013 10:04:54 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 35], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:04:54 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (6.4ms) ROLLBACK  (0.1ms) BEGIN  (4.6ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) 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.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  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (3.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", Sat, 24 Aug 2013 10:08:43 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:08:43 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" = 36 Adherent::Adhesion Load (0.2ms) 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.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", #], ["created_at", Sat, 24 Aug 2013 10:08:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 36], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:08:43 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" = 36 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 36 ORDER BY to_date DESC LIMIT 1  (0.6ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Sat, 24 Aug 2013 10:08:43 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:08:43 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" = 37 Adherent::Adhesion Load (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:08:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 37], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:08:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 37 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 37 ORDER BY to_date DESC LIMIT 1  (0.4ms) ROLLBACK  (0.0ms) 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.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", Sat, 24 Aug 2013 10:08:43 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:08:43 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" = 38 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 38 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", #], ["created_at", Sat, 24 Aug 2013 10:08:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 38], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:08:43 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" = 38 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 38 ORDER BY to_date DESC 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.0ms) BEGIN 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  (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 (0.5ms) 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  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Sat, 24 Aug 2013 10:08:43 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:08:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 2) LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Sat, 24 Aug 2013 10:08:43 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:08:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Tue, 06 Jun 1944], ["created_at", Sat, 24 Aug 2013 10:08:43 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:08:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:14 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" = '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", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:14 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" = 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", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:14 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" = 'Adh002' 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", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:14 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" = 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", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:14 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" = 'Adh004' 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", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:14 UTC +00:00]]  (0.1ms) 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-24 12:09:14 +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" = 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 42 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 42 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 43 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 43 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 44 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 44 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 45 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 45 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 46 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 46 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (66.5ms) Rendered layouts/adherent/_header.html.haml (1.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 185ms (Views: 109.5ms | ActiveRecord: 9.0ms)  (1.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:14 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" = 2) 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", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 2], ["updated_at", Sat, 24 Aug 2013 10:09:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' 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", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 2], ["updated_at", Sat, 24 Aug 2013 10:09:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 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", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 2], ["updated_at", Sat, 24 Aug 2013 10:09:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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" = 2) 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", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 2], ["updated_at", Sat, 24 Aug 2013 10:09:14 UTC +00:00]]  (0.2ms) 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" = 'Adh004' 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", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 2], ["updated_at", Sat, 24 Aug 2013 10:09:14 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-24 12:09:14 +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.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 2 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 47 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 47 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 48 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 48 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 49 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 49 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 50 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 50 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 51 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 51 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 33ms (Views: 23.7ms | ActiveRecord: 4.1ms)  (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.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", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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" = 3) 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", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 3], ["updated_at", Sat, 24 Aug 2013 10:09:14 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" = 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", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 3], ["updated_at", Sat, 24 Aug 2013 10:09:14 UTC +00:00]]  (0.0ms) 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" = 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", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 3], ["updated_at", Sat, 24 Aug 2013 10:09:14 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" = 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", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 3], ["updated_at", Sat, 24 Aug 2013 10:09:14 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" = 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", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 3], ["updated_at", Sat, 24 Aug 2013 10:09:14 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-24 12:09:14 +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" = 3 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 52 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 52 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 53 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 53 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 54 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 54 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 55 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 55 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 56 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 56 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 39ms (Views: 29.4ms | ActiveRecord: 3.9ms) Adherent::Member Load (6.2ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/52/coord" for 127.0.0.1 at 2013-08-24 12:09:14 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"52"} 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", "52"]] Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 52 LIMIT 1 Redirected to http://www.example.com/adherent/members/52/coord/new Completed 302 Found in 9ms (ActiveRecord: 0.8ms) Started GET "/adherent/members/52/coord/new" for 127.0.0.1 at 2013-08-24 12:09:14 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"52"} 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", "52"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 52 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (83.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 107ms (Views: 90.3ms | ActiveRecord: 1.0ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:14 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" = 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", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 4], ["updated_at", Sat, 24 Aug 2013 10:09:14 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.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", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 4], ["updated_at", Sat, 24 Aug 2013 10:09:14 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" = 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", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 4], ["updated_at", Sat, 24 Aug 2013 10:09:14 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" = 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", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 4], ["updated_at", Sat, 24 Aug 2013 10:09:14 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" = 'Adh004' AND "adherent_members"."organism_id" = 4) 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", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 4], ["updated_at", Sat, 24 Aug 2013 10:09:14 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-24 12:09:14 +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" = 4 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 57 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 57 LIMIT 1 Adherent::Adhesion Load (0.4ms) 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.3ms) 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.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 60 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 60 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 61 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 61 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 33ms (Views: 23.6ms | ActiveRecord: 3.6ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) 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", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 57], ["office", nil], ["tel", nil], ["updated_at", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["zip", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 57 LIMIT 1 Started GET "/adherent/members/57/coord" for 127.0.0.1 at 2013-08-24 12:09:14 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"57"} 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", "57"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 57 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.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 10ms (Views: 6.7ms | ActiveRecord: 0.7ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:14 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" = 5) 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", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 5], ["updated_at", Sat, 24 Aug 2013 10:09:14 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" = 5) 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", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 5], ["updated_at", Sat, 24 Aug 2013 10:09:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' 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", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 5], ["updated_at", Sat, 24 Aug 2013 10:09:14 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" = 'Adh003' 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", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 5], ["updated_at", Sat, 24 Aug 2013 10:09:14 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" = 5) 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", Sat, 24 Aug 2013 10:09:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 5], ["updated_at", Sat, 24 Aug 2013 10:09:14 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-24 12:09:15 +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" = 5 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 62 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 62 LIMIT 1 Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 63 ORDER BY to_date Adherent::Coord Load (0.3ms) 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 (1.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 64 LIMIT 1 Adherent::Adhesion Load (0.3ms) 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 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 66 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 66 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 34ms (Views: 23.9ms | ActiveRecord: 5.4ms) Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-24 12:09:15 +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 (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 13ms (Views: 10.8ms | ActiveRecord: 0.6ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:15 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" = 6) 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 6], ["updated_at", Sat, 24 Aug 2013 10:09:15 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.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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 6], ["updated_at", Sat, 24 Aug 2013 10:09:15 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.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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 6], ["updated_at", Sat, 24 Aug 2013 10:09:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 6], ["updated_at", Sat, 24 Aug 2013 10:09:15 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" = 6) 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 6], ["updated_at", Sat, 24 Aug 2013 10:09:15 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-24 12:09:15 +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.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 6 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 67 ORDER BY to_date Adherent::Coord Load (0.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 67 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 68 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 68 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 69 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 69 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 70 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 70 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 71 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 71 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 35ms (Views: 25.0ms | ActiveRecord: 4.5ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/67/edit" for 127.0.0.1 at 2013-08-24 12:09:15 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"67"} Organism Load (0.8ms) 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", "67"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (6.0ms) Rendered layouts/adherent/_header.html.haml (0.4ms) 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: 11.5ms | ActiveRecord: 1.1ms)  (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.7ms) 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 10:09:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:15 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" = 7) 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 7], ["updated_at", Sat, 24 Aug 2013 10:09:15 UTC +00:00]]  (0.1ms) 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" = 'Adh001' AND "adherent_members"."organism_id" = 7) 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 7], ["updated_at", Sat, 24 Aug 2013 10:09:15 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" = 'Adh002' AND "adherent_members"."organism_id" = 7) 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 7], ["updated_at", Sat, 24 Aug 2013 10:09:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 7) 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 7], ["updated_at", Sat, 24 Aug 2013 10:09:15 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" = 7) 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 7], ["updated_at", Sat, 24 Aug 2013 10:09:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 12:09:15 +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" = 7 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 72 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 72 LIMIT 1 Adherent::Adhesion Load (0.3ms) 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.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 74 LIMIT 1 Adherent::Adhesion Load (0.3ms) 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 76 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 76 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 30ms (Views: 24.1ms | ActiveRecord: 3.5ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/72/adhesions" for 127.0.0.1 at 2013-08-24 12:09:15 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"72"} 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", "72"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 72 Redirected to http://www.example.com/adherent/members/72/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 1.0ms) Started GET "/adherent/members/72/adhesions/new" for 127.0.0.1 at 2013-08-24 12:09:15 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"72"} 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", "72"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 72 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 72 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (13.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 87ms (Views: 19.6ms | ActiveRecord: 2.0ms)  (0.3ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:15 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" = 8) LIMIT 1 SQL (5.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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 8], ["updated_at", Sat, 24 Aug 2013 10:09:15 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" = 'Adh001' AND "adherent_members"."organism_id" = 8) LIMIT 1 SQL (3.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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 8], ["updated_at", Sat, 24 Aug 2013 10:09:15 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" = 8) LIMIT 1 SQL (2.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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 8], ["updated_at", Sat, 24 Aug 2013 10:09:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 8) 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 8], ["updated_at", Sat, 24 Aug 2013 10:09:15 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" = 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 8], ["updated_at", Sat, 24 Aug 2013 10:09:15 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-24 12:09:15 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (2.4ms) 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"."organism_id" = 8 Adherent::Adhesion Load (4.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 77 ORDER BY to_date Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 77 LIMIT 1 Adherent::Adhesion Load (3.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 78 ORDER BY to_date Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 78 LIMIT 1 Adherent::Adhesion Load (3.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 79 ORDER BY to_date Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 79 LIMIT 1 Adherent::Adhesion Load (1.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 80 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 80 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 81 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 81 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 54ms (Views: 30.5ms | ActiveRecord: 20.6ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/77/payments" for 127.0.0.1 at 2013-08-24 12:09:15 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"77"} 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", "77"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 77 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: 15.2ms | ActiveRecord: 3.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 9) 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 9], ["updated_at", Sat, 24 Aug 2013 10:09:15 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" = 9) 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 9], ["updated_at", Sat, 24 Aug 2013 10:09:15 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" = 9) 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 9], ["updated_at", Sat, 24 Aug 2013 10:09:15 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" = 9) 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 9], ["updated_at", Sat, 24 Aug 2013 10:09:15 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" = 9) 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 9], ["updated_at", Sat, 24 Aug 2013 10:09:15 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-24 12:09:15 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.7ms) 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"."organism_id" = 9 Adherent::Adhesion Load (0.4ms) 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.2ms) 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.4ms) 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 (0.9ms) 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 33ms (Views: 24.2ms | ActiveRecord: 5.9ms) Adherent::Member Load (0.6ms) 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.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 82 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 82], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:09:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/82/adhesions" for 127.0.0.1 at 2013-08-24 12:09:15 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"82"} 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", "82"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 82 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 82  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36 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: 17.7ms | ActiveRecord: 4.5ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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" = 10) 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 10], ["updated_at", Sat, 24 Aug 2013 10:09:15 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" = 10) 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 10], ["updated_at", Sat, 24 Aug 2013 10:09:15 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.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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 10], ["updated_at", Sat, 24 Aug 2013 10:09:15 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" = 'Adh003' 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 10], ["updated_at", Sat, 24 Aug 2013 10:09:15 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" = 'Adh004' AND "adherent_members"."organism_id" = 10) 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 10], ["updated_at", Sat, 24 Aug 2013 10:09:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-24 12:09:15 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (8.9ms) Rendered layouts/adherent/_header.html.haml (0.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 18ms (Views: 14.7ms | ActiveRecord: 0.4ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members" Started POST "/adherent/members" for 127.0.0.1 at 2013-08-24 12:09:15 +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.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'ADH1' 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 10], ["updated_at", Sat, 24 Aug 2013 10:09:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/92/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.8ms) Started GET "/adherent/members/92/coord/new" for 127.0.0.1 at 2013-08-24 12:09:15 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"92"} 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", "92"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 92 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (11.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 18ms (Views: 14.8ms | ActiveRecord: 0.7ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_members"   (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1001"} Organism Load (0.2ms) 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 11 Completed 200 OK in 7ms (Views: 2.2ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1002"} 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1003"} 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.7ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1005"} 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.1ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1007"} 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1007/coord Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1009/coord Completed 302 Found in 6ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1011"} 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1013"} 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1015"} 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1017"} 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1017/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1019"} 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", Sat, 24 Aug 2013 10:09:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1021"} 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", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1023"} 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", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:16 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.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.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", #], ["created_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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.9ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:16 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) ROLLBACK  (0.1ms) BEGIN  (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", #], ["created_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 38  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 38], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:16 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" = 38  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 38  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.4ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 39  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 39], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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.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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 24 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.1ms)  (0.2ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} 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", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 2.3ms | ActiveRecord: 1.2ms)  (0.1ms) 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", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:16 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::MembersController#destroy as HTML Parameters: {"id"=>"1030"} Organism Load (0.3ms) 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", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 7ms (ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1031"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1032"} Organism Load (0.3ms) 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", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1032 Completed 302 Found in 11ms (ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1033"} Organism Load (1.1ms) 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", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1033 Completed 302 Found in 5ms (ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1034"} 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", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (1.7ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1035"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.6ms) 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", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1035 Completed 302 Found in 7ms (ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML 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", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.9ms)  (0.1ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09: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" = 'A001' AND "adherent_members"."organism_id" = 35) 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", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 35], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/93/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.5ms) 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", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.0ms) 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 (0.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 37) 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", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 37], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/94/coord/new Completed 302 Found in 11ms (ActiveRecord: 2.6ms)  (0.1ms) 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.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", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:16 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" = 'A001' AND "adherent_members"."organism_id" = 38) 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", Mon, 06 Jun 1955], ["created_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 38], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/95/coord/new Completed 302 Found in 9ms (ActiveRecord: 2.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} 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", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} Organism Load (1.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", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 3.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09: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" = 41) 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", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 41], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 Adherent::Adhesion Load (1.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 ORDER BY to_date DESC LIMIT 1  (0.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", #], ["created_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 96], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/96/payments/new" for 127.0.0.1 at 2013-08-24 12:09:16 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"96"} 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", "96"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 ORDER BY to_date  (0.2ms) 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 (12.9ms) 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 33ms (Views: 19.0ms | ActiveRecord: 1.2ms)  (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 (0.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09: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" = 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", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 42], ["updated_at", Sat, 24 Aug 2013 10:09: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" = 97 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 97 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", #], ["created_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 97], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/97/payments/new" for 127.0.0.1 at 2013-08-24 12:09:16 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"97"} 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", "97"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 97 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 (6.6ms) 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 19ms (Views: 10.7ms | ActiveRecord: 1.3ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 97 Started POST "/adherent/members/97/payments" for 127.0.0.1 at 2013-08-24 12:09: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"=>"97"} 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", "97"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 97], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 97 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 97 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 41  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/97/adhesions Completed 302 Found in 19ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/97/adhesions" for 127.0.0.1 at 2013-08-24 12:09:16 +0200 Processing by Adherent::AdhesionsController#index 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"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 97 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 97  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 41 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 41 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 11ms (Views: 7.0ms | ActiveRecord: 1.4ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 97  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09: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" = 43) 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", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 43], ["updated_at", Sat, 24 Aug 2013 10:09: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" = 98 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 98 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", #], ["created_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 98], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 98], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 98 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 98 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 42  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/98/payments" for 127.0.0.1 at 2013-08-24 12:09:16 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"98"} Organism Load (0.7ms) 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", "98"]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 98 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 2 Adherent::Reglement Load (0.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 2  (0.2ms) 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 20ms (Views: 14.6ms | ActiveRecord: 2.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (1.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:16 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" = 44) 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", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 44], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 99 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 99 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", #], ["created_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 99], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:09:16 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", #], ["created_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 99], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 99 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 99 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 43  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/99/payments" for 127.0.0.1 at 2013-08-24 12:09:16 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"99"} 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", "99"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 99 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* 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  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 3 Adherent::Reglement Load (0.9ms) 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 14ms (Views: 9.8ms | ActiveRecord: 2.4ms) Started GET "/adherent/payments/3/reglements/new" for 127.0.0.1 at 2013-08-24 12:09:16 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"3"} 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", "3"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 99 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::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" = 43 Adherent::Reglement Load (0.7ms) 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 /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.0ms) 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 25ms (Views: 15.9ms | ActiveRecord: 2.5ms)  (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.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09: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" = 45) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 45], ["updated_at", Sat, 24 Aug 2013 10:09:16 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/100/coord/new" for 127.0.0.1 at 2013-08-24 12:09:16 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"100"} 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", "100"]] Adherent::Coord Load (1.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 100 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.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 19ms (Views: 14.5ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.8ms) 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 10:09:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09: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" = 46) 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", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 46], ["updated_at", Sat, 24 Aug 2013 10:09:16 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/101/coord/new" for 127.0.0.1 at 2013-08-24 12:09:16 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"101"} 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", "101"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 101 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (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.1ms) Completed 200 OK in 19ms (Views: 15.0ms | ActiveRecord: 0.9ms)  (5.2ms) SELECT COUNT(*) FROM "adherent_coords"  Started POST "/adherent/members/101/coord" for 127.0.0.1 at 2013-08-24 12:09:16 +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"=>"101"} Organism Load (5.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", "101"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 101 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.5ms) 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", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 101], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/101/adhesions/new Completed 302 Found in 16ms (ActiveRecord: 10.6ms) Started GET "/adherent/members/101/adhesions/new" for 127.0.0.1 at 2013-08-24 12:09:16 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"101"} Organism Load (5.6ms) 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"."id" = $1 LIMIT 1 [["id", "101"]] Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 101 Adherent::Adhesion Load (1.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 101 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (15.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 34ms (Views: 21.4ms | ActiveRecord: 8.3ms)  (3.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.4ms) ROLLBACK  (0.1ms) BEGIN Organism Load (2.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.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", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:16 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" = 'Adh000' AND "adherent_members"."organism_id" = 47) 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", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 47], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members/102/coord/new" for 127.0.0.1 at 2013-08-24 12:09:16 +0200 Processing by Adherent::CoordsController#new 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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "102"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 102 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (9.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 18ms (Views: 12.8ms | ActiveRecord: 1.0ms) Started POST "/adherent/members/102/coord" for 127.0.0.1 at 2013-08-24 12:09:16 +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"=>"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  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) 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", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 102], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 10:09:16 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/102/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 1.2ms) Started GET "/adherent/members/102/adhesions/new" for 127.0.0.1 at 2013-08-24 12:09:16 +0200 Processing by Adherent::AdhesionsController#new 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::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 102 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 102 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 (1.4ms) Completed 200 OK in 14ms (Views: 9.0ms | ActiveRecord: 0.9ms) Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 102 LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Sat, 24 Aug 2013 10:09:17 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:17 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" = 48) 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", Sat, 24 Aug 2013 10:09:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 48], ["updated_at", Sat, 24 Aug 2013 10:09:17 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/103/coord/new" for 127.0.0.1 at 2013-08-24 12:09:17 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"103"} 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", "103"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 103 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.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.0ms) Completed 200 OK in 16ms (Views: 10.9ms | ActiveRecord: 0.8ms) Started POST "/adherent/members/103/coord" for 127.0.0.1 at 2013-08-24 12:09:17 +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"=>"103"} 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", "103"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 103 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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", Sat, 24 Aug 2013 10:09:17 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 103], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 10:09:17 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/103/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 1.3ms) Started GET "/adherent/members/103/adhesions/new" for 127.0.0.1 at 2013-08-24 12:09:17 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"103"} 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", "103"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 103 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 103 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 15ms (Views: 8.7ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (0.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:09:17 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:17 UTC +00:00]]  (24.4ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 49) 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", Sat, 24 Aug 2013 10:09:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 49], ["updated_at", Sat, 24 Aug 2013 10:09:17 UTC +00:00]]  (0.8ms) 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" = 49) 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", Sat, 24 Aug 2013 10:09:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 49], ["updated_at", Sat, 24 Aug 2013 10:09:17 UTC +00:00]]  (0.8ms) 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" = 49) 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", Sat, 24 Aug 2013 10:09:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 49], ["updated_at", Sat, 24 Aug 2013 10:09:17 UTC +00:00]]  (1.2ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 49) 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", Sat, 24 Aug 2013 10:09:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 49], ["updated_at", Sat, 24 Aug 2013 10:09:17 UTC +00:00]]  (0.8ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 49) 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", Sat, 24 Aug 2013 10:09:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 49], ["updated_at", Sat, 24 Aug 2013 10:09:17 UTC +00:00]]  (0.7ms) COMMIT Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 12:09:28 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (4.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"."organism_id" = 49 Adherent::Adhesion Load (1.5ms) 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 (1.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 105 LIMIT 1 Adherent::Adhesion Load (5.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 106 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 106 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 107 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 107 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 108 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 108 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 90ms (Views: 52.5ms | ActiveRecord: 28.7ms) Started GET "/assets/adherent/application.css" for 127.0.0.1 at 2013-08-24 12:09:28 +0200 Served asset /adherent/application.css - 200 OK (578ms) Started GET "/assets/adherent/application.js" for 127.0.0.1 at 2013-08-24 12:09:29 +0200 Served asset /adherent/application.js - 200 OK (107ms) Started GET "/assets/adherent/icones/navigation90.png" for 127.0.0.1 at 2013-08-24 12:09:29 +0200 Served asset /adherent/icones/navigation90.png - 200 OK (8ms) Started GET "/assets/adherent/icones/detail.png" for 127.0.0.1 at 2013-08-24 12:09:29 +0200 Served asset /adherent/icones/detail.png - 200 OK (4ms) Started GET "/assets/adherent/icones/afficher.png" for 127.0.0.1 at 2013-08-24 12:09:29 +0200 Served asset /adherent/icones/afficher.png - 200 OK (4ms) Started GET "/assets/adherent/icones/nouveau.png" for 127.0.0.1 at 2013-08-24 12:09:29 +0200 Served asset /adherent/icones/nouveau.png - 200 OK (1ms) Started GET "/assets/adherent/icones/supprimer.png" for 127.0.0.1 at 2013-08-24 12:09:29 +0200 Served asset /adherent/icones/supprimer.png - 200 OK (13ms) Started GET "/assets/adherent/icones/payment.png" for 127.0.0.1 at 2013-08-24 12:09:29 +0200 Served asset /adherent/icones/payment.png - 200 OK (2ms) Started GET "/assets/adherent/icones/modifier.png" for 127.0.0.1 at 2013-08-24 12:09:29 +0200 Served asset /adherent/icones/modifier.png - 200 OK (1ms) Started DELETE "/adherent/members/104" for 127.0.0.1 at 2013-08-24 12:09:31 +0200 Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"104"} Organism Load (1.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "104"]]  (0.1ms) BEGIN Adherent::Coord Load (11.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 104 LIMIT 1 SQL (6.4ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 104]]  (36.3ms) COMMIT Redirected to http://127.0.0.1:43251/adherent/members Completed 302 Found in 80ms (ActiveRecord: 58.8ms) Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 12:09:31 +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 (16.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 49 Adherent::Adhesion Load (0.4ms) 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 (5.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 106 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 106 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 107 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 107 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 108 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 108 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 58ms (Views: 28.5ms | ActiveRecord: 24.5ms)  (0.7ms) SELECT COUNT(*) FROM "adherent_members"  (39.6ms) 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  (19.4ms) select table_name from information_schema.views where table_schema = 'adh_test'  (169.4ms) TRUNCATE TABLE "adherent_payments", "adherent_coords", "adherent_adhesions", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (0.6ms) 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.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (0.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:09:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:32 UTC +00:00]]  (1.1ms) COMMIT  (1.3ms) BEGIN Adherent::Member Exists (6.8ms) 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", Sat, 24 Aug 2013 10:09:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:32 UTC +00:00]]  (1.3ms) COMMIT  (0.0ms) BEGIN Adherent::Member Exists (1.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 1) 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", Sat, 24 Aug 2013 10:09:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:32 UTC +00:00]]  (6.2ms) 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 (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", Sat, 24 Aug 2013 10:09:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:32 UTC +00:00]]  (1.0ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (3.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 1) 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", Sat, 24 Aug 2013 10:09:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:32 UTC +00:00]]  (13.5ms) COMMIT  (0.1ms) 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", Sat, 24 Aug 2013 10:09:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:32 UTC +00:00]]  (16.4ms) COMMIT Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.5ms) 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) BEGIN SQL (13.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:09:32 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:09:32 UTC +00:00]]  (1.3ms) COMMIT Started GET "/adherent/members/1/adhesions" for 127.0.0.1 at 2013-08-24 12:09:32 +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.9ms) 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 Adherent::Adhesion Load (1.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1  (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 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 29ms (Views: 12.9ms | ActiveRecord: 6.7ms) Started DELETE "/adherent/members/1/adhesions/1" for 127.0.0.1 at 2013-08-24 12:09:33 +0200 Processing by Adherent::AdhesionsController#destroy as HTML Parameters: {"member_id"=>"1", "id"=>"1"} Organism Load (11.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", "1"]] Adherent::Adhesion Load (0.6ms) 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]]  (150.3ms) COMMIT Redirected to http://127.0.0.1:43251/adherent/members/1/adhesions Completed 302 Found in 185ms (ActiveRecord: 163.1ms) Started GET "/adherent/members/1/adhesions" for 127.0.0.1 at 2013-08-24 12:09:33 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1"} Organism Load (1.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", "1"]]  (0.8ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 Redirected to http://127.0.0.1:43251/adherent/members/1/adhesions/new Completed 302 Found in 9ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/1/adhesions/new" for 127.0.0.1 at 2013-08-24 12:09:33 +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.5ms) 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.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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: 8.7ms | ActiveRecord: 1.6ms) Started GET "/assets/adherent/cal.gif" for 127.0.0.1 at 2013-08-24 12:09:34 +0200 Served asset /adherent/cal.gif - 200 OK (16ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_adhesions"  (0.3ms) 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  (140.7ms) TRUNCATE TABLE "adherent_payments", "adherent_coords", "adherent_adhesions", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" 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.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (10.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:09:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:34 UTC +00:00]]  (1.3ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.8ms) 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", Sat, 24 Aug 2013 10:09:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:34 UTC +00:00]]  (0.8ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (7.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' 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", Sat, 24 Aug 2013 10:09:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:34 UTC +00:00]]  (0.7ms) 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", Sat, 24 Aug 2013 10:09:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:34 UTC +00:00]]  (1.2ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.4ms) 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", Sat, 24 Aug 2013 10:09:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:34 UTC +00:00]]  (0.9ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) 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", Sat, 24 Aug 2013 10:09:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:34 UTC +00:00]]  (0.8ms) COMMIT Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (0.1ms) BEGIN SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:09:34 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 1], ["mode", "Chèque"], ["updated_at", Sat, 24 Aug 2013 10:09:34 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 1 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date  (0.9ms) COMMIT Started GET "/adherent/members/1/payments" for 127.0.0.1 at 2013-08-24 12:09:34 +0200 Processing by Adherent::PaymentsController#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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] Adherent::Payment Load (1.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 1 Adherent::Reglement Load (0.6ms) SELECT "adherent_reglements".* 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  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id 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 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.0ms) Completed 200 OK in 29ms (Views: 17.8ms | ActiveRecord: 9.2ms) Started GET "/assets/adherent/icones/money-plus.png" for 127.0.0.1 at 2013-08-24 12:09:34 +0200 Served asset /adherent/icones/money-plus.png - 200 OK (16ms) Started DELETE "/adherent/members/1/payments/1" for 127.0.0.1 at 2013-08-24 12:09:35 +0200 Processing by Adherent::PaymentsController#destroy as HTML Parameters: {"member_id"=>"1", "id"=>"1"} Organism Load (16.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", "1"]] Adherent::Payment Load (1.6ms) 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 (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1 SQL (1.2ms) DELETE FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 [["id", 1]]  (146.8ms) COMMIT Redirected to http://127.0.0.1:43251/adherent/members/1/payments Completed 302 Found in 195ms (ActiveRecord: 167.0ms) Started GET "/adherent/members/1/payments" for 127.0.0.1 at 2013-08-24 12:09:35 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1"} Organism Load (1.7ms) 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"."id" = $1 LIMIT 1 [["id", "1"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_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 11ms (Views: 5.2ms | ActiveRecord: 3.0ms)  (1.3ms) SELECT COUNT(*) FROM "adherent_payments"  (1.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (222.1ms) TRUNCATE TABLE "adherent_payments", "adherent_coords", "adherent_adhesions", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (0.5ms) 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  (0.2ms) BEGIN  (10.3ms) ROLLBACK  (0.5ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' AND "adherent_members"."organism_id" = 1) 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", Sat, 24 Aug 2013 10:09:37 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", Sat, 24 Aug 2013 10:09:37 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 1], ["office", nil], ["tel", nil], ["updated_at", Sat, 24 Aug 2013 10:09:37 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 1]] SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "adherent_coords"  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.9ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1040"} Organism Load (0.4ms) 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", Sat, 24 Aug 2013 10:09:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.1ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1041"} 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", Sat, 24 Aug 2013 10:09:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1041/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1042"} Organism Load (1.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", Sat, 24 Aug 2013 10:09:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 2.1ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1043"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.7ms) 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 10:09:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 1.0ms | ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1045", "id"=>"1"} 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", Sat, 24 Aug 2013 10:09:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 50ms (Views: 44.1ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1047", "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", Sat, 24 Aug 2013 10:09:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1049"} Organism Load (1.1ms) 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", Sat, 24 Aug 2013 10:09:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1049/adhesions Completed 302 Found in 6ms (ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1051"} 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", Sat, 24 Aug 2013 10:09:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1051/adhesions Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/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.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:09:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1055", "id"=>"1"} Organism Load (0.3ms) 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", Sat, 24 Aug 2013 10:09:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1055/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1057", "id"=>"1"} Organism Load (0.6ms) 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", Sat, 24 Aug 2013 10:09:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1057/adhesions Completed 302 Found in 6ms (ActiveRecord: 1.2ms)  (1.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1059", "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", Sat, 24 Aug 2013 10:09:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1061", "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.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:09:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.0ms | ActiveRecord: 1.1ms)  (0.0ms) 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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:38 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" = 14) LIMIT 1 SQL (2.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", Sat, 24 Aug 2013 10:09:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 14], ["updated_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members/2/adhesions/new" for 127.0.0.1 at 2013-08-24 12:09:38 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"2"} Organism Load (0.7ms) 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", "2"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (6.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 17ms (Views: 10.5ms | ActiveRecord: 1.7ms)  (0.2ms) 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.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00]]  (2.4ms) 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" = 15) LIMIT 1 SQL (2.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", Sat, 24 Aug 2013 10:09:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 15], ["updated_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (1.4ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members/3/adhesions/new" for 127.0.0.1 at 2013-08-24 12:09:38 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"3"} Organism Load (0.9ms) 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", "3"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (6.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: 12.4ms | ActiveRecord: 1.8ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 Started POST "/adherent/members/3/adhesions" for 127.0.0.1 at 2013-08-24 12:09:38 +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"=>"3"} 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", "3"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 3], ["to_date", Thu, 31 Jul 2014], ["updated_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/3/adhesions Completed 302 Found in 9ms (ActiveRecord: 1.8ms) Started GET "/adherent/members/3/adhesions" for 127.0.0.1 at 2013-08-24 12:09:38 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"3"} 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", "3"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3  (0.4ms) 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 13ms (Views: 9.3ms | ActiveRecord: 1.4ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3  (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.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.5ms) 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" = 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", Sat, 24 Aug 2013 10:09:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 16], ["updated_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 4], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/4/adhesions" for 127.0.0.1 at 2013-08-24 12:09:38 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"4"} 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", "4"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4  (3.5ms) 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 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 22ms (Views: 9.4ms | ActiveRecord: 5.0ms)  (0.3ms) 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.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00]]  (0.1ms) 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" = 'Adh000' AND "adherent_members"."organism_id" = 17) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 10:09:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 17], ["updated_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 5], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/5/adhesions" for 127.0.0.1 at 2013-08-24 12:09:38 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"5"} 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", "5"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5  (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 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 20ms (Views: 12.9ms | ActiveRecord: 1.5ms) Started GET "/adherent/members/5/adhesions/3/edit" for 127.0.0.1 at 2013-08-24 12:09:38 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"5", "id"=>"3"} 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", "5"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "3"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (7.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 16ms (Views: 11.8ms | ActiveRecord: 1.0ms)  (15.8ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.9ms) 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", Sat, 24 Aug 2013 10:09:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00]]  (0.6ms) 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" = 18) 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", Sat, 24 Aug 2013 10:09:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 18], ["updated_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members"   (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 6], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/6/adhesions" for 127.0.0.1 at 2013-08-24 12:09:38 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"6"} 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", "6"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 6 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 6  (0.3ms) 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 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 14ms (Views: 8.9ms | ActiveRecord: 1.6ms) Started GET "/adherent/members/6/payments/new" for 127.0.0.1 at 2013-08-24 12:09:38 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"6"} Organism Load (0.1ms) 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", "6"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 6 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.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: 8.6ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (1.0ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (7.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (1.7ms) ROLLBACK  (0.2ms) BEGIN Adherent::Member Exists (0.8ms) 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 Adherent::Member Exists (4.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" IS NULL AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) 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", Tue, 06 Jun 1944], ["created_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) 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", Sat, 24 Aug 2013 10:09:38 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (2.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", Sat, 24 Aug 2013 10:09:38 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.2ms) 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.9ms) ROLLBACK  (0.1ms) BEGIN Adherent::Adhesion Load (1.0ms) 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.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.0ms) 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.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) 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", Sat, 24 Aug 2013 10:09:38 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.8ms) 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 (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", #], ["created_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 10], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:09:38 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" = 10 Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 10 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", Sat, 24 Aug 2013 10:09:38 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:38 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" = 11 Adherent::Adhesion Load (0.4ms) 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 (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", #], ["created_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 11], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 11 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 11 ORDER BY to_date DESC LIMIT 1  (0.0ms) 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", Sat, 24 Aug 2013 10:09:38 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:38 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" = 12 Adherent::Adhesion Load (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 12], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:09:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.6ms) 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) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (1.2ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1063"} Organism Load (0.0ms) 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", Sat, 24 Aug 2013 10:09:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:39 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1064"} Organism Load (1.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", Sat, 24 Aug 2013 10:09:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.5ms | ActiveRecord: 2.1ms)  (1.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1065", "id"=>"1"} Organism Load (0.6ms) 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", Sat, 24 Aug 2013 10:09:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 120ms (Views: 111.4ms | ActiveRecord: 1.3ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1067", "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", Sat, 24 Aug 2013 10:09:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1069", "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.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:09:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1069/payments/1070 Completed 302 Found in 6ms (ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1071", "id"=>"1"} Organism Load (0.3ms) 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", Sat, 24 Aug 2013 10:09:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1071/payments/1072 Completed 302 Found in 7ms (ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1073", "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", Sat, 24 Aug 2013 10:09:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 20ms (Views: 15.1ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1075", "id"=>"1"} 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", Sat, 24 Aug 2013 10:09:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1077"} 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", Sat, 24 Aug 2013 10:09:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1079"} Organism Load (0.9ms) 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", Sat, 24 Aug 2013 10:09:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:39 UTC +00:00]]  (2.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1079/adhesions Completed 302 Found in 10ms (ActiveRecord: 3.4ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1081"} 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", Sat, 24 Aug 2013 10:09:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:39 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1081/adhesions Completed 302 Found in 7ms (ActiveRecord: 1.0ms)  (1.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1083"} 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", Sat, 24 Aug 2013 10:09:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1085", "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", Sat, 24 Aug 2013 10:09:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1087", "id"=>"1"} Organism Load (0.6ms) 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", Sat, 24 Aug 2013 10:09:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 2.4ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1090"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.5ms) 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", Sat, 24 Aug 2013 10:09:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" Completed 200 OK in 8ms (Views: 1.0ms | ActiveRecord: 3.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1093"} Organism Load (0.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", Sat, 24 Aug 2013 10:09:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:40 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 6ms (Views: 1.2ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1096"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1095/payments Completed 302 Found in 10ms (ActiveRecord: 0.9ms)  (1.8ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (8.2ms) ROLLBACK  (0.1ms) BEGIN  (5.6ms) ROLLBACK  (0.1ms) BEGIN  (2.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (1.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) 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", Sat, 24 Aug 2013 10:09:40 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 13], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 13 Adherent::Adhesion Load (1.6ms) 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 (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", #], ["created_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 13], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (94.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 13], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 13 LIMIT 1 Adherent::Adhesion Load (12.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 13 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 9  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8 SQL (0.8ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 8], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 9 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 9], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "adherent_reglements"  (1.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.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", Sat, 24 Aug 2013 10:09:40 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 14], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 14 Adherent::Adhesion Load (0.4ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 14], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 14], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 14 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 14 ORDER BY to_date  (3.0ms) 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.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 10 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", 10], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00], ["payment_id", 2], ["updated_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) 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.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", Sat, 24 Aug 2013 10:09:40 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 15], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 15 Adherent::Adhesion Load (0.3ms) 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.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", #], ["created_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 15], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 15], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 15 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 15 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 12  (0.2ms) 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" = 12 SQL (0.8ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 12], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00], ["payment_id", 3], ["updated_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 13 SQL (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:09:40 UTC +00:00], ["payment_id", 3], ["updated_at", Sat, 24 Aug 2013 10:09:40 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" = 3  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 3  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (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 (14.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:15:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:15:33 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" = 36) 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", Sat, 24 Aug 2013 10:15:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 36], ["updated_at", Sat, 24 Aug 2013 10:15:34 UTC +00:00]]  (0.1ms) 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" = 16 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 16 ORDER BY to_date DESC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Sat, 24 Aug 2013 10:15:34 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 16], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:15:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 16 Started GET "/adherent/members/16/payments/new" for 127.0.0.1 at 2013-08-24 12:15:34 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"16"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.3ms) 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.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 14 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 14 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (118.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (137.9ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.6ms) Completed 200 OK in 198ms (Views: 173.8ms | ActiveRecord: 4.2ms) Started POST "/adherent/members/16/payments" for 127.0.0.1 at 2013-08-24 12:15:34 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"16"} 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", "16"]]  (0.5ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:15:34 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 16], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:15:34 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.3ms) 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" = 14 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 14 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 14], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:15:34 UTC +00:00], ["payment_id", 4], ["updated_at", Sat, 24 Aug 2013 10:15:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/16/adhesions Completed 302 Found in 29ms (ActiveRecord: 3.9ms) Started GET "/adherent/members/16/adhesions" for 127.0.0.1 at 2013-08-24 12:15:34 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"16"} Organism Load (0.9ms) 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", "16"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 16 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 16  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 14 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 14 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (11.6ms) 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 24ms (Views: 16.7ms | ActiveRecord: 1.9ms)  (0.6ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 16  (0.6ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:16:10 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:16:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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" = 37) 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", Sat, 24 Aug 2013 10:16:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 37], ["updated_at", Sat, 24 Aug 2013 10:16:10 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" = 17 Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 17 ORDER BY to_date DESC LIMIT 1  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:16:11 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 17], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:16:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 17 Started GET "/adherent/members/17/payments/new" for 127.0.0.1 at 2013-08-24 12:16:11 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"17"} Organism Load (0.4ms) 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"."id" = $1 LIMIT 1 [["id", "17"]] Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 17 ORDER BY to_date  (2.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 15 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/payments/_form.html.haml (77.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (89.5ms) Rendered layouts/adherent/_header.html.haml (1.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (1.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.5ms) Completed 200 OK in 168ms (Views: 117.8ms | ActiveRecord: 9.0ms) Started POST "/adherent/members/17/payments" for 127.0.0.1 at 2013-08-24 12:16:11 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"17"} Organism Load (1.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", "17"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:16:11 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 17], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:16:11 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 17 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 17 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 15 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 15 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 15], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:16:11 UTC +00:00], ["payment_id", 5], ["updated_at", Sat, 24 Aug 2013 10:16:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/17/adhesions Completed 302 Found in 29ms (ActiveRecord: 4.0ms) Started GET "/adherent/members/17/adhesions" for 127.0.0.1 at 2013-08-24 12:16:11 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"17"} 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", "17"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 17 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 17  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 15 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/adhesions/index.html.haml within layouts/adherent/application (15.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 26ms (Views: 20.3ms | ActiveRecord: 1.5ms)  (1.1ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 17  (0.6ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:16:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:16:11 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" = 38) 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", Sat, 24 Aug 2013 10:16:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 38], ["updated_at", Sat, 24 Aug 2013 10:16:11 UTC +00:00]]  (0.0ms) 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" = 18 Adherent::Adhesion Load (0.2ms) 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.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", #], ["created_at", Sat, 24 Aug 2013 10:16:11 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 18], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:16:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  Started GET "/adherent/members/18/payments/new" for 127.0.0.1 at 2013-08-24 12:16:11 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"18"} 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", "18"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 18 ORDER BY to_date  (1.0ms) 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 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 18ms (Views: 10.1ms | ActiveRecord: 2.1ms) Started POST "/adherent/members/18/payments" for 127.0.0.1 at 2013-08-24 12:16:11 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"18"} 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", "18"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:16:11 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 18], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:16:11 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 18 LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 18 ORDER BY to_date  (0.2ms) 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.7ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:16:11 UTC +00:00], ["payment_id", 6], ["updated_at", Sat, 24 Aug 2013 10:16:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/18/adhesions Completed 302 Found in 14ms (ActiveRecord: 3.6ms) Started GET "/adherent/members/18/adhesions" for 127.0.0.1 at 2013-08-24 12:16:11 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"18"} 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", "18"]]  (0.2ms) SELECT COUNT(*) 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  (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 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.2ms | ActiveRecord: 1.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (5.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:17:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:17:16 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" = 39) 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", Sat, 24 Aug 2013 10:17:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 39], ["updated_at", Sat, 24 Aug 2013 10:17: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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 19 Adherent::Adhesion Load (0.5ms) 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 (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", #], ["created_at", Sat, 24 Aug 2013 10:17:16 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 19], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:17:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "adherent_reglements" Started GET "/adherent/members/19/payments/new" for 127.0.0.1 at 2013-08-24 12:17:16 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"19"} 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", "19"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 19 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 17 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 17 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (75.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (82.4ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.9ms) Completed 200 OK in 125ms (Views: 97.9ms | ActiveRecord: 3.6ms) Started POST "/adherent/members/19/payments" for 127.0.0.1 at 2013-08-24 12:17:16 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"19"} 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", "19"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:17:16 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 19], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:17:16 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 19 LIMIT 1 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" = 17 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 17 SQL (0.7ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:17:16 UTC +00:00], ["payment_id", 7], ["updated_at", Sat, 24 Aug 2013 10:17:16 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/19/adhesions Completed 302 Found in 29ms (ActiveRecord: 3.1ms) Started GET "/adherent/members/19/adhesions" for 127.0.0.1 at 2013-08-24 12:17:16 +0200 Processing by Adherent::AdhesionsController#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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "19"]]  (0.3ms) SELECT COUNT(*) 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  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 17 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 17 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (10.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 19ms (Views: 14.1ms | ActiveRecord: 1.5ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.4ms) ROLLBACK  (0.0ms) BEGIN Organism Load (1.0ms) 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", Sat, 24 Aug 2013 10:17:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:17:16 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" = 40) 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", Sat, 24 Aug 2013 10:17:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 40], ["updated_at", Sat, 24 Aug 2013 10:17: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" = 20 Adherent::Adhesion Load (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:17:16 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 20], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:17:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 20 Started GET "/adherent/members/20/payments/new" for 127.0.0.1 at 2013-08-24 12:17:16 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"20"} 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", "20"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 20 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 18 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/payments/_form.html.haml (7.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.2ms) Completed 200 OK in 19ms (Views: 12.0ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/20/payments" for 127.0.0.1 at 2013-08-24 12:17:16 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"20"} 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", "20"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:17:16 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 20], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:17:16 UTC +00:00]] Adherent::Member Load (1.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 20 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 20 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 18 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 18 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", 18], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:17:16 UTC +00:00], ["payment_id", 8], ["updated_at", Sat, 24 Aug 2013 10:17:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/20/adhesions Completed 302 Found in 13ms (ActiveRecord: 3.4ms) Started GET "/adherent/members/20/adhesions" for 127.0.0.1 at 2013-08-24 12:17:16 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"20"} 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", "20"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 20 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 20  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 18 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 18 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: 7.3ms | ActiveRecord: 1.8ms)  (0.6ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 20  (0.3ms) 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.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:17:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:17: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" = 41) 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", Sat, 24 Aug 2013 10:17:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 41], ["updated_at", Sat, 24 Aug 2013 10:17:16 UTC +00:00]]  (0.6ms) 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" = 21 Adherent::Adhesion Load (0.4ms) 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 (3.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", #], ["created_at", Sat, 24 Aug 2013 10:17:16 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 21], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:17:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/21/payments/new" for 127.0.0.1 at 2013-08-24 12:17:16 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"21"} 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", "21"]] Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 21 ORDER BY to_date  (0.3ms) 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 (6.7ms) 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 18ms (Views: 10.7ms | ActiveRecord: 2.0ms) Started POST "/adherent/members/21/payments" for 127.0.0.1 at 2013-08-24 12:17:17 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"21"} 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", "21"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:17:17 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 21], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:17:17 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 21 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 21 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", #], ["created_at", Sat, 24 Aug 2013 10:17:17 UTC +00:00], ["payment_id", 9], ["updated_at", Sat, 24 Aug 2013 10:17:17 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/21/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/21/adhesions" for 127.0.0.1 at 2013-08-24 12:17:17 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"21"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "21"]]  (0.3ms) SELECT COUNT(*) 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  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 19 CACHE (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 12ms (Views: 7.2ms | ActiveRecord: 2.2ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 21 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 19  (1.0ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:17:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:17:29 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 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", Sat, 24 Aug 2013 10:17:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 42], ["updated_at", Sat, 24 Aug 2013 10:17: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" = 22 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 22 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", #], ["created_at", Sat, 24 Aug 2013 10:17:29 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 22], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:17:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "adherent_reglements" Started GET "/adherent/members/22/payments/new" for 127.0.0.1 at 2013-08-24 12:17:29 +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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "22"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 22 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (76.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (81.0ms) Rendered layouts/adherent/_header.html.haml (0.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.7ms) Completed 200 OK in 122ms (Views: 96.4ms | ActiveRecord: 3.0ms) Started POST "/adherent/members/22/payments" for 127.0.0.1 at 2013-08-24 12:17:29 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"22"} 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", "22"]]  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:17:29 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 22], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:17:29 UTC +00:00]] Adherent::Member Load (0.4ms) 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  (1.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20 SQL (0.8ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:17:29 UTC +00:00], ["payment_id", 10], ["updated_at", Sat, 24 Aug 2013 10:17:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/22/adhesions Completed 302 Found in 29ms (ActiveRecord: 4.5ms) Started GET "/adherent/members/22/adhesions" for 127.0.0.1 at 2013-08-24 12:17:29 +0200 Processing by Adherent::AdhesionsController#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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "22"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 22 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 22  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20 CACHE (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (11.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: 13.8ms | ActiveRecord: 1.9ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.5ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) 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", Sat, 24 Aug 2013 10:17:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:17:29 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" = 43) 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", Sat, 24 Aug 2013 10:17:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 43], ["updated_at", Sat, 24 Aug 2013 10:17: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.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.9ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:17:29 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 23], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:17:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 23 Started GET "/adherent/members/23/payments/new" for 127.0.0.1 at 2013-08-24 12:17:29 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"23"} 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", "23"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 23 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 21 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/payments/_form.html.haml (8.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 19ms (Views: 12.2ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/23/payments" for 127.0.0.1 at 2013-08-24 12:17:29 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"23"} 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", "23"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:17:29 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 23], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:17:29 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 23 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 23 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 21 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 21 SQL (0.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 21], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:17:29 UTC +00:00], ["payment_id", 11], ["updated_at", Sat, 24 Aug 2013 10:17:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/23/adhesions Completed 302 Found in 15ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/23/adhesions" for 127.0.0.1 at 2013-08-24 12:17:29 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"23"} 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", "23"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 23 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 23  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 21 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 21 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 11ms (Views: 7.3ms | ActiveRecord: 1.4ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 23  (0.3ms) 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", Sat, 24 Aug 2013 10:17:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:17:29 UTC +00:00]]  (0.3ms) 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" = 44) 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", Sat, 24 Aug 2013 10:17:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 44], ["updated_at", Sat, 24 Aug 2013 10:17: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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 24 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 24 ORDER BY to_date DESC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (3.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:17:30 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 24], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:17:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/24/payments/new" for 127.0.0.1 at 2013-08-24 12:17:30 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"24"} 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", "24"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 24 ORDER BY to_date  (0.8ms) 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 (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 16ms (Views: 8.9ms | ActiveRecord: 1.7ms) Started POST "/adherent/members/24/payments" for 127.0.0.1 at 2013-08-24 12:17:30 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"24"} 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", "24"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:17:30 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 24], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:17:30 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 24 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 24 ORDER BY to_date  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:17:30 UTC +00:00], ["payment_id", 12], ["updated_at", Sat, 24 Aug 2013 10:17:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/24/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/24/adhesions" for 127.0.0.1 at 2013-08-24 12:17:30 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"24"} 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", "24"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 24 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 24  (0.1ms) 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 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 13ms (Views: 9.6ms | ActiveRecord: 1.0ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 24 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 22  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (1.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Sat, 24 Aug 2013 10:20:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:20:43 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" = 'Adh000' AND "adherent_members"."organism_id" = 45) 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", Sat, 24 Aug 2013 10:20:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 45], ["updated_at", Sat, 24 Aug 2013 10:20:43 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" = 25 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 25 ORDER BY to_date DESC LIMIT 1  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 25], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/25/payments/new" for 127.0.0.1 at 2013-08-24 12:20:43 +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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "25"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 25 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (75.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (81.9ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.3ms) Completed 200 OK in 127ms (Views: 97.7ms | ActiveRecord: 5.2ms) Started POST "/adherent/members/25/payments" for 127.0.0.1 at 2013-08-24 12:20:43 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "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"]]  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 25], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:20:43 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.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" = 23 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23 SQL (0.7ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00], ["payment_id", 13], ["updated_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/25/adhesions Completed 302 Found in 30ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/25/adhesions" for 127.0.0.1 at 2013-08-24 12:20:43 +0200 Processing by Adherent::AdhesionsController#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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "25"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 25 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 25  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (10.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.0ms) Completed 200 OK in 20ms (Views: 14.5ms | ActiveRecord: 1.7ms) Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 25 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23  (1.1ms) 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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00]]  (0.0ms) 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" = 46) 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", Sat, 24 Aug 2013 10:20:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 46], ["updated_at", Sat, 24 Aug 2013 10:20:43 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" = 26 Adherent::Adhesion Load (0.2ms) 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.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", #], ["created_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 26], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"  Started GET "/adherent/members/26/payments/new" for 127.0.0.1 at 2013-08-24 12:20:43 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"26"} 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", "26"]] Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 26 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 24 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/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 18ms (Views: 11.7ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/26/payments" for 127.0.0.1 at 2013-08-24 12:20:43 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"26"} 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", "26"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 26], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00]] Adherent::Member Load (0.3ms) 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"."member_id" = 26 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 24 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 24 SQL (0.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 24], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00], ["payment_id", 14], ["updated_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/26/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/26/adhesions" for 127.0.0.1 at 2013-08-24 12:20:43 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"26"} 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", "26"]]  (0.2ms) SELECT COUNT(*) 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  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 24 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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 11ms (Views: 7.2ms | ActiveRecord: 1.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.2ms) ROLLBACK  (0.0ms) 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", Sat, 24 Aug 2013 10:20:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:20: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" = 'Adh000' AND "adherent_members"."organism_id" = 47) 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", Sat, 24 Aug 2013 10:20:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 47], ["updated_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (3.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27 Adherent::Adhesion Load (0.5ms) 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.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", #], ["created_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 27], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 27 Started GET "/adherent/members/27/payments/new" for 127.0.0.1 at 2013-08-24 12:20:43 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"27"} 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", "27"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27 ORDER BY to_date  (0.2ms) 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.0ms) Completed 200 OK in 16ms (Views: 9.9ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/27/payments" for 127.0.0.1 at 2013-08-24 12:20:43 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"27"} 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", "27"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 27], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 27 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27 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 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", 25], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00], ["payment_id", 15], ["updated_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/27/adhesions Completed 302 Found in 16ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/27/adhesions" for 127.0.0.1 at 2013-08-24 12:20:43 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"27"} 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", "27"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27  (0.2ms) 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 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: 8.5ms | ActiveRecord: 1.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 27  (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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:20: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" = 'Adh000' AND "adherent_members"."organism_id" = 48) 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", Sat, 24 Aug 2013 10:20:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 48], ["updated_at", Sat, 24 Aug 2013 10:20:43 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.0ms) 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 (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", #], ["created_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 28], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:20:43 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-24 12:20:43 +0200 Processing by Adherent::PaymentsController#new 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::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" = 26 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 26 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (7.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 18ms (Views: 11.1ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/28/payments" for 127.0.0.1 at 2013-08-24 12:20:43 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"28"} 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", "28"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 28], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:20:43 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  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 26 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 26 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", 26], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00], ["payment_id", 16], ["updated_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/28/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/28/adhesions" for 127.0.0.1 at 2013-08-24 12:20:43 +0200 Processing by Adherent::AdhesionsController#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.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "28"]]  (0.2ms) SELECT COUNT(*) 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  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 26 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 26 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 11ms (Views: 7.3ms | ActiveRecord: 1.2ms) Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 28 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 26  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:20:43 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" = 'Adh000' AND "adherent_members"."organism_id" = 49) 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", Sat, 24 Aug 2013 10:20:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 49], ["updated_at", Sat, 24 Aug 2013 10:20:43 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" = 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.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", #], ["created_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 29], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/29/payments/new" for 127.0.0.1 at 2013-08-24 12:20:43 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"29"} 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", "29"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 29 ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 27 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/payments/_form.html.haml (7.7ms) 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 18ms (Views: 11.4ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/29/payments" for 127.0.0.1 at 2013-08-24 12:20:43 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"29"} 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", "29"]]  (0.7ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 29], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00]] Adherent::Member Load (0.3ms) 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"."member_id" = 29 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 27 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 27 SQL (1.0ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 27], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00], ["payment_id", 17], ["updated_at", Sat, 24 Aug 2013 10:20:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/29/adhesions Completed 302 Found in 13ms (ActiveRecord: 3.7ms) Started GET "/adherent/members/29/adhesions" for 127.0.0.1 at 2013-08-24 12:20:43 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"29"} 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", "29"]]  (0.8ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 29 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 29  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 27 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 27 Rendered layouts/adherent/_header.html.haml (0.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 13ms (Views: 8.5ms | ActiveRecord: 1.9ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 29 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.3ms) 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  (0.0ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (1.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:21:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:21:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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" = 50) LIMIT 1 SQL (1.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", Sat, 24 Aug 2013 10:21:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 50], ["updated_at", Sat, 24 Aug 2013 10:21:53 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" = 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.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", #], ["created_at", Sat, 24 Aug 2013 10:21:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 30], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:21:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/30/payments/new" for 127.0.0.1 at 2013-08-24 12:21:53 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"30"} 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", "30"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30 ORDER BY to_date  (0.5ms) 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 (77.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (82.4ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 128ms (Views: 98.1ms | ActiveRecord: 6.3ms) Started POST "/adherent/members/30/payments" for 127.0.0.1 at 2013-08-24 12:21:53 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"30"} Organism Load (0.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", "30"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:21:53 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 30], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:21:53 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 30 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30 ORDER BY to_date  (0.2ms) 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 (1.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:21:53 UTC +00:00], ["payment_id", 18], ["updated_at", Sat, 24 Aug 2013 10:21:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/30/adhesions Completed 302 Found in 143ms (ActiveRecord: 3.4ms) Started GET "/adherent/members/30/adhesions" for 127.0.0.1 at 2013-08-24 12:21:53 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"30"} 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", "30"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30  (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/adhesions/index.html.haml within layouts/adherent/application (11.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 20ms (Views: 15.6ms | ActiveRecord: 1.4ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 28  (1.2ms) 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", Sat, 24 Aug 2013 10:21:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:21:53 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" = 'Adh000' AND "adherent_members"."organism_id" = 51) 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", Sat, 24 Aug 2013 10:21:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 51], ["updated_at", Sat, 24 Aug 2013 10:21:53 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" = 31 Adherent::Adhesion Load (1.0ms) 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.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", #], ["created_at", Sat, 24 Aug 2013 10:21:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 31], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:21:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/31/payments/new" for 127.0.0.1 at 2013-08-24 12:21:53 +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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 31 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 29 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 29 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.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 19ms (Views: 11.4ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/31/payments" for 127.0.0.1 at 2013-08-24 12:21:54 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "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"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 31], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:21:54 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.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 29 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 29 SQL (1.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00], ["payment_id", 19], ["updated_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/31/adhesions Completed 302 Found in 14ms (ActiveRecord: 3.1ms) Started GET "/adherent/members/31/adhesions" for 127.0.0.1 at 2013-08-24 12:21:54 +0200 Processing by Adherent::AdhesionsController#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.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "31"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 31 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 31  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 29 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 29 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 12ms (Views: 8.8ms | ActiveRecord: 1.3ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Sat, 24 Aug 2013 10:21:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:21:54 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" = 'Adh000' AND "adherent_members"."organism_id" = 52) 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", Sat, 24 Aug 2013 10:21:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 52], ["updated_at", Sat, 24 Aug 2013 10:21:54 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" = 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.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", #], ["created_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 32], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/32/payments/new" for 127.0.0.1 at 2013-08-24 12:21:54 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"32"} 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", "32"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 32 ORDER BY to_date  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 30 CACHE (0.0ms) 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/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 19ms (Views: 10.2ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/32/payments" for 127.0.0.1 at 2013-08-24 12:21:54 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"32"} 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", "32"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 32], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00]] 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"."member_id" = 32 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 30 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 30 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", 30], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00], ["payment_id", 20], ["updated_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/32/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/32/adhesions" for 127.0.0.1 at 2013-08-24 12:21:54 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"32"} 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", "32"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 32 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 32  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 30 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 30 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: 7.3ms | ActiveRecord: 1.4ms) Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 32 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 30  (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", Sat, 24 Aug 2013 10:21:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:21:54 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" = 'Adh000' AND "adherent_members"."organism_id" = 53) 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", Sat, 24 Aug 2013 10:21:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 53], ["updated_at", Sat, 24 Aug 2013 10:21:54 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" = 33 Adherent::Adhesion Load (0.2ms) 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.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", #], ["created_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 33], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/33/payments/new" for 127.0.0.1 at 2013-08-24 12:21:54 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"33"} 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", "33"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 33 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 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (8.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 18ms (Views: 11.9ms | ActiveRecord: 1.0ms) Started POST "/adherent/members/33/payments" for 127.0.0.1 at 2013-08-24 12:21:54 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"33"} 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", "33"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 33], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 33 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 33 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.5ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00], ["payment_id", 21], ["updated_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/33/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/33/adhesions" for 127.0.0.1 at 2013-08-24 12:21:54 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"33"} 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", "33"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 33 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 33  (0.3ms) 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 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 12ms (Views: 8.1ms | ActiveRecord: 1.6ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 33 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.3ms) 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.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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:21:54 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" = 54) LIMIT 1 SQL (1.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", Sat, 24 Aug 2013 10:21:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 54], ["updated_at", Sat, 24 Aug 2013 10:21:54 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.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 Adherent::Adhesion Load (1.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 ORDER BY to_date DESC LIMIT 1  (2.3ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 34], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00]]  (4.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/34/payments/new" for 127.0.0.1 at 2013-08-24 12:21:54 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"34"} Organism Load (2.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", "34"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 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 (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.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 19ms (Views: 10.3ms | ActiveRecord: 3.5ms) Started POST "/adherent/members/34/payments" for 127.0.0.1 at 2013-08-24 12:21:54 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "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"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 34], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 34 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 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 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", 32], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00], ["payment_id", 22], ["updated_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/34/adhesions Completed 302 Found in 18ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/34/adhesions" for 127.0.0.1 at 2013-08-24 12:21:54 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"34"} 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", "34"]]  (0.2ms) SELECT COUNT(*) 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  (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 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 11ms (Views: 7.1ms | ActiveRecord: 1.3ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 32  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:21:54 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" = 55) 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", Sat, 24 Aug 2013 10:21:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 55], ["updated_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 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", #], ["created_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 35], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "adherent_reglements" Started GET "/adherent/members/35/payments/new" for 127.0.0.1 at 2013-08-24 12:21:54 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"35"} 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", "35"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 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 (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 54ms (Views: 10.2ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/35/payments" for 127.0.0.1 at 2013-08-24 12:21:54 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"35"} 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", "35"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 35], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 35 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 ORDER BY to_date  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00], ["payment_id", 23], ["updated_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/35/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/35/adhesions" for 127.0.0.1 at 2013-08-24 12:21:54 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"35"} 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", "35"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35  (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 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 14ms (Views: 8.4ms | ActiveRecord: 1.5ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.2ms) 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", Sat, 24 Aug 2013 10:21:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:21:54 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" = 56) 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", Sat, 24 Aug 2013 10:21:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 56], ["updated_at", Sat, 24 Aug 2013 10:21:54 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" = 36 Adherent::Adhesion Load (0.3ms) 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.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", #], ["created_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 36], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 36 Started GET "/adherent/members/36/payments/new" for 127.0.0.1 at 2013-08-24 12:21:54 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"36"} 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", "36"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 36 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.0ms) 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 (6.6ms) 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 20ms (Views: 12.9ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/36/payments" for 127.0.0.1 at 2013-08-24 12:21:54 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"36"} 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", "36"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 36], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 36 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 36 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.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 34 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", 34], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00], ["payment_id", 24], ["updated_at", Sat, 24 Aug 2013 10:21:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/36/adhesions Completed 302 Found in 15ms (ActiveRecord: 4.1ms) Started GET "/adherent/members/36/adhesions" for 127.0.0.1 at 2013-08-24 12:21:54 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"36"} 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", "36"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 36 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 36  (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 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 65ms (Views: 56.6ms | ActiveRecord: 1.6ms)  (0.6ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 36  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (1.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:22:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:22:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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" = 57) 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", Sat, 24 Aug 2013 10:22:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 57], ["updated_at", Sat, 24 Aug 2013 10:22: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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 37 Adherent::Adhesion Load (0.1ms) 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.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", #], ["created_at", Sat, 24 Aug 2013 10:22:15 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 37], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:22:15 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-24 12:22:15 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"37"} 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", "37"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 37 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 35 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 35 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (75.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (80.6ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 125ms (Views: 96.2ms | ActiveRecord: 5.7ms) Started POST "/adherent/members/37/payments" for 127.0.0.1 at 2013-08-24 12:22:15 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "37"]]  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:22:15 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 37], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:22:15 UTC +00:00]] Adherent::Member Load (0.4ms) 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" = 35 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 35 SQL (0.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", #], ["created_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["payment_id", 25], ["updated_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/37/adhesions Completed 302 Found in 30ms (ActiveRecord: 3.2ms) Started GET "/adherent/members/37/adhesions" for 127.0.0.1 at 2013-08-24 12:22:16 +0200 Processing by Adherent::AdhesionsController#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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "37"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 37 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 37  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 35 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 35 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (11.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 20ms (Views: 14.7ms | ActiveRecord: 1.5ms) Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 37 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 25  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 25  (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", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:22:16 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" = 'Adh000' AND "adherent_members"."organism_id" = 58) 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", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 58], ["updated_at", Sat, 24 Aug 2013 10:22: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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 38 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 38 ORDER BY to_date DESC LIMIT 1  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 38], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/38/payments/new" for 127.0.0.1 at 2013-08-24 12:22:16 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"38"} 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", "38"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 38 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (8.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 17ms (Views: 11.3ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/38/payments" for 127.0.0.1 at 2013-08-24 12:22:16 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"38"} 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", "38"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 38], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 38 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 38 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36 SQL (0.8ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["payment_id", 26], ["updated_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/38/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/38/adhesions" for 127.0.0.1 at 2013-08-24 12:22:16 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"38"} 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", "38"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 38 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 38  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36 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 57ms (Views: 53.3ms | ActiveRecord: 1.4ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 38 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36  (0.3ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:22: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" = 59) 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", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 59], ["updated_at", Sat, 24 Aug 2013 10:22: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.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39 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", #], ["created_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 39], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "adherent_reglements"  Started GET "/adherent/members/39/payments/new" for 127.0.0.1 at 2013-08-24 12:22:16 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"39"} 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", "39"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37 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 19ms (Views: 10.1ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/39/payments" for 127.0.0.1 at 2013-08-24 12:22:16 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"39"} Organism Load (0.0ms) 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", "39"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 39], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 39 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37 SQL (1.7ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["payment_id", 27], ["updated_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/39/adhesions Completed 302 Found in 15ms (ActiveRecord: 3.5ms) Started GET "/adherent/members/39/adhesions" for 127.0.0.1 at 2013-08-24 12:22:16 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"39"} 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", "39"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37 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: 8.1ms | ActiveRecord: 1.5ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.1ms) 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", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:22: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" = 60) 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", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 60], ["updated_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.4ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.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", #], ["created_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 40], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 40 Started GET "/adherent/members/40/payments/new" for 127.0.0.1 at 2013-08-24 12:22:16 +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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "40"]] Adherent::Adhesion Load (0.6ms) 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" = 38 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 38 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: 8.8ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/40/payments" for 127.0.0.1 at 2013-08-24 12:22:16 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "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 (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", #], ["created_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 40], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 40 LIMIT 1 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" = 38 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 38 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", 38], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["payment_id", 28], ["updated_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/40/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/40/adhesions" for 127.0.0.1 at 2013-08-24 12:22:16 +0200 Processing by Adherent::AdhesionsController#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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "40"]]  (0.3ms) SELECT COUNT(*) 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  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 38 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 38 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 11ms (Views: 7.2ms | ActiveRecord: 1.4ms)  (4.7ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 40  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.8ms) 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", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 61) LIMIT 1 SQL (3.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", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 61], ["updated_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 41 Adherent::Adhesion Load (2.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 41 ORDER BY to_date DESC LIMIT 1  (3.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", #], ["created_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 41], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/41/payments/new" for 127.0.0.1 at 2013-08-24 12:22:16 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"41"} Organism Load (3.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "41"]] Adherent::Adhesion Load (1.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 41 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 39 CACHE (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 39 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 30ms (Views: 11.4ms | ActiveRecord: 6.9ms) Started POST "/adherent/members/41/payments" for 127.0.0.1 at 2013-08-24 12:22:16 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"41"} 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", "41"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 41], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 41 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 41 ORDER BY to_date  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 39 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 39 SQL (1.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 39], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["payment_id", 29], ["updated_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/41/adhesions Completed 302 Found in 13ms (ActiveRecord: 3.7ms) Started GET "/adherent/members/41/adhesions" for 127.0.0.1 at 2013-08-24 12:22:16 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"41"} 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", "41"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 41 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 41  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 39 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 39 Rendered layouts/adherent/_header.html.haml (1.4ms) 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.5ms | ActiveRecord: 1.3ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 41 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) 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", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:22: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" = 62) 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", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 62], ["updated_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00]]  (0.2ms) 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" = 42 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 42 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", #], ["created_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 42], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/42/payments/new" for 127.0.0.1 at 2013-08-24 12:22:16 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"42"} 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", "42"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 42 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 40 CACHE (0.0ms) 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 (7.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 18ms (Views: 11.7ms | ActiveRecord: 1.0ms) Started POST "/adherent/members/42/payments" for 127.0.0.1 at 2013-08-24 12:22:16 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"42"} 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", "42"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 42], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 42 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 42 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 40 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 40 SQL (0.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 40], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["payment_id", 30], ["updated_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/42/adhesions Completed 302 Found in 24ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/42/adhesions" for 127.0.0.1 at 2013-08-24 12:22:16 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"42"} Organism Load (6.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", "42"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 42 Adherent::Adhesion Load (2.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 42  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 40 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 40 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: 7.4ms | ActiveRecord: 9.7ms) Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 42 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 40  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 40  (0.0ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00]]  (0.0ms) 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" = 63) 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", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 63], ["updated_at", Sat, 24 Aug 2013 10:22: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" = 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.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", #], ["created_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 43], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/43/payments/new" for 127.0.0.1 at 2013-08-24 12:22:16 +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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "43"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 43 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 41 CACHE (0.0ms) 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 (7.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 18ms (Views: 11.5ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/43/payments" for 127.0.0.1 at 2013-08-24 12:22:16 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "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"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 43], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:22:16 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.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 41 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 41 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", 41], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00], ["payment_id", 31], ["updated_at", Sat, 24 Aug 2013 10:22:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/43/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/43/adhesions" for 127.0.0.1 at 2013-08-24 12:22:16 +0200 Processing by Adherent::AdhesionsController#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"]]  (0.2ms) SELECT COUNT(*) 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  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 41 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 41 Rendered layouts/adherent/_header.html.haml (0.3ms) 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 67ms (Views: 63.3ms | ActiveRecord: 1.4ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 43 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 41  (1.0ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.7ms) 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", Sat, 24 Aug 2013 10:33:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:33:52 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" = 64) 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", Sat, 24 Aug 2013 10:33:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 64], ["updated_at", Sat, 24 Aug 2013 10:33:52 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" = 64) 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", Sat, 24 Aug 2013 10:33:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 64], ["updated_at", Sat, 24 Aug 2013 10:33:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 44 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 44 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", #], ["created_at", Sat, 24 Aug 2013 10:33:52 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 44], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:33:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 44 Started GET "/adherent/members/44/payments/new" for 127.0.0.1 at 2013-08-24 12:33:52 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"44"} Organism Load (0.3ms) 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", "44"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 44 ORDER BY to_date  (0.5ms) 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 /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (135.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (140.7ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (8.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.3ms) Completed 200 OK in 200ms (Views: 171.0ms | ActiveRecord: 3.9ms) Started POST "/adherent/members/44/payments" for 127.0.0.1 at 2013-08-24 12:33:52 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"44"} 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", "44"]]  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:33:52 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 44], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:33:52 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 44 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 44 ORDER BY to_date  (0.3ms) 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 SQL (26.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 42], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:33:52 UTC +00:00], ["payment_id", 32], ["updated_at", Sat, 24 Aug 2013 10:33:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/44/adhesions Completed 302 Found in 56ms (ActiveRecord: 29.5ms) Started GET "/adherent/members/44/adhesions" for 127.0.0.1 at 2013-08-24 12:33:52 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"44"} 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", "44"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 44 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 44  (0.5ms) 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 /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (11.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: 14.9ms | ActiveRecord: 1.7ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 44  (0.5ms) 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", Sat, 24 Aug 2013 10:33:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:33:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 65) 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", Sat, 24 Aug 2013 10:33:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 65], ["updated_at", Sat, 24 Aug 2013 10:33:52 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" = 'Adh001' AND "adherent_members"."organism_id" = 65) 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", Sat, 24 Aug 2013 10:33:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 65], ["updated_at", Sat, 24 Aug 2013 10:33:52 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" = 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.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", #], ["created_at", Sat, 24 Aug 2013 10:33:52 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 46], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:33:52 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-24 12:33:52 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"46"} 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", "46"]] Adherent::Adhesion Load (1.5ms) 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" = 43 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 43 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 20ms (Views: 10.6ms | ActiveRecord: 2.5ms) Started POST "/adherent/members/46/payments" for 127.0.0.1 at 2013-08-24 12:33:53 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"46"} Organism Load (0.9ms) 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"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 46], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00]] Adherent::Member Load (1.4ms) 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.7ms) 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 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", 43], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["payment_id", 33], ["updated_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/46/adhesions Completed 302 Found in 16ms (ActiveRecord: 4.9ms) Started GET "/adherent/members/46/adhesions" for 127.0.0.1 at 2013-08-24 12:33:53 +0200 Processing by Adherent::AdhesionsController#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"]]  (0.4ms) SELECT COUNT(*) 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  (1.0ms) 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.1ms) Completed 200 OK in 59ms (Views: 53.3ms | ActiveRecord: 2.3ms) 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" = 43  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:33:53 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" = 66) 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", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 66], ["updated_at", Sat, 24 Aug 2013 10:33:53 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" = 66) 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", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 66], ["updated_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 48 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 48 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", #], ["created_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 48], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements" Started GET "/adherent/members/48/payments/new" for 127.0.0.1 at 2013-08-24 12:33:53 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"48"} 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", "48"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 48 ORDER BY to_date  (0.0ms) 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.5ms) 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 19ms (Views: 9.6ms | ActiveRecord: 0.8ms) Started POST "/adherent/members/48/payments" for 127.0.0.1 at 2013-08-24 12:33:53 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"48"} Organism Load (0.7ms) 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", "48"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 48], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 48 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 48 ORDER BY to_date  (0.2ms) 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 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", 44], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["payment_id", 34], ["updated_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/48/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/48/adhesions" for 127.0.0.1 at 2013-08-24 12:33:53 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"48"} 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", "48"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 48 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 48  (0.2ms) 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 12ms (Views: 7.4ms | ActiveRecord: 2.4ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"  (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", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:33:53 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" = 67) 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", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 67], ["updated_at", Sat, 24 Aug 2013 10:33:53 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" = 67) 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", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 67], ["updated_at", Sat, 24 Aug 2013 10:33:53 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" = 50 Adherent::Adhesion Load (0.2ms) 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.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", #], ["created_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 50], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/50/payments/new" for 127.0.0.1 at 2013-08-24 12:33:53 +0200 Processing by Adherent::PaymentsController#new 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::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 50 ORDER BY to_date  (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 /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (7.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 20ms (Views: 11.6ms | ActiveRecord: 1.0ms) Started POST "/adherent/members/50/payments" for 127.0.0.1 at 2013-08-24 12:33:53 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"50"} Organism Load (1.8ms) 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"]]  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 50], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:33:53 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.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 50 ORDER BY to_date  (0.4ms) 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 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 45], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["payment_id", 35], ["updated_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/50/adhesions Completed 302 Found in 20ms (ActiveRecord: 5.5ms) Started GET "/adherent/members/50/adhesions" for 127.0.0.1 at 2013-08-24 12:33:53 +0200 Processing by Adherent::AdhesionsController#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"]]  (0.6ms) SELECT COUNT(*) 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  (0.5ms) 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.3ms) 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.2ms | ActiveRecord: 2.1ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 50 ORDER BY "adherent_payments"."id" DESC LIMIT 1 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 (1.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", #], ["created_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 51], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:33:53 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" = 68) 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", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 68], ["updated_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 68) 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", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 68], ["updated_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (2.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 52 Adherent::Adhesion Load (3.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 52], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/52/payments/new" for 127.0.0.1 at 2013-08-24 12:33:53 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"52"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (3.0ms) 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  (2.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 47 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 47 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (15.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 41ms (Views: 27.9ms | ActiveRecord: 6.4ms) Started POST "/adherent/members/52/payments" for 127.0.0.1 at 2013-08-24 12:33:53 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"52"} 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", "52"]]  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 52], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 52 LIMIT 1 Adherent::Adhesion Load (1.3ms) 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" = 47 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 47 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", 47], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["payment_id", 36], ["updated_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/52/adhesions Completed 302 Found in 24ms (ActiveRecord: 4.9ms) Started GET "/adherent/members/52/adhesions" for 127.0.0.1 at 2013-08-24 12:33:53 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"52"} 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", "52"]]  (0.5ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 52 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 52  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 47 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 47 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: 12.6ms | ActiveRecord: 1.7ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 52 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 47  (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", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:33:53 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" = 69) 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", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 69], ["updated_at", Sat, 24 Aug 2013 10:33:53 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" = 69) 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", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 69], ["updated_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00]]  (0.2ms) 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" = 54 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 54 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", #], ["created_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 54], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/54/payments/new" for 127.0.0.1 at 2013-08-24 12:33:53 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"54"} 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", "54"]] Adherent::Adhesion Load (1.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 54 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 48 CACHE (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 48 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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.4ms | ActiveRecord: 2.8ms) Started POST "/adherent/members/54/payments" for 127.0.0.1 at 2013-08-24 12:33:53 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"54"} 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", "54"]]  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 54], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 54 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 54 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 48 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 48 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", 48], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["payment_id", 37], ["updated_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/54/adhesions Completed 302 Found in 15ms (ActiveRecord: 3.4ms) Started GET "/adherent/members/54/adhesions" for 127.0.0.1 at 2013-08-24 12:33:53 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"54"} 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", "54"]]  (1.5ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 54 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 54  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 48 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 48 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: 7.9ms | ActiveRecord: 2.6ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 54 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 48  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 48  (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", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00]]  (0.0ms) 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" = 70) 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", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 70], ["updated_at", Sat, 24 Aug 2013 10:33:53 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" = 'Adh001' AND "adherent_members"."organism_id" = 70) 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", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 70], ["updated_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00]]  (0.3ms) 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" = 56 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 56 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", #], ["created_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 56], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/56/payments/new" for 127.0.0.1 at 2013-08-24 12:33:53 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"56"} Organism Load (0.4ms) 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", "56"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 56 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 49 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 49 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 18ms (Views: 10.8ms | ActiveRecord: 1.0ms) Started POST "/adherent/members/56/payments" for 127.0.0.1 at 2013-08-24 12:33:53 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"56"} 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", "56"]]  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 56], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 56 LIMIT 1 Adherent::Adhesion Load (4.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 56 ORDER BY to_date  (1.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 49 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 49 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", 49], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["payment_id", 38], ["updated_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/56/adhesions Completed 302 Found in 80ms (ActiveRecord: 8.6ms) Started GET "/adherent/members/56/adhesions" for 127.0.0.1 at 2013-08-24 12:33:53 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"56"} 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", "56"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 56 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 56  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 49 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 49 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 12ms (Views: 7.2ms | ActiveRecord: 1.4ms) Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 56 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 49  (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", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:33:53 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", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 71], ["updated_at", Sat, 24 Aug 2013 10:33:53 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" = 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", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 71], ["updated_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00]]  (0.2ms) 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" = 58 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 58 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 58], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/58/payments/new" for 127.0.0.1 at 2013-08-24 12:33:53 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"58"} 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", "58"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 58 ORDER BY to_date  (1.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 50 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 50 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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 18ms (Views: 10.7ms | ActiveRecord: 2.4ms) Started POST "/adherent/members/58/payments" for 127.0.0.1 at 2013-08-24 12:33:53 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"58"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "58"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 58], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 58 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 58 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 50 CACHE (0.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00], ["payment_id", 39], ["updated_at", Sat, 24 Aug 2013 10:33:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/58/adhesions Completed 302 Found in 14ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/58/adhesions" for 127.0.0.1 at 2013-08-24 12:33:53 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"58"} 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", "58"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 58 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 58  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 50 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 50 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: 7.5ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 58 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.4ms) BEGIN Organism Load (1.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:34:11 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" = 72) 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", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 72], ["updated_at", Sat, 24 Aug 2013 10:34:11 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" = 72) 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", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 72], ["updated_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 72) 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", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 72], ["updated_at", Sat, 24 Aug 2013 10:34:11 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" = 60 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 60 ORDER BY to_date DESC LIMIT 1  (0.7ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 60], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/60/payments/new" for 127.0.0.1 at 2013-08-24 12:34:11 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"60"} 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", "60"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 60 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 51 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 51 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (75.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (81.8ms) Rendered layouts/adherent/_header.html.haml (2.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 128ms (Views: 98.2ms | ActiveRecord: 5.0ms) Started POST "/adherent/members/60/payments" for 127.0.0.1 at 2013-08-24 12:34:11 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"60"} 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", "60"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 60], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00]] Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 60 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 60 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 51 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 51 SQL (0.7ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["payment_id", 40], ["updated_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/60/adhesions Completed 302 Found in 31ms (ActiveRecord: 3.6ms) Started GET "/adherent/members/60/adhesions" for 127.0.0.1 at 2013-08-24 12:34:11 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"60"} 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", "60"]]  (0.5ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 60 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 60  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 51 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 51 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (11.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 22ms (Views: 15.5ms | ActiveRecord: 1.8ms) Adherent::Payment Load (0.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 60 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 61 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 61 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 61], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:34:11 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" = 62 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 62 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", #], ["created_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 62], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (1.2ms) 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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:34:11 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" = 'Adh000' 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", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 73], ["updated_at", Sat, 24 Aug 2013 10:34:11 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" = 'Adh001' AND "adherent_members"."organism_id" = 73) 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", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 73], ["updated_at", Sat, 24 Aug 2013 10:34:11 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" = 73) LIMIT 1 SQL (1.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", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 73], ["updated_at", Sat, 24 Aug 2013 10:34:11 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" = 63 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 63 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", #], ["created_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 63], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/63/payments/new" for 127.0.0.1 at 2013-08-24 12:34:11 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"63"} 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", "63"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 63 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 54 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 54 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 18ms (Views: 8.5ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/63/payments" for 127.0.0.1 at 2013-08-24 12:34:11 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"63"} 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", "63"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 63], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 63 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 63 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 54 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 54 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", 54], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["payment_id", 41], ["updated_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/63/adhesions Completed 302 Found in 13ms (ActiveRecord: 3.1ms) Started GET "/adherent/members/63/adhesions" for 127.0.0.1 at 2013-08-24 12:34:11 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"63"} Organism Load (0.3ms) 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", "63"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 63 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 63  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 54 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 54 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: 7.7ms | ActiveRecord: 1.8ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 63 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 41  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 41  (0.4ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:34:11 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.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", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 74], ["updated_at", Sat, 24 Aug 2013 10:34:11 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.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", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 74], ["updated_at", Sat, 24 Aug 2013 10:34:11 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" = 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", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 74], ["updated_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00]]  (0.2ms) 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" = 66 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 66 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", #], ["created_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 66], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/66/payments/new" for 127.0.0.1 at 2013-08-24 12:34:11 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"66"} 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", "66"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 66 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 55 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 55 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 17ms (Views: 9.8ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/66/payments" for 127.0.0.1 at 2013-08-24 12:34:11 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"66"} 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", "66"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 66], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 66 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 66 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 55 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 55 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", 55], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["payment_id", 42], ["updated_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/66/adhesions Completed 302 Found in 15ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/66/adhesions" for 127.0.0.1 at 2013-08-24 12:34:11 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"66"} 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", "66"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 66 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 66  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 55 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 55 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: 7.8ms | ActiveRecord: 1.7ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 66 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 55  (0.4ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:34:11 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" = 'Adh000' AND "adherent_members"."organism_id" = 75) 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", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 75], ["updated_at", Sat, 24 Aug 2013 10:34:11 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" = '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", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 75], ["updated_at", Sat, 24 Aug 2013 10:34:11 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" = 'Adh002' 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", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 75], ["updated_at", Sat, 24 Aug 2013 10:34:11 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" = 69 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 69 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", #], ["created_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 69], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/69/payments/new" for 127.0.0.1 at 2013-08-24 12:34:11 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"69"} 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", "69"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 69 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 56 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 56 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (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 19ms (Views: 9.4ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/69/payments" for 127.0.0.1 at 2013-08-24 12:34:11 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"69"} 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", "69"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 69], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 69 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 69 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 56 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 56 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", 56], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00], ["payment_id", 43], ["updated_at", Sat, 24 Aug 2013 10:34:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/69/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/69/adhesions" for 127.0.0.1 at 2013-08-24 12:34:11 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"69"} 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", "69"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 69 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 69  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 56 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 56 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.4ms | ActiveRecord: 1.6ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 69 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 56  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 56  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:34:12 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" = 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", Sat, 24 Aug 2013 10:34:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 76], ["updated_at", Sat, 24 Aug 2013 10:34:12 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" = 'Adh001' AND "adherent_members"."organism_id" = 76) 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", Sat, 24 Aug 2013 10:34:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 76], ["updated_at", Sat, 24 Aug 2013 10:34:12 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" = 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", Sat, 24 Aug 2013 10:34:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 76], ["updated_at", Sat, 24 Aug 2013 10:34:12 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" = 72 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 72 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", #], ["created_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 72], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/72/payments/new" for 127.0.0.1 at 2013-08-24 12:34:12 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"72"} 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", "72"]] Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 72 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 57 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 57 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (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 19ms (Views: 9.6ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/72/payments" for 127.0.0.1 at 2013-08-24 12:34:12 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"72"} 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", "72"]]  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 72], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 72 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 72 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 57 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 57 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", 57], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00], ["payment_id", 44], ["updated_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/72/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/72/adhesions" for 127.0.0.1 at 2013-08-24 12:34:12 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"72"} 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", "72"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 72 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 72  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 57 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 57 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.0ms | ActiveRecord: 1.5ms) Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 72 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) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:34:12 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" = 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", Sat, 24 Aug 2013 10:34:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 77], ["updated_at", Sat, 24 Aug 2013 10:34:12 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", Sat, 24 Aug 2013 10:34:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 77], ["updated_at", Sat, 24 Aug 2013 10:34:12 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" = 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", Sat, 24 Aug 2013 10:34:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 77], ["updated_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (1.4ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (3.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 75 Adherent::Adhesion Load (1.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 75 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", #], ["created_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 75], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/75/payments/new" for 127.0.0.1 at 2013-08-24 12:34:12 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"75"} Organism Load (4.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", "75"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 75 ORDER BY to_date  (2.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 58 CACHE (0.0ms) 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 (10.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 34ms (Views: 17.2ms | ActiveRecord: 7.9ms) Started POST "/adherent/members/75/payments" for 127.0.0.1 at 2013-08-24 12:34:12 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"75"} Organism Load (3.7ms) 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", "75"]]  (2.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 75], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 75 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 75 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 58 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 58 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", 58], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00], ["payment_id", 45], ["updated_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/75/adhesions Completed 302 Found in 19ms (ActiveRecord: 8.7ms) Started GET "/adherent/members/75/adhesions" for 127.0.0.1 at 2013-08-24 12:34:12 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"75"} 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", "75"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 75 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 75  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 58 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 58 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: 7.0ms | ActiveRecord: 1.3ms) Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 75 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 58  (0.2ms) ROLLBACK  (0.1ms) BEGIN 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", Sat, 24 Aug 2013 10:34:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:34:12 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" = 78) 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", Sat, 24 Aug 2013 10:34:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 78], ["updated_at", Sat, 24 Aug 2013 10:34:12 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" = 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", Sat, 24 Aug 2013 10:34:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 78], ["updated_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00]]  (0.0ms) 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" = 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", Sat, 24 Aug 2013 10:34:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 78], ["updated_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 78 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 78 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", #], ["created_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 78], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"  Started GET "/adherent/members/78/payments/new" for 127.0.0.1 at 2013-08-24 12:34:12 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"78"} Organism Load (1.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", "78"]] Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 78 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 59 CACHE (0.0ms) 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 (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 24ms (Views: 9.6ms | ActiveRecord: 2.8ms) Started POST "/adherent/members/78/payments" for 127.0.0.1 at 2013-08-24 12:34:12 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"78"} 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", "78"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 78], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 78 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 78 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 59 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 59 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", 59], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00], ["payment_id", 46], ["updated_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/78/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/78/adhesions" for 127.0.0.1 at 2013-08-24 12:34:12 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"78"} 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", "78"]]  (2.0ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 78 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 78  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 59 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 59 Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 13ms (Views: 8.5ms | ActiveRecord: 3.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) 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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:34:12 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" = 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", Sat, 24 Aug 2013 10:34:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 79], ["updated_at", Sat, 24 Aug 2013 10:34:12 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" = 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", Sat, 24 Aug 2013 10:34:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 79], ["updated_at", Sat, 24 Aug 2013 10:34:12 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" = 79) 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", Sat, 24 Aug 2013 10:34:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 79], ["updated_at", Sat, 24 Aug 2013 10:34:12 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" = 81 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 81 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", #], ["created_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 81], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 81 Started GET "/adherent/members/81/payments/new" for 127.0.0.1 at 2013-08-24 12:34:12 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"81"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "81"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 81 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 60 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 60 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.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 19ms (Views: 9.7ms | ActiveRecord: 1.9ms) Started POST "/adherent/members/81/payments" for 127.0.0.1 at 2013-08-24 12:34:12 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"81"} 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", "81"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 81], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 81 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 81 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 60 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 60 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", 60], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00], ["payment_id", 47], ["updated_at", Sat, 24 Aug 2013 10:34:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/81/adhesions Completed 302 Found in 14ms (ActiveRecord: 3.3ms) Started GET "/adherent/members/81/adhesions" for 127.0.0.1 at 2013-08-24 12:34:12 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"81"} 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", "81"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 81 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 81  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 60 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 60 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: 7.9ms | ActiveRecord: 1.4ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 81  (0.9ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.7ms) 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", Sat, 24 Aug 2013 10:34:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:34: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" = 'Adh000' AND "adherent_members"."organism_id" = 80) 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", Sat, 24 Aug 2013 10:34:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 80], ["updated_at", Sat, 24 Aug 2013 10:34: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" = 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", Sat, 24 Aug 2013 10:34:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 80], ["updated_at", Sat, 24 Aug 2013 10:34:32 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" = 'Adh002' 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", Sat, 24 Aug 2013 10:34:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 80], ["updated_at", Sat, 24 Aug 2013 10:34: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.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 84 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 84 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", #], ["created_at", Sat, 24 Aug 2013 10:34:32 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 84], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:34:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 84 Started GET "/adherent/members/84/payments/new" for 127.0.0.1 at 2013-08-24 12:34:32 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"84"} 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", "84"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 84 ORDER BY to_date  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 61 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 61 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (79.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (83.9ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 123ms (Views: 100.0ms | ActiveRecord: 3.8ms) Started POST "/adherent/members/84/payments" for 127.0.0.1 at 2013-08-24 12:34:32 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"84"} 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", "84"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:34:32 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 84], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:34:32 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 84 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 84 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 61 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 61 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 61], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:34:32 UTC +00:00], ["payment_id", 48], ["updated_at", Sat, 24 Aug 2013 10:34:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/84/adhesions Completed 302 Found in 30ms (ActiveRecord: 3.1ms) Started GET "/adherent/members/84/adhesions" for 127.0.0.1 at 2013-08-24 12:34:32 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"84"} 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", "84"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 84 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 84  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 61 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 61 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (11.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 20ms (Views: 14.6ms | ActiveRecord: 1.8ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 84  (0.4ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.5ms) 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", Sat, 24 Aug 2013 10:34:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:34: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" = 'Adh000' AND "adherent_members"."organism_id" = 81) 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", Sat, 24 Aug 2013 10:34:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 81], ["updated_at", Sat, 24 Aug 2013 10:34:32 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" = 81) 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", Sat, 24 Aug 2013 10:34:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 81], ["updated_at", Sat, 24 Aug 2013 10:34: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" = 'Adh002' AND "adherent_members"."organism_id" = 81) 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", Sat, 24 Aug 2013 10:34:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 81], ["updated_at", Sat, 24 Aug 2013 10:34: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" = 87 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 87 ORDER BY to_date DESC LIMIT 1  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:34:32 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 87], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:34:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  Started GET "/adherent/members/87/payments/new" for 127.0.0.1 at 2013-08-24 12:34:32 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"87"} 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", "87"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 87 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 62 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 62 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.5ms) 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.5ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/87/payments" for 127.0.0.1 at 2013-08-24 12:34:32 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"87"} Organism Load (0.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", "87"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:34:32 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 87], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:34:32 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 87 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 87 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 62 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 62 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 62], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:34:32 UTC +00:00], ["payment_id", 49], ["updated_at", Sat, 24 Aug 2013 10:34:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/87/adhesions Completed 302 Found in 16ms (ActiveRecord: 4.0ms) Started GET "/adherent/members/87/adhesions" for 127.0.0.1 at 2013-08-24 12:34:32 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"87"} Organism Load (0.8ms) 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", "87"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 87 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 87  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 62 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 62 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 13ms (Views: 7.6ms | ActiveRecord: 1.8ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.8ms) ROLLBACK  (0.0ms) 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", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:34: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" = 'Adh000' AND "adherent_members"."organism_id" = 82) 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", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 82], ["updated_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 82) 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", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 82], ["updated_at", Sat, 24 Aug 2013 10:34: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" = 82) 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", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 82], ["updated_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00]]  (0.0ms) 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" = 90 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 90 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", #], ["created_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 90], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/90/payments/new" for 127.0.0.1 at 2013-08-24 12:34:33 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"90"} 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", "90"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 90 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 63 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 63 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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 19ms (Views: 9.5ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/90/payments" for 127.0.0.1 at 2013-08-24 12:34:33 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"90"} 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", "90"]]  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 90], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00]] Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 90 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 90 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 63 CACHE (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 63 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", 63], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["payment_id", 50], ["updated_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/90/adhesions Completed 302 Found in 17ms (ActiveRecord: 4.0ms) Started GET "/adherent/members/90/adhesions" for 127.0.0.1 at 2013-08-24 12:34:33 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"90"} 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", "90"]]  (0.9ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 90 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 90  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 63 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 63 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: 7.9ms | ActiveRecord: 2.0ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 90 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 63  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:34: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" = 'Adh000' AND "adherent_members"."organism_id" = 83) 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", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 83], ["updated_at", Sat, 24 Aug 2013 10:34: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" = 83) 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", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 83], ["updated_at", Sat, 24 Aug 2013 10:34:33 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" = 83) 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", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 83], ["updated_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 93 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 93 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", #], ["created_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 93], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/93/payments/new" for 127.0.0.1 at 2013-08-24 12:34:33 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"93"} 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", "93"]] Adherent::Adhesion Load (1.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 93 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 64 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 64 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (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 18ms (Views: 9.4ms | ActiveRecord: 2.9ms) Started POST "/adherent/members/93/payments" for 127.0.0.1 at 2013-08-24 12:34:33 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"93"} 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", "93"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 93], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 93 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 93 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 64 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 64 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", 64], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["payment_id", 51], ["updated_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/93/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/93/adhesions" for 127.0.0.1 at 2013-08-24 12:34:33 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"93"} 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", "93"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 93 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 93  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 64 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 64 Rendered layouts/adherent/_header.html.haml (1.7ms) 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: 8.9ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 93 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 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", #], ["created_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 94], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:34: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" = 95 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 ORDER BY to_date DESC LIMIT 1  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 95], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/51/reglements/new" for 127.0.0.1 at 2013-08-24 12:34:33 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"51"} 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", "51"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 93 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 51  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 51 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" = 64  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 65  (1.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 66 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 51 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 51 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 65 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 66 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (19.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 41ms (Views: 26.7ms | ActiveRecord: 4.3ms)  (0.3ms) 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", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:34:33 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" = 'Adh000' AND "adherent_members"."organism_id" = 84) 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", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 84], ["updated_at", Sat, 24 Aug 2013 10:34: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" = 84) 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", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 84], ["updated_at", Sat, 24 Aug 2013 10:34:33 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" = 'Adh002' AND "adherent_members"."organism_id" = 84) 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", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 84], ["updated_at", Sat, 24 Aug 2013 10:34: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" = 96 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 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", #], ["created_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 96], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/96/payments/new" for 127.0.0.1 at 2013-08-24 12:34:33 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"96"} 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", "96"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 67 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 67 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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 23ms (Views: 15.3ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/96/payments" for 127.0.0.1 at 2013-08-24 12:34:33 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"96"} 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", "96"]]  (2.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", #], ["created_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 96], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00]] Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 96 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 67 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 67 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", 67], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["payment_id", 52], ["updated_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/96/adhesions Completed 302 Found in 16ms (ActiveRecord: 5.1ms) Started GET "/adherent/members/96/adhesions" for 127.0.0.1 at 2013-08-24 12:34:33 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"96"} 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", "96"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 67 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 67 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 14ms (Views: 8.4ms | ActiveRecord: 1.3ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 67  (0.1ms) ROLLBACK  (1.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", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:34:33 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" = 85) 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", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 85], ["updated_at", Sat, 24 Aug 2013 10:34: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" = 85) 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", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 85], ["updated_at", Sat, 24 Aug 2013 10:34: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" = 85) LIMIT 1 SQL (1.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", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 85], ["updated_at", Sat, 24 Aug 2013 10:34: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" = 99 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 99 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", #], ["created_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 99], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/99/payments/new" for 127.0.0.1 at 2013-08-24 12:34:33 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"99"} 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", "99"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 99 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 68 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 68 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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 16ms (Views: 8.8ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/99/payments" for 127.0.0.1 at 2013-08-24 12:34:33 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"99"} 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", "99"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 99], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 99 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 99 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 68 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 68 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", 68], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["payment_id", 53], ["updated_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/99/adhesions Completed 302 Found in 15ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/99/adhesions" for 127.0.0.1 at 2013-08-24 12:34:33 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"99"} 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", "99"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 99 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 99  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 68 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 68 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: 8.7ms | ActiveRecord: 2.0ms) Adherent::Adhesion Load (3.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 99 ORDER BY to_date  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 68  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 68  (0.4ms) 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.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:34: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" = '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", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 86], ["updated_at", Sat, 24 Aug 2013 10:34:33 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" = 86) 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", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 86], ["updated_at", Sat, 24 Aug 2013 10:34: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" = 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", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 86], ["updated_at", Sat, 24 Aug 2013 10:34: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" = 102 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 102 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", #], ["created_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 102], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/102/payments/new" for 127.0.0.1 at 2013-08-24 12:34:33 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"102"} Organism Load (1.0ms) 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::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 102 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 69 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 69 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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 20ms (Views: 10.4ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/102/payments" for 127.0.0.1 at 2013-08-24 12:34:33 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"102"} Organism Load (0.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", "102"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 102], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 102 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 102 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 69 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 69 SQL (0.1ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 69], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["payment_id", 54], ["updated_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/102/adhesions Completed 302 Found in 16ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/102/adhesions" for 127.0.0.1 at 2013-08-24 12:34:33 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"102"} 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", "102"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 102 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 102  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 69 CACHE (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 69 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 11ms (Views: 7.0ms | ActiveRecord: 1.7ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 102 ORDER BY to_date  (1.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 69  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.3ms) 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", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:34: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" = '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", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 87], ["updated_at", Sat, 24 Aug 2013 10:34: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" = 87) 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", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 87], ["updated_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00]]  (0.4ms) 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" = 87) 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", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 87], ["updated_at", Sat, 24 Aug 2013 10:34: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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 105 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 105 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", #], ["created_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 105], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/105/payments/new" for 127.0.0.1 at 2013-08-24 12:34:33 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"105"} 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", "105"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 105 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 70 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 70 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 20ms (Views: 9.3ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/105/payments" for 127.0.0.1 at 2013-08-24 12:34:33 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"105"} 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", "105"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 105], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 105 LIMIT 1 Adherent::Adhesion Load (1.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 105 ORDER BY to_date  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 70 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 70 SQL (2.0ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 70], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00], ["payment_id", 55], ["updated_at", Sat, 24 Aug 2013 10:34:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/105/adhesions Completed 302 Found in 27ms (ActiveRecord: 5.9ms) Started GET "/adherent/members/105/adhesions" for 127.0.0.1 at 2013-08-24 12:34:33 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"105"} 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", "105"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 105 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 105  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 70 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 70 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 11ms (Views: 7.1ms | ActiveRecord: 1.5ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 105 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 55  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 55  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (5.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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" = 88) 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", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 88], ["updated_at", Sat, 24 Aug 2013 10:36:21 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" = 88) 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", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 88], ["updated_at", Sat, 24 Aug 2013 10:36:21 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" = 88) 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", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 88], ["updated_at", Sat, 24 Aug 2013 10:36:21 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" = 108 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 108 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 108], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/108/payments/new" for 127.0.0.1 at 2013-08-24 12:36:21 +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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "108"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 108 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 71 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 71 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (75.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (80.8ms) 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 128ms (Views: 99.9ms | ActiveRecord: 5.9ms) Started POST "/adherent/members/108/payments" for 127.0.0.1 at 2013-08-24 12:36:21 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"108"} 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", "108"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 108], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 108 LIMIT 1 Adherent::Adhesion Load (0.4ms) 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" = 71 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 71 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 71], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["payment_id", 56], ["updated_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/108/adhesions Completed 302 Found in 30ms (ActiveRecord: 4.1ms) Started GET "/adherent/members/108/adhesions" for 127.0.0.1 at 2013-08-24 12:36:21 +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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "108"]]  (0.3ms) 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" = 71 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 71 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (10.9ms) 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 20ms (Views: 15.2ms | ActiveRecord: 1.5ms) Adherent::Payment Load (0.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 108 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 109 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 109 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", #], ["created_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 109], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:36:21 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" = 110 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 110 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", #], ["created_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 110], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/56/reglements/new" for 127.0.0.1 at 2013-08-24 12:36:21 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"56"} 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", "56"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 108 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56 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" = 71  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 72  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 73 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 109 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 72 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 110 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 73 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (18.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/new.html.erb within layouts/adherent/application (22.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 43ms (Views: 25.7ms | ActiveRecord: 3.9ms)  (0.5ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:36:21 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" = 'Adh000' AND "adherent_members"."organism_id" = 89) 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", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 89], ["updated_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 89) 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", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 89], ["updated_at", Sat, 24 Aug 2013 10:36:21 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" = 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", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 89], ["updated_at", Sat, 24 Aug 2013 10:36:21 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" = 111 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 111 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 111], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/111/payments/new" for 127.0.0.1 at 2013-08-24 12:36:21 +0200 Processing by Adherent::PaymentsController#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 (2.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 111 ORDER BY to_date  (2.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 74 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 74 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 67ms (Views: 9.5ms | ActiveRecord: 5.4ms) Started POST "/adherent/members/111/payments" for 127.0.0.1 at 2013-08-24 12:36:21 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"111"} 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", "111"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 111], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 111 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 111 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 74 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 74 SQL (2.9ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 74], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["payment_id", 57], ["updated_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/111/adhesions Completed 302 Found in 16ms (ActiveRecord: 5.0ms) Started GET "/adherent/members/111/adhesions" for 127.0.0.1 at 2013-08-24 12:36:21 +0200 Processing by Adherent::AdhesionsController#index 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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "111"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 111 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 111  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 74 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 74 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: 8.1ms | ActiveRecord: 1.6ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 111 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 112 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 112 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", #], ["created_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 112], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:36:21 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" = 113 Adherent::Adhesion Load (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 113], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/57/reglements/new" for 127.0.0.1 at 2013-08-24 12:36:21 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"57"} 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", "57"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 111 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 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" = 74  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 75  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 76 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 112 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 75 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 113 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 76 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.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 24ms (Views: 12.8ms | ActiveRecord: 3.1ms)  (0.1ms) 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", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:36:21 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" = 90) 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", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 90], ["updated_at", Sat, 24 Aug 2013 10:36:21 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" = 90) 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", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 90], ["updated_at", Sat, 24 Aug 2013 10:36:21 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" = 90) 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", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 90], ["updated_at", Sat, 24 Aug 2013 10:36:21 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" = 114 Adherent::Adhesion Load (0.1ms) 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.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", #], ["created_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 114], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements" Started GET "/adherent/members/114/payments/new" for 127.0.0.1 at 2013-08-24 12:36:21 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"114"} 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", "114"]] 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" = 77 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 77 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.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 18ms (Views: 8.4ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/114/payments" for 127.0.0.1 at 2013-08-24 12:36:21 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"114"} 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", "114"]]  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 114], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:36:21 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" = 77 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 77 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", 77], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["payment_id", 58], ["updated_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/114/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/114/adhesions" for 127.0.0.1 at 2013-08-24 12:36:21 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"114"} 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", "114"]]  (1.0ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 114 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 114  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 77 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 77 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 12ms (Views: 7.1ms | ActiveRecord: 2.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.0ms) 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", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00]]  (0.0ms) 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.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", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 91], ["updated_at", Sat, 24 Aug 2013 10:36:21 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" = 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", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 91], ["updated_at", Sat, 24 Aug 2013 10:36:21 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" = 91) 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", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 91], ["updated_at", Sat, 24 Aug 2013 10:36:21 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" = 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.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", #], ["created_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 117], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/117/payments/new" for 127.0.0.1 at 2013-08-24 12:36:21 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"117"} Organism Load (2.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "117"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 117 ORDER BY to_date  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 78 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 78 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.8ms) 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 21ms (Views: 10.4ms | ActiveRecord: 3.8ms) Started POST "/adherent/members/117/payments" for 127.0.0.1 at 2013-08-24 12:36:21 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"117"} 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", "117"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 117], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 117 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 117 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 78 CACHE (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 78 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", 78], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["payment_id", 59], ["updated_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/117/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/117/adhesions" for 127.0.0.1 at 2013-08-24 12:36:21 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"117"} 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", "117"]]  (0.0ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 117 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 117  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 78 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 78 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 11ms (Views: 7.1ms | ActiveRecord: 1.0ms) Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 117 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 78  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) 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", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:36:21 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.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", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 92], ["updated_at", Sat, 24 Aug 2013 10:36:21 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" = 92) 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", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 92], ["updated_at", Sat, 24 Aug 2013 10:36:21 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" = 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", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 92], ["updated_at", Sat, 24 Aug 2013 10:36:21 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" = 120 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 120 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", #], ["created_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 120], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:36:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 120 Started GET "/adherent/members/120/payments/new" for 127.0.0.1 at 2013-08-24 12:36:22 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"120"} 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", "120"]] Adherent::Adhesion Load (3.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 120 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 79 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 79 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 27ms (Views: 16.6ms | ActiveRecord: 4.6ms) Started POST "/adherent/members/120/payments" for 127.0.0.1 at 2013-08-24 12:36:22 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"120"} 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", "120"]]  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 120], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 120 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 120 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 79 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 79 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", 79], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["payment_id", 60], ["updated_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/120/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/120/adhesions" for 127.0.0.1 at 2013-08-24 12:36:22 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"120"} 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", "120"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 120 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 120  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 79 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 79 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: 7.7ms | ActiveRecord: 1.6ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 120  (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", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:36:22 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" = 93) 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", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 93], ["updated_at", Sat, 24 Aug 2013 10:36:22 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" = 93) LIMIT 1 SQL (1.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", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 93], ["updated_at", Sat, 24 Aug 2013 10:36:22 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" = 93) 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", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 93], ["updated_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.3ms) 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  (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", #], ["created_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 123], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/123/payments/new" for 127.0.0.1 at 2013-08-24 12:36:22 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"123"} Organism Load (1.7ms) 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", "123"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 123 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 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: 9.4ms | ActiveRecord: 3.0ms) Started POST "/adherent/members/123/payments" for 127.0.0.1 at 2013-08-24 12:36:22 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"123"} Organism Load (0.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", "123"]]  (0.6ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 123], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 123 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 123 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 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", 80], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["payment_id", 61], ["updated_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/123/adhesions Completed 302 Found in 15ms (ActiveRecord: 3.6ms) Started GET "/adherent/members/123/adhesions" for 127.0.0.1 at 2013-08-24 12:36:22 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"123"} 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", "123"]]  (0.5ms) SELECT COUNT(*) 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  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 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: 8.5ms | ActiveRecord: 1.6ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 123 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80  (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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:36:22 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" = 94) 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", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 94], ["updated_at", Sat, 24 Aug 2013 10:36:22 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" = 94) 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", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 94], ["updated_at", Sat, 24 Aug 2013 10:36:22 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" = 94) 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", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 94], ["updated_at", Sat, 24 Aug 2013 10:36:22 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 126 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", #], ["created_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 126], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/126/payments/new" for 127.0.0.1 at 2013-08-24 12:36:22 +0200 Processing by Adherent::PaymentsController#new 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::Adhesion Load (0.4ms) 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" = 81 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 81 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (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 20ms (Views: 9.2ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/126/payments" for 127.0.0.1 at 2013-08-24 12:36:22 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"126"} 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", "126"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 126], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 126 LIMIT 1 Adherent::Adhesion Load (1.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 126 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 81 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 81 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", 81], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["payment_id", 62], ["updated_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/126/adhesions Completed 302 Found in 13ms (ActiveRecord: 4.2ms) Started GET "/adherent/members/126/adhesions" for 127.0.0.1 at 2013-08-24 12:36:22 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"126"} 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", "126"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 126 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 126  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 81 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 81 Rendered layouts/adherent/_header.html.haml (1.0ms) 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 13ms (Views: 8.5ms | ActiveRecord: 1.5ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 126 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 62  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 62  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:36:22 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" = 95) 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", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 95], ["updated_at", Sat, 24 Aug 2013 10:36:22 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" = 95) 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", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 95], ["updated_at", Sat, 24 Aug 2013 10:36:22 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" = 95) LIMIT 1 SQL (11.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", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 95], ["updated_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 129 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 129 ORDER BY to_date DESC LIMIT 1  (0.4ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 129], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/129/payments/new" for 127.0.0.1 at 2013-08-24 12:36:22 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"129"} 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", "129"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 129 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 82 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 82 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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 16ms (Views: 8.2ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/129/payments" for 127.0.0.1 at 2013-08-24 12:36:22 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"129"} 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", "129"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 129], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 129 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 129 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 82 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 82 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", 82], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["payment_id", 63], ["updated_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/129/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/129/adhesions" for 127.0.0.1 at 2013-08-24 12:36:22 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"129"} 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", "129"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 129 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 129  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 82 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 82 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.9ms | ActiveRecord: 1.3ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 129 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 82  (0.3ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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" = 96) 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", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 96], ["updated_at", Sat, 24 Aug 2013 10:36:22 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" = 96) LIMIT 1 SQL (1.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", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 96], ["updated_at", Sat, 24 Aug 2013 10:36:22 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" = 96) 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", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 96], ["updated_at", Sat, 24 Aug 2013 10:36:22 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" = 132 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 132 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", #], ["created_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 132], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/132/payments/new" for 127.0.0.1 at 2013-08-24 12:36:22 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"132"} 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", "132"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 132 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 19ms (Views: 9.7ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/132/payments" for 127.0.0.1 at 2013-08-24 12:36:22 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"132"} 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", "132"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 132], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 132 LIMIT 1 Adherent::Adhesion Load (1.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 132 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 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", 83], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00], ["payment_id", 64], ["updated_at", Sat, 24 Aug 2013 10:36:22 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/132/adhesions Completed 302 Found in 14ms (ActiveRecord: 4.3ms) Started GET "/adherent/members/132/adhesions" for 127.0.0.1 at 2013-08-24 12:36:22 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"132"} 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", "132"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 132 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 132  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 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: 8.2ms | ActiveRecord: 1.5ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 132 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83  (0.0ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (4.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:38:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:38:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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" = 97) 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", Sat, 24 Aug 2013 10:38:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 97], ["updated_at", Sat, 24 Aug 2013 10:38:11 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" = 97) 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", Sat, 24 Aug 2013 10:38:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 97], ["updated_at", Sat, 24 Aug 2013 10:38:11 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" = 'Adh002' AND "adherent_members"."organism_id" = 97) 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", Sat, 24 Aug 2013 10:38:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 97], ["updated_at", Sat, 24 Aug 2013 10:38:11 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" = 135 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 135 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Sat, 24 Aug 2013 10:38:11 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 135], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:38:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/135/payments/new" for 127.0.0.1 at 2013-08-24 12:38:11 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"135"} 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", "135"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 135 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 84 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 84 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (79.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (83.8ms) Rendered layouts/adherent/_header.html.haml (1.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.8ms) Completed 200 OK in 130ms (Views: 100.9ms | ActiveRecord: 6.2ms) Started POST "/adherent/members/135/payments" for 127.0.0.1 at 2013-08-24 12:38:12 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"135"} 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", "135"]]  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 135], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 135 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 135 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 84 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 84 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", 84], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["payment_id", 65], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/135/adhesions Completed 302 Found in 30ms (ActiveRecord: 3.6ms) Started GET "/adherent/members/135/adhesions" for 127.0.0.1 at 2013-08-24 12:38:12 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"135"} 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", "135"]]  (1.5ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 135 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 135  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 84 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 84 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (11.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 21ms (Views: 15.8ms | ActiveRecord: 2.7ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 135 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 136 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 136 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", #], ["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 136], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 137 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 137 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", #], ["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 137], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/65/reglements/new" for 127.0.0.1 at 2013-08-24 12:38:12 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"65"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "65"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 135 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 65  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 65 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" = 84  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 85  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 86 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 65 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 65 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 136 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 85 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 137 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 86 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (18.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/new.html.erb within layouts/adherent/application (22.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 41ms (Views: 25.1ms | ActiveRecord: 3.5ms)  (0.6ms) ROLLBACK  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:38:12 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" = 'Adh000' AND "adherent_members"."organism_id" = 98) 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", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 98], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 98) 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", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 98], ["updated_at", Sat, 24 Aug 2013 10:38:12 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" = 98) 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", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 98], ["updated_at", Sat, 24 Aug 2013 10:38:12 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" = 138 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 138 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 138], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/138/payments/new" for 127.0.0.1 at 2013-08-24 12:38:12 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"138"} Organism Load (1.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", "138"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 138 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 87 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 87 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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 17ms (Views: 9.8ms | ActiveRecord: 2.0ms) Started POST "/adherent/members/138/payments" for 127.0.0.1 at 2013-08-24 12:38:12 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"138"} 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", "138"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 138], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]] Adherent::Member Load (1.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 138 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 138 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 87 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 87 SQL (0.8ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 87], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["payment_id", 66], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/138/adhesions Completed 302 Found in 14ms (ActiveRecord: 4.0ms) Started GET "/adherent/members/138/adhesions" for 127.0.0.1 at 2013-08-24 12:38:12 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"138"} 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", "138"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 138 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 138  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 87 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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 14ms (Views: 8.6ms | ActiveRecord: 1.6ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 138 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 139 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 139 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", #], ["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 139], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:38:12 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" = 140 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 140 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", #], ["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 140], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/66/reglements/new" for 127.0.0.1 at 2013-08-24 12:38:12 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"66"} 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", "66"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 138 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 66  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 66 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" = 87  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 88  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 89 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 66 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 66 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 139 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 88 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 140 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 89 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.7ms) 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 25ms (Views: 14.3ms | ActiveRecord: 3.4ms)  (1.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", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:38:12 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" = 99) 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", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 99], ["updated_at", Sat, 24 Aug 2013 10:38:12 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" = 99) 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", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 99], ["updated_at", Sat, 24 Aug 2013 10:38:12 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" = 99) 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", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 99], ["updated_at", Sat, 24 Aug 2013 10:38:12 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" = 141 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 141 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", #], ["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 141], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/141/payments/new" for 127.0.0.1 at 2013-08-24 12:38:12 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"141"} 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", "141"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 141 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 90 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 90 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 19ms (Views: 10.0ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/141/payments" for 127.0.0.1 at 2013-08-24 12:38:12 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"141"} 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", "141"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 141], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 141 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 141 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 90 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 90 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", 90], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["payment_id", 67], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/141/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/141/adhesions" for 127.0.0.1 at 2013-08-24 12:38:12 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"141"} 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", "141"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 141 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 141  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 90 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 90 Rendered layouts/adherent/_header.html.haml (0.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 11ms (Views: 7.7ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 141 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 142 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 142 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", #], ["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 142], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:38:12 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" = 143 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 143 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", #], ["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 143], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/67/reglements/new" for 127.0.0.1 at 2013-08-24 12:38:12 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"67"} 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", "67"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 141 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 67  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 67 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 90  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 91  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 67 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 67 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 142 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 91 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 143 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 23ms (Views: 13.4ms | ActiveRecord: 3.0ms)  (0.3ms) 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", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:38:12 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" = 100) LIMIT 1 SQL (11.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", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 100], ["updated_at", Sat, 24 Aug 2013 10:38:12 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" = 100) 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", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 100], ["updated_at", Sat, 24 Aug 2013 10:38:12 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" = 100) 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", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 100], ["updated_at", Sat, 24 Aug 2013 10:38:12 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" = 144 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 144 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", #], ["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 144], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/144/payments/new" for 127.0.0.1 at 2013-08-24 12:38:12 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"144"} 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", "144"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 144 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 93 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 93 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (7.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 19ms (Views: 12.1ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/144/payments" for 127.0.0.1 at 2013-08-24 12:38:12 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"144"} 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", "144"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 144], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 144 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 144 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 93 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 93 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", 93], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["payment_id", 68], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/144/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/144/adhesions" for 127.0.0.1 at 2013-08-24 12:38:12 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"144"} 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", "144"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 144 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 144  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 93 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 93 Rendered layouts/adherent/_header.html.haml (5.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 16ms (Views: 12.2ms | ActiveRecord: 1.5ms) Adherent::Adhesion Load (3.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 144 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 93  (0.3ms) ROLLBACK  (0.1ms) BEGIN Organism Load (1.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (3.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:38:12 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" = 101) LIMIT 1 SQL (4.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", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 101], ["updated_at", Sat, 24 Aug 2013 10:38:12 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" = 'Adh001' AND "adherent_members"."organism_id" = 101) 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", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 101], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]]  (2.9ms) 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" = 101) 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", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 101], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 147 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 147 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", #], ["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 147], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/147/payments/new" for 127.0.0.1 at 2013-08-24 12:38:12 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"147"} 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", "147"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 147 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 94 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 94 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 16ms (Views: 10.5ms | ActiveRecord: 1.0ms) Started POST "/adherent/members/147/payments" for 127.0.0.1 at 2013-08-24 12:38:12 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"147"} 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", "147"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 147], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 147 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 147 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 94 CACHE (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 94 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", 94], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["payment_id", 69], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/147/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/147/adhesions" for 127.0.0.1 at 2013-08-24 12:38:12 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"147"} 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", "147"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 147 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 147  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 94 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 94 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: 1.5ms) Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 147 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69  (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", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:38:12 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" = 102) 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", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 102], ["updated_at", Sat, 24 Aug 2013 10:38:12 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" = 102) 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", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 102], ["updated_at", Sat, 24 Aug 2013 10:38:12 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" = 102) 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", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 102], ["updated_at", Sat, 24 Aug 2013 10:38:12 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.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 150 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 150 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", #], ["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 150], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/150/payments/new" for 127.0.0.1 at 2013-08-24 12:38:12 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"150"} Organism Load (0.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", "150"]] Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 150 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (57.0ms) 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 70ms (Views: 61.7ms | ActiveRecord: 2.4ms) Started POST "/adherent/members/150/payments" for 127.0.0.1 at 2013-08-24 12:38:12 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"150"} 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", "150"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 150], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 150 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 150 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 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", 95], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["payment_id", 70], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/150/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/150/adhesions" for 127.0.0.1 at 2013-08-24 12:38:12 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"150"} 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", "150"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 150 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 150  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 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.1ms | ActiveRecord: 1.3ms) Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 150 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:38:12 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" = 103) 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", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 103], ["updated_at", Sat, 24 Aug 2013 10:38:12 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" = 103) 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", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 103], ["updated_at", Sat, 24 Aug 2013 10:38:12 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" = 103) 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", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 103], ["updated_at", Sat, 24 Aug 2013 10:38:12 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" = 153 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 153 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", #], ["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 153], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/153/payments/new" for 127.0.0.1 at 2013-08-24 12:38:12 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"153"} 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", "153"]] Adherent::Adhesion Load (2.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 153 ORDER BY to_date  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.7ms) Rendered layouts/adherent/_header.html.haml (0.4ms) 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.4ms | ActiveRecord: 3.6ms) Started POST "/adherent/members/153/payments" for 127.0.0.1 at 2013-08-24 12:38:12 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"153"} 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", "153"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 153], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 153 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 153 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96 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", 96], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["payment_id", 71], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/153/adhesions Completed 302 Found in 15ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/153/adhesions" for 127.0.0.1 at 2013-08-24 12:38:12 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"153"} 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", "153"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 153 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 153  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96 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 15ms (Views: 10.0ms | ActiveRecord: 2.6ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 153 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:38:12 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" = 104) 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", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 104], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]]  (0.0ms) 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" = 104) 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", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 104], ["updated_at", Sat, 24 Aug 2013 10:38:12 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" = 104) 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", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 104], ["updated_at", Sat, 24 Aug 2013 10:38:12 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" = 156 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 156 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", #], ["created_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 156], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:38:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "adherent_reglements"  Started GET "/adherent/members/156/payments/new" for 127.0.0.1 at 2013-08-24 12:38:12 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"156"} 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", "156"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 156 ORDER BY to_date  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 97 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 97 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 18ms (Views: 9.2ms | ActiveRecord: 1.0ms) Started POST "/adherent/members/156/payments" for 127.0.0.1 at 2013-08-24 12:38:12 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"156"} 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", "156"]]  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:38:13 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 156], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:38:13 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 156 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 156 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 97 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 97 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", 97], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:38:13 UTC +00:00], ["payment_id", 72], ["updated_at", Sat, 24 Aug 2013 10:38:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/156/adhesions Completed 302 Found in 14ms (ActiveRecord: 3.3ms) Started GET "/adherent/members/156/adhesions" for 127.0.0.1 at 2013-08-24 12:38:13 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"156"} 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", "156"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 156 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 156  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 97 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 97 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 12ms (Views: 8.1ms | ActiveRecord: 1.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.2ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) 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", Sat, 24 Aug 2013 10:38:13 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:38:13 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" = 105) 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", Sat, 24 Aug 2013 10:38:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 105], ["updated_at", Sat, 24 Aug 2013 10:38:13 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" = 105) 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", Sat, 24 Aug 2013 10:38:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 105], ["updated_at", Sat, 24 Aug 2013 10:38:13 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" = 'Adh002' AND "adherent_members"."organism_id" = 105) 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", Sat, 24 Aug 2013 10:38:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 105], ["updated_at", Sat, 24 Aug 2013 10:38:13 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.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 159 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 159 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", #], ["created_at", Sat, 24 Aug 2013 10:38:13 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 159], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:38:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 159 Started GET "/adherent/members/159/payments/new" for 127.0.0.1 at 2013-08-24 12:38:13 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"159"} 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", "159"]] Adherent::Adhesion Load (1.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 159 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 98 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 98 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (7.3ms) 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 22ms (Views: 12.2ms | ActiveRecord: 2.5ms) Started POST "/adherent/members/159/payments" for 127.0.0.1 at 2013-08-24 12:38:13 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"159"} 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", "159"]]  (0.1ms) SAVEPOINT active_record_1 SQL (73.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:38:13 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 159], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:38:13 UTC +00:00]] Adherent::Member Load (1.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 159 LIMIT 1 Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 159 ORDER BY to_date  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 98 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 98 SQL (0.8ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 98], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:38:13 UTC +00:00], ["payment_id", 73], ["updated_at", Sat, 24 Aug 2013 10:38:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/159/adhesions Completed 302 Found in 103ms (ActiveRecord: 78.2ms) Started GET "/adherent/members/159/adhesions" for 127.0.0.1 at 2013-08-24 12:38:13 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"159"} 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", "159"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 159 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 159  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 98 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 98 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 19ms (Views: 13.2ms | ActiveRecord: 1.7ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 159  (4.4ms) ROLLBACK  (0.1ms) BEGIN Organism Load (2.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (4.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:38:13 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:38:13 UTC +00:00]]  (0.4ms) 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" = 106) 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", Sat, 24 Aug 2013 10:38:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 106], ["updated_at", Sat, 24 Aug 2013 10:38:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.6ms) 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" = 106) 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", Sat, 24 Aug 2013 10:38:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 106], ["updated_at", Sat, 24 Aug 2013 10:38:13 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" = 106) LIMIT 1 SQL (3.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", Sat, 24 Aug 2013 10:38:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 106], ["updated_at", Sat, 24 Aug 2013 10:38:13 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.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 162 Adherent::Adhesion Load (1.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 162 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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", #], ["created_at", Sat, 24 Aug 2013 10:38:13 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 162], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:38:13 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/162/payments/new" for 127.0.0.1 at 2013-08-24 12:38:13 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"162"} Organism Load (2.0ms) 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"."id" = $1 LIMIT 1 [["id", "162"]] Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 162 ORDER BY to_date  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 99 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 99 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (16.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 37ms (Views: 23.6ms | ActiveRecord: 4.6ms) Started POST "/adherent/members/162/payments" for 127.0.0.1 at 2013-08-24 12:38:13 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"162"} 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", "162"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:38:13 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 162], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:38:13 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 162 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 162 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 99 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 99 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", 99], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:38:13 UTC +00:00], ["payment_id", 74], ["updated_at", Sat, 24 Aug 2013 10:38:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/162/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/162/adhesions" for 127.0.0.1 at 2013-08-24 12:38:13 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"162"} 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", "162"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 162 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 162  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 99 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 99 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 11ms (Views: 7.3ms | ActiveRecord: 1.4ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 162 ORDER BY to_date  (5.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 99  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (3.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:40:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:40:20 UTC +00:00]]  (0.3ms) 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" = 107) 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", Sat, 24 Aug 2013 10:40:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 107], ["updated_at", Sat, 24 Aug 2013 10:40:20 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" = 107) 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", Sat, 24 Aug 2013 10:40:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 107], ["updated_at", Sat, 24 Aug 2013 10:40:20 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" = 107) 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", Sat, 24 Aug 2013 10:40:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 107], ["updated_at", Sat, 24 Aug 2013 10:40:20 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" = 165 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 165 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", #], ["created_at", Sat, 24 Aug 2013 10:40:20 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 165], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:40:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/165/payments/new" for 127.0.0.1 at 2013-08-24 12:40:20 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"165"} 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", "165"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 165 ORDER BY to_date  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 100 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 100 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (76.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (82.3ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.5ms) Completed 200 OK in 132ms (Views: 99.1ms | ActiveRecord: 6.7ms) Started POST "/adherent/members/165/payments" for 127.0.0.1 at 2013-08-24 12:40:21 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"165"} 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", "165"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 165], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]] Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 165 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 165 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 100 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 100 SQL (0.8ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 100], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["payment_id", 75], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/165/adhesions Completed 302 Found in 29ms (ActiveRecord: 4.5ms) Started GET "/adherent/members/165/adhesions" for 127.0.0.1 at 2013-08-24 12:40:21 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"165"} 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", "165"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 165 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 165  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 100 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 100 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (12.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 20ms (Views: 15.2ms | ActiveRecord: 1.5ms) Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 165 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 166 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 166 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 166], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:40:21 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" = 167 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 167 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", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 167], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/75/reglements/new" for 127.0.0.1 at 2013-08-24 12:40:21 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"75"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "75"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 165 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75 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" = 100  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 101  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 102 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 166 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 101 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 167 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 102 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (18.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/new.html.erb within layouts/adherent/application (22.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 39ms (Views: 24.8ms | ActiveRecord: 3.6ms)  (0.5ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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" = 108) 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", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 108], ["updated_at", Sat, 24 Aug 2013 10:40:21 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" = 'Adh001' AND "adherent_members"."organism_id" = 108) 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", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 108], ["updated_at", Sat, 24 Aug 2013 10:40:21 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" = 108) 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", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 108], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (1.2ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 168 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 168 ORDER BY to_date DESC LIMIT 1  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 168], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/168/payments/new" for 127.0.0.1 at 2013-08-24 12:40:21 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"168"} Organism Load (0.9ms) 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", "168"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 168 ORDER BY to_date  (1.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 103 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 103 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 19ms (Views: 9.4ms | ActiveRecord: 2.9ms) Started POST "/adherent/members/168/payments" for 127.0.0.1 at 2013-08-24 12:40:21 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"168"} 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", "168"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 168], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 168 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 168 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 103 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 103 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", 103], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["payment_id", 76], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/168/adhesions Completed 302 Found in 15ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/168/adhesions" for 127.0.0.1 at 2013-08-24 12:40:21 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"168"} 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", "168"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 168 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 168  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 103 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 103 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: 8.8ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 168 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 169 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 169 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", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 169], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:40:21 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" = 170 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 170 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", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 170], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/76/reglements/new" for 127.0.0.1 at 2013-08-24 12:40:21 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"76"} 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", "76"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 168 LIMIT 1 Adherent::Reglement Load (0.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 76  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 76 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" = 103  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 104  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 105 Adherent::Reglement Load (0.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 76 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 76 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 169 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 104 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 170 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 105 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.9ms) 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 25ms (Views: 13.1ms | ActiveRecord: 4.0ms)  (0.4ms) 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 (0.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:40:21 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" = 109) 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", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 109], ["updated_at", Sat, 24 Aug 2013 10:40:21 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" = 109) 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", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 109], ["updated_at", Sat, 24 Aug 2013 10:40:21 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" = 109) 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", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 109], ["updated_at", Sat, 24 Aug 2013 10:40:21 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" = 171 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 171 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", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 171], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/171/payments/new" for 127.0.0.1 at 2013-08-24 12:40:21 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"171"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "171"]] Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 171 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 106 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 106 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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 18ms (Views: 9.0ms | ActiveRecord: 2.1ms) Started POST "/adherent/members/171/payments" for 127.0.0.1 at 2013-08-24 12:40:21 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"171"} 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", "171"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 171], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 171 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 171 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 106 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 106 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", 106], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["payment_id", 77], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/171/adhesions Completed 302 Found in 13ms (ActiveRecord: 3.5ms) Started GET "/adherent/members/171/adhesions" for 127.0.0.1 at 2013-08-24 12:40:21 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"171"} 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", "171"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 171 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 171  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 106 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 106 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.7ms) Completed 200 OK in 12ms (Views: 8.3ms | ActiveRecord: 1.3ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 171 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 172 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 172 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 172], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:40:21 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" = 173 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 173 ORDER BY to_date DESC LIMIT 1  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 173], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/77/reglements/new" for 127.0.0.1 at 2013-08-24 12:40:21 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"77"} 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", "77"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 171 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 77  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 77 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" = 106  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 107  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 108 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 77 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 77 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 172 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 107 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 173 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 108 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 23ms (Views: 12.8ms | ActiveRecord: 3.4ms)  (0.4ms) 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 (1.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:40:21 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" = 110) 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", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 110], ["updated_at", Sat, 24 Aug 2013 10:40:21 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" = 110) 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", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 110], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]]  (0.0ms) 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" = 110) 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", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 110], ["updated_at", Sat, 24 Aug 2013 10:40:21 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" = 174 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 174 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", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 174], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/174/payments/new" for 127.0.0.1 at 2013-08-24 12:40:21 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"174"} 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", "174"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 174 ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 109 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 109 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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 21ms (Views: 10.2ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/174/payments" for 127.0.0.1 at 2013-08-24 12:40:21 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"174"} 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", "174"]]  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 174], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 174 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 174 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 109 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 109 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", 109], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["payment_id", 78], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/174/adhesions Completed 302 Found in 14ms (ActiveRecord: 3.2ms) Started GET "/adherent/members/174/adhesions" for 127.0.0.1 at 2013-08-24 12:40:21 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"174"} 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", "174"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 174 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 174  (1.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 109 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 109 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: 13.6ms | ActiveRecord: 2.8ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 174 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 175 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 175 ORDER BY to_date DESC LIMIT 1  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 175], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:40:21 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" = 176 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 176 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", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 176], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/78/reglements/new" for 127.0.0.1 at 2013-08-24 12:40:21 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"78"} 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", "78"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 174 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 78  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 78 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" = 109  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 110  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 111 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 78 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 78 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 175 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 110 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 176 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 111 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 24ms (Views: 13.5ms | ActiveRecord: 2.8ms)  (0.7ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) 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", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:40:21 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" = 111) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 111], ["updated_at", Sat, 24 Aug 2013 10:40:21 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" = 111) 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", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 111], ["updated_at", Sat, 24 Aug 2013 10:40:21 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" = 111) 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", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 111], ["updated_at", Sat, 24 Aug 2013 10:40:21 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 177 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 177 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", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 177], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/177/payments/new" for 127.0.0.1 at 2013-08-24 12:40:21 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"177"} 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", "177"]] Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 177 ORDER BY to_date  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 112 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 112 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.1ms | ActiveRecord: 2.4ms) Started POST "/adherent/members/177/payments" for 127.0.0.1 at 2013-08-24 12:40:21 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"177"} 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", "177"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 177], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 177 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 177 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 112 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 112 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", 112], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["payment_id", 79], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/177/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/177/adhesions" for 127.0.0.1 at 2013-08-24 12:40:21 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"177"} 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", "177"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 177 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 177  (4.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 112 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 112 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 68ms (Views: 58.4ms | ActiveRecord: 6.0ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 177 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 112  (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", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:40:21 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" = 112) 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", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 112], ["updated_at", Sat, 24 Aug 2013 10:40:21 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" = 112) 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", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 112], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 112) 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", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 112], ["updated_at", Sat, 24 Aug 2013 10:40:21 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" = 180 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 180 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", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 180], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/180/payments/new" for 127.0.0.1 at 2013-08-24 12:40:21 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"180"} Organism Load (0.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", "180"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 180 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 113 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 113 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 21ms (Views: 9.9ms | ActiveRecord: 2.1ms) Started POST "/adherent/members/180/payments" for 127.0.0.1 at 2013-08-24 12:40:21 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"180"} Organism Load (0.0ms) 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", "180"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 180], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 180 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 180 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 113 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 113 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", 113], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["payment_id", 80], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/180/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.0ms) Started GET "/adherent/members/180/adhesions" for 127.0.0.1 at 2013-08-24 12:40:21 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"180"} 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", "180"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 180 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 180  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 113 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 113 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 14ms (Views: 8.3ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 180 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 80  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 80  (0.4ms) ROLLBACK  (0.7ms) 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", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:40:21 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" = 113) 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", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 113], ["updated_at", Sat, 24 Aug 2013 10:40:21 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" = 'Adh001' AND "adherent_members"."organism_id" = 113) 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", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 113], ["updated_at", Sat, 24 Aug 2013 10:40:21 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" = 113) 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", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 113], ["updated_at", Sat, 24 Aug 2013 10:40:21 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" = 183 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 183 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", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 183], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/183/payments/new" for 127.0.0.1 at 2013-08-24 12:40:21 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"183"} 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", "183"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 183 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 114 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 114 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 19ms (Views: 9.7ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/183/payments" for 127.0.0.1 at 2013-08-24 12:40:21 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"183"} 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", "183"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 183], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]] Adherent::Member Load (1.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 183 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 183 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 114 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 114 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", 114], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["payment_id", 81], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/183/adhesions Completed 302 Found in 13ms (ActiveRecord: 3.6ms) Started GET "/adherent/members/183/adhesions" for 127.0.0.1 at 2013-08-24 12:40:21 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"183"} 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", "183"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 183 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 183  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 114 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 114 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 13ms (Views: 7.6ms | ActiveRecord: 1.5ms) Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 183 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 114  (0.1ms) ROLLBACK  (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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:40:21 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" = 114) 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", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 114], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 114) 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", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 114], ["updated_at", Sat, 24 Aug 2013 10:40:21 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" = 114) 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", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 114], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]]  (0.0ms) 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" = 186 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 186 ORDER BY to_date DESC LIMIT 1  (0.9ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 186], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "adherent_reglements" Started GET "/adherent/members/186/payments/new" for 127.0.0.1 at 2013-08-24 12:40:21 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"186"} 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", "186"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 186 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 115 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 115 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 16ms (Views: 9.0ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/186/payments" for 127.0.0.1 at 2013-08-24 12:40:21 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"186"} Organism Load (0.8ms) 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", "186"]]  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 186], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 186 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 186 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 115 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 115 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", 115], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00], ["payment_id", 82], ["updated_at", Sat, 24 Aug 2013 10:40:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/186/adhesions Completed 302 Found in 14ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/186/adhesions" for 127.0.0.1 at 2013-08-24 12:40:21 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"186"} Organism Load (0.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", "186"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 186 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 186  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 115 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 115 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: 7.8ms | ActiveRecord: 1.7ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"  (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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:40:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:40:22 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" = 115) 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", Sat, 24 Aug 2013 10:40:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 115], ["updated_at", Sat, 24 Aug 2013 10:40:22 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" = 115) 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", Sat, 24 Aug 2013 10:40:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 115], ["updated_at", Sat, 24 Aug 2013 10:40:22 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" = 115) 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", Sat, 24 Aug 2013 10:40:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 115], ["updated_at", Sat, 24 Aug 2013 10:40:22 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" = 189 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 189 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", #], ["created_at", Sat, 24 Aug 2013 10:40:22 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 189], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:40:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 189 Started GET "/adherent/members/189/payments/new" for 127.0.0.1 at 2013-08-24 12:40:22 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"189"} Organism Load (1.9ms) 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", "189"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 189 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 116 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 116 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.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 18ms (Views: 9.8ms | ActiveRecord: 2.7ms) Started POST "/adherent/members/189/payments" for 127.0.0.1 at 2013-08-24 12:40:22 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"189"} 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", "189"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:40:22 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 189], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:40:22 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 189 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 189 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 116 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 116 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", 116], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:40:22 UTC +00:00], ["payment_id", 83], ["updated_at", Sat, 24 Aug 2013 10:40:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/189/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/189/adhesions" for 127.0.0.1 at 2013-08-24 12:40:22 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"189"} 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", "189"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 189 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 189  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 116 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 116 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 12ms (Views: 8.2ms | ActiveRecord: 1.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 189  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:40:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:40:22 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" = 116) 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", Sat, 24 Aug 2013 10:40:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 116], ["updated_at", Sat, 24 Aug 2013 10:40:22 UTC +00:00]]  (0.0ms) 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" = 116) 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", Sat, 24 Aug 2013 10:40:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 116], ["updated_at", Sat, 24 Aug 2013 10:40:22 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" = 'Adh002' AND "adherent_members"."organism_id" = 116) 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", Sat, 24 Aug 2013 10:40:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 116], ["updated_at", Sat, 24 Aug 2013 10:40:22 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" = 192 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 192 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", #], ["created_at", Sat, 24 Aug 2013 10:40:22 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 192], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:40:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/192/payments/new" for 127.0.0.1 at 2013-08-24 12:40:22 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"192"} 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", "192"]] Adherent::Adhesion Load (4.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 192 ORDER BY to_date  (2.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 117 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 117 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (13.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 35ms (Views: 19.7ms | ActiveRecord: 7.2ms) Started POST "/adherent/members/192/payments" for 127.0.0.1 at 2013-08-24 12:40:22 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"192"} 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", "192"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:40:22 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 192], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:40:22 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 192 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 192 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 117 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 117 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", 117], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:40:22 UTC +00:00], ["payment_id", 84], ["updated_at", Sat, 24 Aug 2013 10:40:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/192/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/192/adhesions" for 127.0.0.1 at 2013-08-24 12:40:22 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"192"} 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", "192"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 192 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 192  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 117 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 117 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.4ms) Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 192 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 117  (0.2ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.0ms) 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", Sat, 24 Aug 2013 10:40:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:40:22 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" = 117) 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", Sat, 24 Aug 2013 10:40:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 117], ["updated_at", Sat, 24 Aug 2013 10:40:22 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" = 117) 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", Sat, 24 Aug 2013 10:40:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 117], ["updated_at", Sat, 24 Aug 2013 10:40:22 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" = 'Adh002' AND "adherent_members"."organism_id" = 117) 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", Sat, 24 Aug 2013 10:40:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 117], ["updated_at", Sat, 24 Aug 2013 10:40:22 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 195 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 195 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", #], ["created_at", Sat, 24 Aug 2013 10:40:22 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 195], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:40:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/195/payments/new" for 127.0.0.1 at 2013-08-24 12:40:22 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"195"} Organism Load (0.7ms) 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", "195"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 195 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 118 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 118 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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 18ms (Views: 9.7ms | ActiveRecord: 1.6ms) Started POST "/adherent/members/195/payments" for 127.0.0.1 at 2013-08-24 12:40:22 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"195"} Organism Load (0.4ms) 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"."id" = $1 LIMIT 1 [["id", "195"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:40:22 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 195], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:40:22 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 195 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 195 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 118 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 118 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", 118], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:40:22 UTC +00:00], ["payment_id", 85], ["updated_at", Sat, 24 Aug 2013 10:40:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/195/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/195/adhesions" for 127.0.0.1 at 2013-08-24 12:40:22 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"195"} 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", "195"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 195 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 195  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 118 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 118 Rendered layouts/adherent/_header.html.haml (1.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 13ms (Views: 8.7ms | ActiveRecord: 1.7ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 195 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 118  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 118  (0.0ms) 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.2ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:43:13 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:43:13 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" = 118) 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", Sat, 24 Aug 2013 10:43:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 118], ["updated_at", Sat, 24 Aug 2013 10:43:13 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" = 118) 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", Sat, 24 Aug 2013 10:43:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 118], ["updated_at", Sat, 24 Aug 2013 10:43:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 118) 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", Sat, 24 Aug 2013 10:43:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 118], ["updated_at", Sat, 24 Aug 2013 10:43:13 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.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 198 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 198 ORDER BY to_date DESC LIMIT 1  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:43:13 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 198], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/198/payments/new" for 127.0.0.1 at 2013-08-24 12:43:14 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"198"} Organism Load (0.4ms) 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"."id" = $1 LIMIT 1 [["id", "198"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 198 ORDER BY to_date  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 119 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 119 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (78.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (82.3ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.2ms) Completed 200 OK in 126ms (Views: 98.0ms | ActiveRecord: 5.9ms) Started POST "/adherent/members/198/payments" for 127.0.0.1 at 2013-08-24 12:43:14 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"198"} Organism Load (0.8ms) 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", "198"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 198], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 198 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 198 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 119 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 119 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 119], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["payment_id", 86], ["updated_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/198/adhesions Completed 302 Found in 28ms (ActiveRecord: 3.8ms) Started GET "/adherent/members/198/adhesions" for 127.0.0.1 at 2013-08-24 12:43:14 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"198"} 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", "198"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 198 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 198  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 119 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 119 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (11.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 19ms (Views: 14.6ms | ActiveRecord: 1.5ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 198 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 119  (0.2ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) 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", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:43:14 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" = 'Adh000' AND "adherent_members"."organism_id" = 119) 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", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 119], ["updated_at", Sat, 24 Aug 2013 10:43:14 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" = 119) 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", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 119], ["updated_at", Sat, 24 Aug 2013 10:43:14 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" = 'Adh002' AND "adherent_members"."organism_id" = 119) 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", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 119], ["updated_at", Sat, 24 Aug 2013 10:43:14 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" = 201 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 201 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 201], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/201/payments/new" for 127.0.0.1 at 2013-08-24 12:43:14 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"201"} 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", "201"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 201 ORDER BY to_date  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 120 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 120 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 19ms (Views: 9.5ms | ActiveRecord: 1.7ms) Started POST "/adherent/members/201/payments" for 127.0.0.1 at 2013-08-24 12:43:14 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"201"} 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", "201"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 201], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 201 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 201 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 120 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 120 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", 120], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["payment_id", 87], ["updated_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/201/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/201/adhesions" for 127.0.0.1 at 2013-08-24 12:43:14 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"201"} Organism Load (0.8ms) 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", "201"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 201 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 201  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 120 CACHE (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 120 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 14ms (Views: 8.4ms | ActiveRecord: 1.9ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 201 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 120  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 120  (0.3ms) 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", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:43:14 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" = 120) 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", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 120], ["updated_at", Sat, 24 Aug 2013 10:43:14 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" = 'Adh001' AND "adherent_members"."organism_id" = 120) 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", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 120], ["updated_at", Sat, 24 Aug 2013 10:43:14 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" = 120) 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", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 120], ["updated_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00]]  (0.2ms) 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" = 204 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 204 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", #], ["created_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 204], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/204/payments/new" for 127.0.0.1 at 2013-08-24 12:43:14 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"204"} 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", "204"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 204 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 121 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 121 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.3ms) 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 19ms (Views: 10.2ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/204/payments" for 127.0.0.1 at 2013-08-24 12:43:14 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"204"} 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", "204"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 204], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 204 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 204 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 121 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 121 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", 121], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["payment_id", 88], ["updated_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/204/adhesions Completed 302 Found in 16ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/204/adhesions" for 127.0.0.1 at 2013-08-24 12:43:14 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"204"} 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", "204"]]  (0.7ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 204 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 204  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 121 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 121 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: 7.1ms | ActiveRecord: 1.7ms) Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 204 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 205 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 205 ORDER BY to_date DESC LIMIT 1  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 205], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:14 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" = 206 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 206 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 206], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/88/reglements/new" for 127.0.0.1 at 2013-08-24 12:43:14 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"88"} 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", "88"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 204 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 88  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 88 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" = 121  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 122  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 123 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 88 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 88 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 205 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 122 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 206 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 123 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (17.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 40ms (Views: 25.5ms | ActiveRecord: 3.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.1ms) 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", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:43:14 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" = 121) 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", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 121], ["updated_at", Sat, 24 Aug 2013 10:43:14 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" = 121) 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", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 121], ["updated_at", Sat, 24 Aug 2013 10:43:14 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" = 121) 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", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 121], ["updated_at", Sat, 24 Aug 2013 10:43:14 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" = 207 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 207 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", #], ["created_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 207], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/207/payments/new" for 127.0.0.1 at 2013-08-24 12:43:14 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"207"} 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", "207"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 207 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 124 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 124 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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 19ms (Views: 9.6ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/207/payments" for 127.0.0.1 at 2013-08-24 12:43:14 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"207"} 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", "207"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 207], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 207 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 207 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 124 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 124 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", 124], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["payment_id", 89], ["updated_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/207/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/207/adhesions" for 127.0.0.1 at 2013-08-24 12:43:14 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"207"} Organism Load (0.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", "207"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 207 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 207  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 124 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 124 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 11ms (Views: 8.0ms | ActiveRecord: 1.0ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 207 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 208 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 208 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", #], ["created_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 208], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:14 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" = 209 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 209 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", #], ["created_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 209], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/89/reglements/new" for 127.0.0.1 at 2013-08-24 12:43:14 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"89"} 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", "89"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 207 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 89  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 89 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" = 124  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 125  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 126 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 89 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 89 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 208 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 125 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 209 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 126 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 23ms (Views: 14.1ms | ActiveRecord: 2.9ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN 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", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:43:14 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" = 'Adh000' AND "adherent_members"."organism_id" = 122) 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", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 122], ["updated_at", Sat, 24 Aug 2013 10:43:14 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" = 122) 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", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 122], ["updated_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (5.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 122) 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", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 122], ["updated_at", Sat, 24 Aug 2013 10:43:14 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" = 210 Adherent::Adhesion Load (1.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 210 ORDER BY to_date DESC LIMIT 1  (2.3ms) SAVEPOINT active_record_1 SQL (4.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", #], ["created_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 210], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/210/payments/new" for 127.0.0.1 at 2013-08-24 12:43:14 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"210"} 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", "210"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 210 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 127 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 127 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (7.6ms) 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 26ms (Views: 12.5ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/210/payments" for 127.0.0.1 at 2013-08-24 12:43:14 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"210"} 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", "210"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 210], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 210 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 210 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 127 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 127 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", 127], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["payment_id", 90], ["updated_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/210/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/210/adhesions" for 127.0.0.1 at 2013-08-24 12:43:14 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"210"} 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", "210"]]  (1.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 210 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 210  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 127 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 127 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: 11.8ms | ActiveRecord: 2.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 210 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 211 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 211 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", #], ["created_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 211], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:14 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" = 212 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 212 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", #], ["created_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 212], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/90/reglements/new" for 127.0.0.1 at 2013-08-24 12:43:14 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"90"} 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", "90"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 210 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 90  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 90 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 127  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 128  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 129 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 90 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 90 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 211 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 128 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 212 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 129 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 (1.1ms) Completed 200 OK in 24ms (Views: 13.7ms | ActiveRecord: 4.1ms)  (0.3ms) 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 (0.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:43:14 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" = 123) 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", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 123], ["updated_at", Sat, 24 Aug 2013 10:43:14 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" = 123) 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", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 123], ["updated_at", Sat, 24 Aug 2013 10:43:14 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" = 123) 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", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 123], ["updated_at", Sat, 24 Aug 2013 10:43:14 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" = 213 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 213 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", #], ["created_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 213], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/213/payments/new" for 127.0.0.1 at 2013-08-24 12:43:14 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"213"} 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", "213"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 213 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 130 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 130 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (57.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 71ms (Views: 60.6ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/213/payments" for 127.0.0.1 at 2013-08-24 12:43:14 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"213"} 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", "213"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 213], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 213 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 213 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 130 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 130 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", 130], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["payment_id", 91], ["updated_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/213/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/213/adhesions" for 127.0.0.1 at 2013-08-24 12:43:14 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"213"} 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", "213"]]  (1.1ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 213 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 213  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 130 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 130 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: 8.7ms | ActiveRecord: 2.0ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 213 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 214 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 214 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", #], ["created_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 214], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:14 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" = 215 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 215 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", #], ["created_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 215], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/91/reglements/new" for 127.0.0.1 at 2013-08-24 12:43:14 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"91"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "91"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 213 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 91  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 91 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" = 130  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 131  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 132 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 91 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 91 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 214 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 131 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 215 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 132 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 24ms (Views: 13.1ms | ActiveRecord: 3.2ms) Started POST "/adherent/payments/91/reglements" for 127.0.0.1 at 2013-08-24 12:43:14 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"131"}, "commit"=>"Enregistrer", "payment_id"=>"91"} 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", "91"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "131"]]  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 131  (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", 131], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:43:14 UTC +00:00], ["payment_id", 91], ["updated_at", Sat, 24 Aug 2013 10:43:14 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" = 213 LIMIT 1 Redirected to http://www.example.com/adherent/members/213/payments Completed 302 Found in 10ms (ActiveRecord: 2.1ms) Started GET "/adherent/members/213/payments" for 127.0.0.1 at 2013-08-24 12:43:14 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"213"} 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", "213"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 213 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 91 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 131 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 214 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 130 LIMIT 1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 213 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 91  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 91 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 91 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 91 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 29ms (Views: 23.6ms | ActiveRecord: 3.1ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:43:15 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" = 'Adh000' AND "adherent_members"."organism_id" = 124) 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", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 124], ["updated_at", Sat, 24 Aug 2013 10:43:15 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" = 124) 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", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 124], ["updated_at", Sat, 24 Aug 2013 10:43:15 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" = 124) 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", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 124], ["updated_at", Sat, 24 Aug 2013 10:43: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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 216 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 216 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", #], ["created_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 216], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/216/payments/new" for 127.0.0.1 at 2013-08-24 12:43:15 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"216"} Organism Load (0.8ms) 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", "216"]] Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 216 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 133 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 133 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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 18ms (Views: 9.3ms | ActiveRecord: 2.0ms) Started POST "/adherent/members/216/payments" for 127.0.0.1 at 2013-08-24 12:43:15 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"216"} 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", "216"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 216], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 216 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 216 ORDER BY to_date  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 133 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 133 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", 133], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["payment_id", 92], ["updated_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/216/adhesions Completed 302 Found in 14ms (ActiveRecord: 3.9ms) Started GET "/adherent/members/216/adhesions" for 127.0.0.1 at 2013-08-24 12:43:15 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"216"} 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", "216"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 216 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 216  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 133 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 133 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 11ms (Views: 7.9ms | ActiveRecord: 1.3ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 216 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 133  (0.8ms) 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 (1.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:43:15 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" = 125) 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", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 125], ["updated_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00]]  (0.0ms) 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" = 125) 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", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 125], ["updated_at", Sat, 24 Aug 2013 10:43:15 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" = 125) 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", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 125], ["updated_at", Sat, 24 Aug 2013 10:43:15 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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 219 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 219 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", #], ["created_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 219], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/219/payments/new" for 127.0.0.1 at 2013-08-24 12:43:15 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"219"} 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", "219"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 219 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 134 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 134 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 17ms (Views: 8.3ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/219/payments" for 127.0.0.1 at 2013-08-24 12:43:15 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"219"} 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", "219"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 219], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 219 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 219 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 134 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 134 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", 134], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["payment_id", 93], ["updated_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/219/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/219/adhesions" for 127.0.0.1 at 2013-08-24 12:43:15 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"219"} 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", "219"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 219 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 219  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 134 CACHE (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 134 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: 1.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 219 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 93  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 93  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.2ms) 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", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:43:15 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" = 126) 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", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 126], ["updated_at", Sat, 24 Aug 2013 10:43:15 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" = 126) 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", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 126], ["updated_at", Sat, 24 Aug 2013 10:43:15 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" = 126) 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", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 126], ["updated_at", Sat, 24 Aug 2013 10:43:15 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" = 222 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 222 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", #], ["created_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 222], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 222 Started GET "/adherent/members/222/payments/new" for 127.0.0.1 at 2013-08-24 12:43:15 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"222"} Organism Load (0.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", "222"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 222 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 135 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 135 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 18ms (Views: 8.8ms | ActiveRecord: 1.6ms) Started POST "/adherent/members/222/payments" for 127.0.0.1 at 2013-08-24 12:43:15 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"222"} Organism Load (1.0ms) 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", "222"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 222], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 222 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 222 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 135 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 135 SQL (4.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 135], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["payment_id", 94], ["updated_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/222/adhesions Completed 302 Found in 17ms (ActiveRecord: 7.2ms) Started GET "/adherent/members/222/adhesions" for 127.0.0.1 at 2013-08-24 12:43:15 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"222"} Organism Load (1.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", "222"]]  (0.1ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 222 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 222  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 135 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 135 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 14ms (Views: 7.4ms | ActiveRecord: 2.2ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 222  (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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:43:15 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" = 127) 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", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 127], ["updated_at", Sat, 24 Aug 2013 10:43:15 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" = 127) 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", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 127], ["updated_at", Sat, 24 Aug 2013 10:43:15 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" = 'Adh002' AND "adherent_members"."organism_id" = 127) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 127], ["updated_at", Sat, 24 Aug 2013 10:43: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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 225 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 225 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", #], ["created_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 225], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/225/payments/new" for 127.0.0.1 at 2013-08-24 12:43:15 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"225"} 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", "225"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 225 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 136 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 136 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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 16ms (Views: 8.3ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/225/payments" for 127.0.0.1 at 2013-08-24 12:43:15 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"225"} 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", "225"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 225], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 225 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 225 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 136 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 136 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", 136], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["payment_id", 95], ["updated_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/225/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/225/adhesions" for 127.0.0.1 at 2013-08-24 12:43:15 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"225"} 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", "225"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 225 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 225  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 136 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 136 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 10ms (Views: 6.8ms | ActiveRecord: 1.4ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 225 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 136  (0.2ms) 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", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:43:15 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" = 128) 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", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 128], ["updated_at", Sat, 24 Aug 2013 10:43:15 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" = 128) 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", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 128], ["updated_at", Sat, 24 Aug 2013 10:43:15 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" = 128) 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", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 128], ["updated_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00]]  (0.0ms) 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" = 228 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 228 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", #], ["created_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 228], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements" Started GET "/adherent/members/228/payments/new" for 127.0.0.1 at 2013-08-24 12:43:15 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"228"} 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", "228"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 228 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 137 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 137 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 17ms (Views: 8.3ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/228/payments" for 127.0.0.1 at 2013-08-24 12:43:15 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"228"} 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", "228"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 228], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 228 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 228 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 137 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 137 SQL (0.0ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 137], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00], ["payment_id", 96], ["updated_at", Sat, 24 Aug 2013 10:43:15 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/228/adhesions Completed 302 Found in 12ms (ActiveRecord: 2.0ms) Started GET "/adherent/members/228/adhesions" for 127.0.0.1 at 2013-08-24 12:43:15 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"228"} 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", "228"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 228 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 228  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 137 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 137 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 11ms (Views: 7.6ms | ActiveRecord: 1.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (1.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (5.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:43:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:43:51 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" = 'Adh000' AND "adherent_members"."organism_id" = 129) 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", Sat, 24 Aug 2013 10:43:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 129], ["updated_at", Sat, 24 Aug 2013 10:43:51 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" = 'Adh001' AND "adherent_members"."organism_id" = 129) 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", Sat, 24 Aug 2013 10:43:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 129], ["updated_at", Sat, 24 Aug 2013 10:43:51 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" = 'Adh002' AND "adherent_members"."organism_id" = 129) 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", Sat, 24 Aug 2013 10:43:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 129], ["updated_at", Sat, 24 Aug 2013 10:43:51 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" = 231 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 231 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (2.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:43:51 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 231], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 231 Started GET "/adherent/members/231/payments/new" for 127.0.0.1 at 2013-08-24 12:43:52 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"231"} 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", "231"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 231 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 138 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 138 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (30.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (79.2ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.5ms) Completed 200 OK in 117ms (Views: 95.5ms | ActiveRecord: 2.9ms) Started POST "/adherent/members/231/payments" for 127.0.0.1 at 2013-08-24 12:43:52 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"231"} 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", "231"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 231], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 231 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 231 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 138 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 138 SQL (0.8ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 138], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["payment_id", 97], ["updated_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/231/adhesions Completed 302 Found in 29ms (ActiveRecord: 3.3ms) Started GET "/adherent/members/231/adhesions" for 127.0.0.1 at 2013-08-24 12:43:52 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"231"} 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", "231"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 231 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 231  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 138 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 138 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (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.1ms) Completed 200 OK in 20ms (Views: 15.1ms | ActiveRecord: 1.5ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 231  (0.2ms) 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", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:43:52 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" = 130) 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", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 130], ["updated_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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" = 130) 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", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 130], ["updated_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00]]  (0.9ms) 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" = 130) 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", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 130], ["updated_at", Sat, 24 Aug 2013 10:43:52 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" = 234 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 234 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", #], ["created_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 234], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/234/payments/new" for 127.0.0.1 at 2013-08-24 12:43:52 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"234"} Organism Load (0.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "234"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 234 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 139 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 139 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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 19ms (Views: 9.2ms | ActiveRecord: 2.4ms) Started POST "/adherent/members/234/payments" for 127.0.0.1 at 2013-08-24 12:43:52 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"234"} 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", "234"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 234], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 234 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 234 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 139 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 139 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", 139], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["payment_id", 98], ["updated_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/234/adhesions Completed 302 Found in 12ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/234/adhesions" for 127.0.0.1 at 2013-08-24 12:43:52 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"234"} Organism Load (0.8ms) 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", "234"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 234 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 234  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 139 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 139 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 14ms (Views: 9.4ms | ActiveRecord: 1.9ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 234 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 139  (0.3ms) ROLLBACK  (0.0ms) BEGIN 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", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:43:52 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" = 131) 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", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 131], ["updated_at", Sat, 24 Aug 2013 10:43:52 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" = 131) 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", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 131], ["updated_at", Sat, 24 Aug 2013 10:43:52 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" = 131) 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", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 131], ["updated_at", Sat, 24 Aug 2013 10:43:52 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" = 237 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 237 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", #], ["created_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 237], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements" Started GET "/adherent/members/237/payments/new" for 127.0.0.1 at 2013-08-24 12:43:52 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"237"} 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", "237"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 237 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 140 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 140 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 18ms (Views: 9.6ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/237/payments" for 127.0.0.1 at 2013-08-24 12:43:52 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"237"} 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", "237"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 237], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 237 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 237 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 140 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 140 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", 140], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["payment_id", 99], ["updated_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/237/adhesions Completed 302 Found in 16ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/237/adhesions" for 127.0.0.1 at 2013-08-24 12:43:52 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"237"} 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", "237"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 237 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 237  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 140 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 140 Rendered layouts/adherent/_header.html.haml (0.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 12ms (Views: 7.9ms | ActiveRecord: 1.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.1ms) ROLLBACK  (0.2ms) BEGIN Organism Load (0.3ms) 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", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:43:52 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" = 132) 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", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 132], ["updated_at", Sat, 24 Aug 2013 10:43:52 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" = 'Adh001' AND "adherent_members"."organism_id" = 132) 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", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 132], ["updated_at", Sat, 24 Aug 2013 10:43:52 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" = 132) 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", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 132], ["updated_at", Sat, 24 Aug 2013 10:43:52 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" = 240 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 240 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", #], ["created_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 240], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/240/payments/new" for 127.0.0.1 at 2013-08-24 12:43:52 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"240"} Organism Load (0.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", "240"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 240 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 141 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 141 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 16ms (Views: 9.5ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/240/payments" for 127.0.0.1 at 2013-08-24 12:43:52 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"240"} 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", "240"]]  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 240], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 240 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 240 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 141 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 141 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 141], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["payment_id", 100], ["updated_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/240/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/240/adhesions" for 127.0.0.1 at 2013-08-24 12:43:52 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"240"} 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", "240"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 240 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 240  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 141 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 141 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: 6.8ms | ActiveRecord: 1.9ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 240 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 241 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 241 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", #], ["created_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 241], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:52 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" = 242 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 242 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", #], ["created_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 242], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/100/reglements/new" for 127.0.0.1 at 2013-08-24 12:43:52 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"100"} Organism Load (0.4ms) 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", "100"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 240 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 100  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 100 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" = 141  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 142  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 143 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 100 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 100 Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 241 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 142 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 242 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 143 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (19.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 42ms (Views: 25.7ms | ActiveRecord: 4.3ms)  (0.4ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:43:52 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" = 133) 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", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 133], ["updated_at", Sat, 24 Aug 2013 10:43:52 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" = 'Adh001' AND "adherent_members"."organism_id" = 133) 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", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 133], ["updated_at", Sat, 24 Aug 2013 10:43:52 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" = 133) 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", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 133], ["updated_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 243 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 243 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", #], ["created_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 243], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/243/payments/new" for 127.0.0.1 at 2013-08-24 12:43:52 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"243"} 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", "243"]] Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 243 ORDER BY to_date  (1.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 144 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 144 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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 18ms (Views: 9.6ms | ActiveRecord: 2.8ms) Started POST "/adherent/members/243/payments" for 127.0.0.1 at 2013-08-24 12:43:52 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"243"} 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", "243"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 243], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 243 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 243 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 144 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 144 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", 144], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["payment_id", 101], ["updated_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/243/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/243/adhesions" for 127.0.0.1 at 2013-08-24 12:43:52 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"243"} 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", "243"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 243 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 243  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 144 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 144 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 12ms (Views: 8.1ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 243 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 244 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 244 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", #], ["created_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 244], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:52 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" = 245 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 245 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", #], ["created_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 245], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/101/reglements/new" for 127.0.0.1 at 2013-08-24 12:43:52 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"101"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (4.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "101"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 243 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 101  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 101 Adherent::Adhesion Load (2.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 144  (6.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 145  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 146 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 101 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 101 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 244 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 145 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 245 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 146 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (10.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 37ms (Views: 14.2ms | ActiveRecord: 15.0ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:43:52 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" = 134) 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", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 134], ["updated_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00]]  (0.0ms) 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" = 'Adh001' AND "adherent_members"."organism_id" = 134) 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", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 134], ["updated_at", Sat, 24 Aug 2013 10:43:52 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" = 134) 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", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 134], ["updated_at", Sat, 24 Aug 2013 10:43:52 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" = 246 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 246 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", #], ["created_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 246], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/246/payments/new" for 127.0.0.1 at 2013-08-24 12:43:52 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"246"} 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", "246"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 246 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 147 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 147 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 24ms (Views: 10.7ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/246/payments" for 127.0.0.1 at 2013-08-24 12:43:52 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"246"} Organism Load (1.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", "246"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 246], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 246 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 246 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 147 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 147 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", 147], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["payment_id", 102], ["updated_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/246/adhesions Completed 302 Found in 14ms (ActiveRecord: 3.9ms) Started GET "/adherent/members/246/adhesions" for 127.0.0.1 at 2013-08-24 12:43:52 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"246"} 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", "246"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 246 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 246  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 147 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 147 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 13ms (Views: 7.5ms | ActiveRecord: 1.5ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 246 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 247 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 247 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", #], ["created_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 247], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:52 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" = 248 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 248 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", #], ["created_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 248], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/102/reglements/new" for 127.0.0.1 at 2013-08-24 12:43:52 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"102"} 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", "102"]] Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 246 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 102  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 102 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" = 147  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 148  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 149 Adherent::Reglement Load (1.9ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 102 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 102 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 247 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 148 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 248 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 149 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (10.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 29ms (Views: 14.8ms | ActiveRecord: 5.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.1ms) 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", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:43:52 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" = 135) 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", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 135], ["updated_at", Sat, 24 Aug 2013 10:43:52 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" = 135) 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", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 135], ["updated_at", Sat, 24 Aug 2013 10:43:52 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" = 135) 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", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 135], ["updated_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 249 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 249 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", #], ["created_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 249], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/249/payments/new" for 127.0.0.1 at 2013-08-24 12:43:52 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"249"} 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", "249"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 249 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 150 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 150 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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 18ms (Views: 9.6ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/249/payments" for 127.0.0.1 at 2013-08-24 12:43:53 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"249"} 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", "249"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 249], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 249 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 249 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 150 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 150 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", 150], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["payment_id", 103], ["updated_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/249/adhesions Completed 302 Found in 16ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/249/adhesions" for 127.0.0.1 at 2013-08-24 12:43:53 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"249"} 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", "249"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 249 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 249  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 150 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 150 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: 7.4ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 249 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 250 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 250 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", #], ["created_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 250], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:53 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" = 251 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 251 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", #], ["created_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 251], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/103/reglements/new" for 127.0.0.1 at 2013-08-24 12:43:53 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"103"} 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", "103"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 249 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 103  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 103 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 150  (1.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 151  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 152 Adherent::Reglement Load (0.8ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 103 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 103 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 250 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 151 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 251 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 152 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_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 (1.4ms) Completed 200 OK in 26ms (Views: 14.1ms | ActiveRecord: 5.0ms) Started POST "/adherent/payments/103/reglements" for 127.0.0.1 at 2013-08-24 12:43:53 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"151"}, "commit"=>"Enregistrer", "payment_id"=>"103"} 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", "103"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "151"]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 151  (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", 151], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["payment_id", 103], ["updated_at", Sat, 24 Aug 2013 10:43:53 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" = 249 LIMIT 1 Redirected to http://www.example.com/adherent/members/249/payments Completed 302 Found in 9ms (ActiveRecord: 2.1ms) Started GET "/adherent/members/249/payments" for 127.0.0.1 at 2013-08-24 12:43:53 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"249"} 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", "249"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 249 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 103 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 151 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 250 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 150 LIMIT 1 Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 249 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 103  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 103 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 103 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 103 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: 23.4ms | ActiveRecord: 2.7ms)  (0.1ms) ROLLBACK  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:43:53 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" = 136) 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", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 136], ["updated_at", Sat, 24 Aug 2013 10:43:53 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" = 136) 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", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 136], ["updated_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00]]  (0.1ms) 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" = 'Adh002' AND "adherent_members"."organism_id" = 136) 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", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 136], ["updated_at", Sat, 24 Aug 2013 10:43:53 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" = 252 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 252 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", #], ["created_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 252], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/252/payments/new" for 127.0.0.1 at 2013-08-24 12:43:53 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"252"} Organism Load (1.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", "252"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 252 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 153 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 153 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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 18ms (Views: 8.9ms | ActiveRecord: 2.5ms) Started POST "/adherent/members/252/payments" for 127.0.0.1 at 2013-08-24 12:43:53 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"252"} 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", "252"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 252], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 252 LIMIT 1 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 252 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 153 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 153 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 153], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["payment_id", 104], ["updated_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/252/adhesions Completed 302 Found in 12ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/252/adhesions" for 127.0.0.1 at 2013-08-24 12:43:53 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"252"} 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", "252"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 252 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 252  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 153 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 153 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 12ms (Views: 7.5ms | ActiveRecord: 1.4ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 252 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 153  (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", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:43:53 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" = 137) 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", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 137], ["updated_at", Sat, 24 Aug 2013 10:43:53 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" = 'Adh001' AND "adherent_members"."organism_id" = 137) 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", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 137], ["updated_at", Sat, 24 Aug 2013 10:43:53 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" = 137) 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", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 137], ["updated_at", Sat, 24 Aug 2013 10:43:53 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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 255 Adherent::Adhesion Load (1.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 255 ORDER BY to_date DESC LIMIT 1  (0.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", #], ["created_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 255], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/255/payments/new" for 127.0.0.1 at 2013-08-24 12:43:53 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"255"} 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", "255"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 255 ORDER BY to_date  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 154 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 154 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 18ms (Views: 9.0ms | ActiveRecord: 1.7ms) Started POST "/adherent/members/255/payments" for 127.0.0.1 at 2013-08-24 12:43:53 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"255"} 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", "255"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 255], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 255 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 255 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 154 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 154 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", 154], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["payment_id", 105], ["updated_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/255/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/255/adhesions" for 127.0.0.1 at 2013-08-24 12:43:53 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"255"} 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", "255"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 255 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 255  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 154 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 154 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: 8.2ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 255 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 105  (8.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 105  (1.9ms) ROLLBACK  (0.3ms) BEGIN Organism Load (1.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", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 138) 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", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 138], ["updated_at", Sat, 24 Aug 2013 10:43:53 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" = 138) 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", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 138], ["updated_at", Sat, 24 Aug 2013 10:43:53 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" = 'Adh002' AND "adherent_members"."organism_id" = 138) 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", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 138], ["updated_at", Sat, 24 Aug 2013 10:43:53 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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 258 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 258 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", #], ["created_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 258], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/258/payments/new" for 127.0.0.1 at 2013-08-24 12:43:53 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"258"} Organism Load (0.8ms) 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", "258"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 258 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 155 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 155 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: 10.2ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/258/payments" for 127.0.0.1 at 2013-08-24 12:43:53 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"258"} 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", "258"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 258], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 258 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 258 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 155 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 155 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", 155], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["payment_id", 106], ["updated_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/258/adhesions Completed 302 Found in 12ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/258/adhesions" for 127.0.0.1 at 2013-08-24 12:43:53 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"258"} 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", "258"]]  (0.8ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 258 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 258  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 155 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 155 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 12ms (Views: 7.2ms | ActiveRecord: 2.0ms) Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 258 ORDER BY to_date  (1.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 155  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:43:53 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" = 139) 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", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 139], ["updated_at", Sat, 24 Aug 2013 10:43:53 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" = 139) 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", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 139], ["updated_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00]]  (0.0ms) 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" = 139) 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", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 139], ["updated_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00]]  (0.0ms) 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" = 261 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 261 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", #], ["created_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 261], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/261/payments/new" for 127.0.0.1 at 2013-08-24 12:43:53 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"261"} 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", "261"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 261 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 156 CACHE (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 156 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 18ms (Views: 8.9ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/261/payments" for 127.0.0.1 at 2013-08-24 12:43:53 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"261"} 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", "261"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 261], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 261 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 261 ORDER BY to_date  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 156 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 156 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", 156], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00], ["payment_id", 107], ["updated_at", Sat, 24 Aug 2013 10:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/261/adhesions Completed 302 Found in 14ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/261/adhesions" for 127.0.0.1 at 2013-08-24 12:43:53 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"261"} 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", "261"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 261 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 261  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 156 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 156 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: 6.8ms | ActiveRecord: 1.4ms) Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 261 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 156  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 156  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (1.2ms) 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", Sat, 24 Aug 2013 10:45:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:45:07 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" = 140) LIMIT 1 SQL (4.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", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 140], ["updated_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00]]  (0.2ms) 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" = 'Adh001' AND "adherent_members"."organism_id" = 140) 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", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 140], ["updated_at", Sat, 24 Aug 2013 10:45:08 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" = 'Adh002' AND "adherent_members"."organism_id" = 140) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 140], ["updated_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (1.8ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 264 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 264 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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", #], ["created_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 264], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/264/payments/new" for 127.0.0.1 at 2013-08-24 12:45:08 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"264"} 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", "264"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 264 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 157 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 157 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (74.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (79.3ms) Rendered layouts/adherent/_header.html.haml (1.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.3ms) Completed 200 OK in 123ms (Views: 95.2ms | ActiveRecord: 5.0ms) Started POST "/adherent/members/264/payments" for 127.0.0.1 at 2013-08-24 12:45:08 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"264"} Organism Load (0.7ms) 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", "264"]]  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 264], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 264 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 264 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 157 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 157 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 157], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["payment_id", 108], ["updated_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/264/adhesions Completed 302 Found in 29ms (ActiveRecord: 4.3ms) Started GET "/adherent/members/264/adhesions" for 127.0.0.1 at 2013-08-24 12:45:08 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"264"} 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", "264"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 264 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 264  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 157 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 157 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (11.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 20ms (Views: 15.4ms | ActiveRecord: 1.6ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 264 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 265 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 265 ORDER BY to_date DESC LIMIT 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", #], ["created_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 265], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:45:08 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" = 266 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 266 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", #], ["created_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 266], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/108/reglements/new" for 127.0.0.1 at 2013-08-24 12:45:08 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"108"} 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", "108"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 264 LIMIT 1 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 108  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 108 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 157  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 158  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 159 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 108 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 108 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 265 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 158 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 266 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 159 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (17.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/new.html.erb within layouts/adherent/application (22.2ms) Rendered layouts/adherent/_header.html.haml (0.1ms) 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.1ms) Completed 200 OK in 40ms (Views: 25.3ms | ActiveRecord: 3.5ms)  (0.5ms) 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", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:45:08 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" = 'Adh000' AND "adherent_members"."organism_id" = 141) 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", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 141], ["updated_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 141) 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", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 141], ["updated_at", Sat, 24 Aug 2013 10:45:08 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" = 141) 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", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 141], ["updated_at", Sat, 24 Aug 2013 10:45:08 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" = 267 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 267 ORDER BY to_date DESC LIMIT 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", #], ["created_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 267], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/267/payments/new" for 127.0.0.1 at 2013-08-24 12:45:08 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"267"} Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "267"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 267 ORDER BY to_date  (2.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 160 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 160 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 66ms (Views: 9.7ms | ActiveRecord: 5.6ms) Started POST "/adherent/members/267/payments" for 127.0.0.1 at 2013-08-24 12:45:08 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"267"} 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", "267"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 267], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 267 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 267 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 160 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 160 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", 160], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["payment_id", 109], ["updated_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/267/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/267/adhesions" for 127.0.0.1 at 2013-08-24 12:45:08 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"267"} 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", "267"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 267 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 267  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 160 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 160 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 14ms (Views: 11.1ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 267 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 268 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 268 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", #], ["created_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 268], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:45:08 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" = 269 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 269 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", #], ["created_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 269], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/109/reglements/new" for 127.0.0.1 at 2013-08-24 12:45:08 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"109"} 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", "109"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 267 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 109  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 109 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" = 160  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 161  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 162 Adherent::Reglement Load (0.8ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 109 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 109 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 268 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 161 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 269 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 162 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 24ms (Views: 13.4ms | ActiveRecord: 3.7ms)  (0.4ms) 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", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:45:08 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" = 142) 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", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 142], ["updated_at", Sat, 24 Aug 2013 10:45:08 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" = 142) 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", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 142], ["updated_at", Sat, 24 Aug 2013 10:45:08 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" = 142) 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", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 142], ["updated_at", Sat, 24 Aug 2013 10:45:08 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" = 270 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 270 ORDER BY to_date DESC LIMIT 1  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 270], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/270/payments/new" for 127.0.0.1 at 2013-08-24 12:45:08 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"270"} 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", "270"]] Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 270 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 163 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 163 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 19ms (Views: 9.8ms | ActiveRecord: 1.7ms) Started POST "/adherent/members/270/payments" for 127.0.0.1 at 2013-08-24 12:45:08 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"270"} 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", "270"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 270], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 270 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 270 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 163 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 163 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", 163], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["payment_id", 110], ["updated_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/270/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/270/adhesions" for 127.0.0.1 at 2013-08-24 12:45:08 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"270"} 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", "270"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 270 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 270  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 163 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 163 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: 7.9ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 270 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 271 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 271 ORDER BY to_date DESC LIMIT 1  (1.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", #], ["created_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 271], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:45:08 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" = 272 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 272 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", #], ["created_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 272], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/110/reglements/new" for 127.0.0.1 at 2013-08-24 12:45:08 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"110"} 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", "110"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 270 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 110  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 110 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" = 163  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 164  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 165 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 110 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 110 Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 271 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 164 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 272 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 165 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (10.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.0ms) Completed 200 OK in 24ms (Views: 13.9ms | ActiveRecord: 3.1ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:45:08 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" = 143) 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", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 143], ["updated_at", Sat, 24 Aug 2013 10:45:08 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" = 143) 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", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 143], ["updated_at", Sat, 24 Aug 2013 10:45:08 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" = 143) 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", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 143], ["updated_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 273 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 273 ORDER BY to_date DESC LIMIT 1  (0.7ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 273], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/273/payments/new" for 127.0.0.1 at 2013-08-24 12:45:08 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"273"} 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", "273"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 273 ORDER BY to_date  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 166 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 166 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 18ms (Views: 9.6ms | ActiveRecord: 1.7ms) Started POST "/adherent/members/273/payments" for 127.0.0.1 at 2013-08-24 12:45:08 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"273"} 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", "273"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 273], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 273 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 273 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 166 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 166 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", 166], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["payment_id", 111], ["updated_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/273/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/273/adhesions" for 127.0.0.1 at 2013-08-24 12:45:08 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"273"} 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", "273"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 273 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 273  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 166 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 166 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.3ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 273 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 274 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 274 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (6.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", #], ["created_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 274], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:45:08 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" = 275 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 275 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.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", #], ["created_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 275], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/111/reglements/new" for 127.0.0.1 at 2013-08-24 12:45:08 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"111"} Organism Load (5.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", "111"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 273 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 111  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 111 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (1.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 166  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 167  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 168 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 111 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 111 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 274 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 167 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 275 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 168 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.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 32ms (Views: 13.6ms | ActiveRecord: 11.2ms) Started POST "/adherent/payments/111/reglements" for 127.0.0.1 at 2013-08-24 12:45:08 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"167"}, "commit"=>"Enregistrer", "payment_id"=>"111"} 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", "111"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "167"]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 167  (0.0ms) 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", 167], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["payment_id", 111], ["updated_at", Sat, 24 Aug 2013 10:45:08 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" = 273 LIMIT 1 Redirected to http://www.example.com/adherent/members/273/payments Completed 302 Found in 10ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/273/payments" for 127.0.0.1 at 2013-08-24 12:45:08 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"273"} 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", "273"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 273 Adherent::Reglement Load (0.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 111 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 167 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 274 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 166 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 273 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 111  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 111 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 111 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 111 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 30ms (Views: 24.3ms | ActiveRecord: 3.6ms)  (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", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:45:08 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" = 'Adh000' AND "adherent_members"."organism_id" = 144) 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", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 144], ["updated_at", Sat, 24 Aug 2013 10:45:08 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" = 144) 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", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 144], ["updated_at", Sat, 24 Aug 2013 10:45:08 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" = 144) 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", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 144], ["updated_at", Sat, 24 Aug 2013 10:45:08 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" = 276 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 276 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", #], ["created_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 276], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:45:08 UTC +00:00]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/276/payments/new" for 127.0.0.1 at 2013-08-24 12:45:08 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"276"} Organism Load (1.0ms) 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", "276"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 276 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 169 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 169 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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 17ms (Views: 9.5ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/276/payments" for 127.0.0.1 at 2013-08-24 12:45:09 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"276"} 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", "276"]]  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 276], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 276 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 276 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 169 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 169 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", 169], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["payment_id", 112], ["updated_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/276/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/276/adhesions" for 127.0.0.1 at 2013-08-24 12:45:09 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"276"} 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", "276"]]  (0.9ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 276 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 276  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 169 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 169 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: 6.9ms | ActiveRecord: 1.9ms) Adherent::Payment Load (0.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 276 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 277 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 277 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", #], ["created_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 277], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:45:09 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" = 278 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 278 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", #], ["created_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 278], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/112/reglements/new" for 127.0.0.1 at 2013-08-24 12:45:09 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"112"} 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", "112"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 276 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 112  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 112 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 169  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 170  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 171 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 112 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 112 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 277 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 170 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 278 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 171 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.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.3ms) Completed 200 OK in 24ms (Views: 12.7ms | ActiveRecord: 3.5ms) Started POST "/adherent/payments/112/reglements" for 127.0.0.1 at 2013-08-24 12:45:09 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"170"}, "commit"=>"Enregistrer", "payment_id"=>"112"} 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", "112"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "170"]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 170  (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", 170], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["payment_id", 112], ["updated_at", Sat, 24 Aug 2013 10:45:09 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" = 276 LIMIT 1 Redirected to http://www.example.com/adherent/members/276/payments Completed 302 Found in 9ms (ActiveRecord: 1.8ms) Started GET "/adherent/members/276/payments" for 127.0.0.1 at 2013-08-24 12:45:09 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"276"} 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", "276"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 276 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 112 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 170 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 277 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 169 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 276 LIMIT 1 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 112  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 112 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 112 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 112 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.2ms | ActiveRecord: 3.2ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 277 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 170  (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", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 145) LIMIT 1 SQL (1.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", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 145], ["updated_at", Sat, 24 Aug 2013 10:45:09 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" = 'Adh001' AND "adherent_members"."organism_id" = 145) 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", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 145], ["updated_at", Sat, 24 Aug 2013 10:45:09 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" = 145) 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", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 145], ["updated_at", Sat, 24 Aug 2013 10:45:09 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" = 279 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 279 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", #], ["created_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 279], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/279/payments/new" for 127.0.0.1 at 2013-08-24 12:45:09 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"279"} Organism Load (1.9ms) 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", "279"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 279 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 172 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 172 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 19ms (Views: 10.2ms | ActiveRecord: 2.7ms) Started POST "/adherent/members/279/payments" for 127.0.0.1 at 2013-08-24 12:45:09 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"279"} 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", "279"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 279], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 279 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 279 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 172 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 172 SQL (0.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 172], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["payment_id", 113], ["updated_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/279/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.1ms) Started GET "/adherent/members/279/adhesions" for 127.0.0.1 at 2013-08-24 12:45:09 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"279"} Organism Load (0.9ms) 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", "279"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 279 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 279  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 172 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 172 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 13ms (Views: 8.1ms | ActiveRecord: 1.9ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 279 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 172  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 146) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 146], ["updated_at", Sat, 24 Aug 2013 10:45:09 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" = 146) 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", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 146], ["updated_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00]]  (0.0ms) 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" = 146) 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", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 146], ["updated_at", Sat, 24 Aug 2013 10:45:09 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" = 282 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 282 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 282], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/282/payments/new" for 127.0.0.1 at 2013-08-24 12:45:09 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"282"} 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", "282"]] Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 282 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 173 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 173 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: 8.5ms | ActiveRecord: 1.9ms) Started POST "/adherent/members/282/payments" for 127.0.0.1 at 2013-08-24 12:45:09 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"282"} 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", "282"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 282], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 282 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 282 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 173 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 173 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", 173], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["payment_id", 114], ["updated_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/282/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/282/adhesions" for 127.0.0.1 at 2013-08-24 12:45:09 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"282"} 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", "282"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 282 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 282  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 173 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 173 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 11ms (Views: 7.0ms | ActiveRecord: 1.4ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 282 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 173  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 173  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) 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", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:45:09 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" = 147) 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", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 147], ["updated_at", Sat, 24 Aug 2013 10:45:09 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" = 147) 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", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 147], ["updated_at", Sat, 24 Aug 2013 10:45:09 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" = 147) 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", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 147], ["updated_at", Sat, 24 Aug 2013 10:45:09 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" = 285 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 285 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", #], ["created_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 285], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/285/payments/new" for 127.0.0.1 at 2013-08-24 12:45:09 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"285"} 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", "285"]] Adherent::Adhesion Load (3.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 285 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 174 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 174 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: 9.1ms | ActiveRecord: 3.9ms) Started POST "/adherent/members/285/payments" for 127.0.0.1 at 2013-08-24 12:45:09 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"285"} 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", "285"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 285], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 285 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 285 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 174 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 174 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", 174], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["payment_id", 115], ["updated_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/285/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/285/adhesions" for 127.0.0.1 at 2013-08-24 12:45:09 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"285"} 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", "285"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 285 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 285  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 174 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 174 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 11ms (Views: 7.5ms | ActiveRecord: 1.3ms) Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 285 ORDER BY to_date  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 174  (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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:45:09 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" = 'Adh000' AND "adherent_members"."organism_id" = 148) 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", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 148], ["updated_at", Sat, 24 Aug 2013 10:45:09 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" = 148) 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", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 148], ["updated_at", Sat, 24 Aug 2013 10:45:09 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" = 148) 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", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 148], ["updated_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00]]  (0.2ms) 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" = 288 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 288 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", #], ["created_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 288], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.5ms) SELECT COUNT(*) FROM "adherent_reglements"  Started GET "/adherent/members/288/payments/new" for 127.0.0.1 at 2013-08-24 12:45:09 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"288"} Organism Load (0.8ms) 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", "288"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 288 ORDER BY to_date  (4.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 175 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 175 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (14.6ms) 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 38ms (Views: 26.5ms | ActiveRecord: 5.7ms) Started POST "/adherent/members/288/payments" for 127.0.0.1 at 2013-08-24 12:45:09 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"288"} 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", "288"]]  (0.7ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 288], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 288 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 288 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 175 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 175 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", 175], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["payment_id", 116], ["updated_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/288/adhesions Completed 302 Found in 15ms (ActiveRecord: 3.3ms) Started GET "/adherent/members/288/adhesions" for 127.0.0.1 at 2013-08-24 12:45:09 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"288"} 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", "288"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 288 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 288  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 175 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 175 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: 6.9ms | ActiveRecord: 1.5ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:45:09 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" = 149) 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", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 149], ["updated_at", Sat, 24 Aug 2013 10:45:09 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" = 149) 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", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 149], ["updated_at", Sat, 24 Aug 2013 10:45:09 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" = 149) 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", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 149], ["updated_at", Sat, 24 Aug 2013 10:45:09 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.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 291 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 291 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", #], ["created_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 291], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 291 Started GET "/adherent/members/291/payments/new" for 127.0.0.1 at 2013-08-24 12:45:09 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"291"} 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", "291"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 291 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 176 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 176 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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 18ms (Views: 9.5ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/291/payments" for 127.0.0.1 at 2013-08-24 12:45:09 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"291"} 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", "291"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 291], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 291 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 291 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 176 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 176 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", 176], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["payment_id", 117], ["updated_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/291/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/291/adhesions" for 127.0.0.1 at 2013-08-24 12:45:09 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"291"} 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", "291"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 291 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 291  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 176 CACHE (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 176 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: 7.3ms | ActiveRecord: 1.6ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 291  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:45:09 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" = 150) 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", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 150], ["updated_at", Sat, 24 Aug 2013 10:45:09 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" = 150) 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", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 150], ["updated_at", Sat, 24 Aug 2013 10:45:09 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" = 150) 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", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 150], ["updated_at", Sat, 24 Aug 2013 10:45:09 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" = 294 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 294 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", #], ["created_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 294], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/294/payments/new" for 127.0.0.1 at 2013-08-24 12:45:09 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"294"} Organism Load (0.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", "294"]] Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 294 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 177 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 177 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 18ms (Views: 9.4ms | ActiveRecord: 2.2ms) Started POST "/adherent/members/294/payments" for 127.0.0.1 at 2013-08-24 12:45:09 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"294"} 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", "294"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 294], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 294 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 294 ORDER BY to_date  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 177 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 177 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", 177], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["payment_id", 118], ["updated_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/294/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/294/adhesions" for 127.0.0.1 at 2013-08-24 12:45:09 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"294"} 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", "294"]]  (0.1ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 294 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 294  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 177 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 177 Rendered layouts/adherent/_header.html.haml (0.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 12ms (Views: 8.2ms | ActiveRecord: 1.2ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 294 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 177  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:45:09 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" = 151) 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", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 151], ["updated_at", Sat, 24 Aug 2013 10:45:09 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" = 151) 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", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 151], ["updated_at", Sat, 24 Aug 2013 10:45:09 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" = 151) 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", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 151], ["updated_at", Sat, 24 Aug 2013 10:45:09 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.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 297 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 297 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", #], ["created_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 297], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/297/payments/new" for 127.0.0.1 at 2013-08-24 12:45:09 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"297"} 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", "297"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 297 ORDER BY to_date  (2.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 178 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 178 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.0ms | ActiveRecord: 2.8ms) Started POST "/adherent/members/297/payments" for 127.0.0.1 at 2013-08-24 12:45:09 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"297"} 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", "297"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 297], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 297 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 297 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 178 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 178 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", 178], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00], ["payment_id", 119], ["updated_at", Sat, 24 Aug 2013 10:45:09 UTC +00:00]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/297/adhesions Completed 302 Found in 15ms (ActiveRecord: 3.2ms) Started GET "/adherent/members/297/adhesions" for 127.0.0.1 at 2013-08-24 12:45:09 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"297"} 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", "297"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 297 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 297  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 178 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 178 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 11ms (Views: 7.8ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 297 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 119  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 119  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:47:27 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:47:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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" = 152) 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", Sat, 24 Aug 2013 10:47:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 152], ["updated_at", Sat, 24 Aug 2013 10:47:27 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" = 152) 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", Sat, 24 Aug 2013 10:47:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 152], ["updated_at", Sat, 24 Aug 2013 10:47:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 152) 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", Sat, 24 Aug 2013 10:47:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 152], ["updated_at", Sat, 24 Aug 2013 10:47:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 300 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 300 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", #], ["created_at", Sat, 24 Aug 2013 10:47:27 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 300], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:47:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/300/payments/new" for 127.0.0.1 at 2013-08-24 12:47:27 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"300"} 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", "300"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 300 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 179 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 179 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (31.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (80.4ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.7ms) Completed 200 OK in 124ms (Views: 95.5ms | ActiveRecord: 4.5ms) Started POST "/adherent/members/300/payments" for 127.0.0.1 at 2013-08-24 12:47:27 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"300"} 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", "300"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:47:27 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 300], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:47:27 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 300 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 300 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 179 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 179 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 179], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:47:27 UTC +00:00], ["payment_id", 120], ["updated_at", Sat, 24 Aug 2013 10:47:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/300/adhesions Completed 302 Found in 32ms (ActiveRecord: 3.6ms) Started GET "/adherent/members/300/adhesions" for 127.0.0.1 at 2013-08-24 12:47:27 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"300"} 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", "300"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 300 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 300  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 179 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 179 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (11.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 20ms (Views: 14.9ms | ActiveRecord: 1.5ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 300 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 179  (0.4ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:47:27 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:47:27 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" = 153) 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", Sat, 24 Aug 2013 10:47:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 153], ["updated_at", Sat, 24 Aug 2013 10:47:27 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" = 153) 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", Sat, 24 Aug 2013 10:47:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 153], ["updated_at", Sat, 24 Aug 2013 10:47:27 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" = 'Adh002' AND "adherent_members"."organism_id" = 153) 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", Sat, 24 Aug 2013 10:47:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 153], ["updated_at", Sat, 24 Aug 2013 10:47:27 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" = 303 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 303 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", #], ["created_at", Sat, 24 Aug 2013 10:47:27 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 303], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:47:27 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/303/payments/new" for 127.0.0.1 at 2013-08-24 12:47:27 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"303"} Organism Load (0.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", "303"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 303 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 180 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 180 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.1ms) Rendered layouts/adherent/_header.html.haml (1.8ms) 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: 11.5ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/303/payments" for 127.0.0.1 at 2013-08-24 12:47:27 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"303"} Organism Load (0.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", "303"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:47:27 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 303], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:47:27 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 303 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 303 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 180 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 180 SQL (1.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 180], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:47:27 UTC +00:00], ["payment_id", 121], ["updated_at", Sat, 24 Aug 2013 10:47:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/303/adhesions Completed 302 Found in 57ms (ActiveRecord: 3.2ms) Started GET "/adherent/members/303/adhesions" for 127.0.0.1 at 2013-08-24 12:47:27 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"303"} 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", "303"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 303 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 303  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 180 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 180 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: 8.7ms | ActiveRecord: 1.9ms) Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 303 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 121  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 121  (0.3ms) ROLLBACK  (0.3ms) BEGIN 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", Sat, 24 Aug 2013 10:47:27 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:47:27 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" = 154) 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", Sat, 24 Aug 2013 10:47:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 154], ["updated_at", Sat, 24 Aug 2013 10:47:27 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" = 154) 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", Sat, 24 Aug 2013 10:47:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 154], ["updated_at", Sat, 24 Aug 2013 10:47:27 UTC +00:00]]  (0.2ms) 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" = 154) 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", Sat, 24 Aug 2013 10:47:27 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 154], ["updated_at", Sat, 24 Aug 2013 10:47:27 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" = 306 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 306 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", #], ["created_at", Sat, 24 Aug 2013 10:47:27 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 306], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:47:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/306/payments/new" for 127.0.0.1 at 2013-08-24 12:47:27 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"306"} 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", "306"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 306 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 181 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 181 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 18ms (Views: 9.5ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/306/payments" for 127.0.0.1 at 2013-08-24 12:47:27 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"306"} Organism Load (0.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", "306"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:47:27 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 306], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:47:27 UTC +00:00]] Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 306 LIMIT 1 Adherent::Adhesion Load (1.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 306 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 181 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 181 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", 181], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:47:27 UTC +00:00], ["payment_id", 122], ["updated_at", Sat, 24 Aug 2013 10:47:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/306/adhesions Completed 302 Found in 16ms (ActiveRecord: 5.3ms) Started GET "/adherent/members/306/adhesions" for 127.0.0.1 at 2013-08-24 12:47:27 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"306"} 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", "306"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 306 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 306  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 181 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 181 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: 7.4ms | ActiveRecord: 1.6ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 306 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 181  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.5ms) 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", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:47:28 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" = 155) 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", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 155], ["updated_at", Sat, 24 Aug 2013 10:47:28 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" = 155) 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", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 155], ["updated_at", Sat, 24 Aug 2013 10:47:28 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" = 155) 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", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 155], ["updated_at", Sat, 24 Aug 2013 10:47:28 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" = 309 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 309 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", #], ["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 309], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/309/payments/new" for 127.0.0.1 at 2013-08-24 12:47:28 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"309"} 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", "309"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 309 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 182 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 182 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 16ms (Views: 8.5ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/309/payments" for 127.0.0.1 at 2013-08-24 12:47:28 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"309"} 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", "309"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 309], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 309 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 309 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 182 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 182 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", 182], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["payment_id", 123], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/309/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/309/adhesions" for 127.0.0.1 at 2013-08-24 12:47:28 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"309"} 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", "309"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 309 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 309  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 182 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 182 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 11ms (Views: 7.3ms | ActiveRecord: 1.4ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 309 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 182  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 182  (0.3ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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" = 156) 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", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 156], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]]  (0.0ms) 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" = 156) 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", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 156], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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" = 156) 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", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 156], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 312 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 312 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", #], ["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 312], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements" Started GET "/adherent/members/312/payments/new" for 127.0.0.1 at 2013-08-24 12:47:28 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"312"} 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", "312"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 312 ORDER BY to_date  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 183 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 183 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 18ms (Views: 9.0ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/312/payments" for 127.0.0.1 at 2013-08-24 12:47:28 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"312"} 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", "312"]]  (0.0ms) SAVEPOINT active_record_1 SQL (33.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 312], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 312 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 312 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 183 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 183 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", 183], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["payment_id", 124], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/312/adhesions Completed 302 Found in 45ms (ActiveRecord: 35.7ms) Started GET "/adherent/members/312/adhesions" for 127.0.0.1 at 2013-08-24 12:47:28 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"312"} 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", "312"]]  (1.7ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 312 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 312  (6.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 183 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 183 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: 11.1ms | ActiveRecord: 9.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.7ms) ROLLBACK  (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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:47:28 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" = 157) 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", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 157], ["updated_at", Sat, 24 Aug 2013 10:47:28 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" = 157) 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", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 157], ["updated_at", Sat, 24 Aug 2013 10:47:28 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" = 'Adh002' AND "adherent_members"."organism_id" = 157) 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", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 157], ["updated_at", Sat, 24 Aug 2013 10:47:28 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" = 315 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 315 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", #], ["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 315], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/315/payments/new" for 127.0.0.1 at 2013-08-24 12:47:28 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"315"} Organism Load (0.2ms) 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", "315"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 315 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 184 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 184 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (11.2ms) 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 26ms (Views: 15.5ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/315/payments" for 127.0.0.1 at 2013-08-24 12:47:28 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"315"} 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", "315"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 315], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 315 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 315 ORDER BY to_date  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 184 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 184 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", 184], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["payment_id", 125], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/315/adhesions Completed 302 Found in 13ms (ActiveRecord: 3.3ms) Started GET "/adherent/members/315/adhesions" for 127.0.0.1 at 2013-08-24 12:47:28 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"315"} 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", "315"]]  (0.6ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 315 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 315  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 184 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 184 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 13ms (Views: 8.7ms | ActiveRecord: 1.9ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 315 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 184  (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.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:47:28 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" = 158) 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", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 158], ["updated_at", Sat, 24 Aug 2013 10:47:28 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" = 158) 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", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 158], ["updated_at", Sat, 24 Aug 2013 10:47:28 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" = 158) 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", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 158], ["updated_at", Sat, 24 Aug 2013 10:47:28 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" = 318 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 318 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", #], ["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 318], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 318 Started GET "/adherent/members/318/payments/new" for 127.0.0.1 at 2013-08-24 12:47:28 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"318"} Organism Load (0.7ms) 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", "318"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 318 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 185 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 185 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.4ms) 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 18ms (Views: 10.3ms | ActiveRecord: 1.9ms) Started POST "/adherent/members/318/payments" for 127.0.0.1 at 2013-08-24 12:47:28 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"318"} 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", "318"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 318], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 318 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 318 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 185 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 185 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", 185], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["payment_id", 126], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/318/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/318/adhesions" for 127.0.0.1 at 2013-08-24 12:47:28 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"318"} 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", "318"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 318 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 318  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 185 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 185 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 13ms (Views: 8.1ms | ActiveRecord: 1.5ms)  (0.0ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 318  (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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:47:28 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" = 'Adh000' AND "adherent_members"."organism_id" = 159) 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", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 159], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]]  (0.0ms) 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" = 159) 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", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 159], ["updated_at", Sat, 24 Aug 2013 10:47:28 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" = 159) 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", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 159], ["updated_at", Sat, 24 Aug 2013 10:47:28 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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 321 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 321 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", #], ["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 321], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/321/payments/new" for 127.0.0.1 at 2013-08-24 12:47:28 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"321"} Organism Load (1.8ms) 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", "321"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 321 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 186 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 186 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 18ms (Views: 8.5ms | ActiveRecord: 2.9ms) Started POST "/adherent/members/321/payments" for 127.0.0.1 at 2013-08-24 12:47:28 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"321"} 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", "321"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 321], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 321 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 321 ORDER BY to_date  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 186 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 186 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", 186], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["payment_id", 127], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/321/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/321/adhesions" for 127.0.0.1 at 2013-08-24 12:47:28 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"321"} 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", "321"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 321 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 321  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 186 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 186 Rendered layouts/adherent/_header.html.haml (1.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 12ms (Views: 8.0ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 321 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 322 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 322 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", #], ["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 322], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:47:28 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" = 323 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 323 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", #], ["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 323], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/127/reglements/new" for 127.0.0.1 at 2013-08-24 12:47:28 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"127"} 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", "127"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 321 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 127  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 127 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 186  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 187  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 188 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 127 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 127 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 322 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 187 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 323 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 188 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (19.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 39ms (Views: 27.8ms | ActiveRecord: 3.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) 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", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:47:28 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" = 160) 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", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 160], ["updated_at", Sat, 24 Aug 2013 10:47:28 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" = 160) 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", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 160], ["updated_at", Sat, 24 Aug 2013 10:47:28 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" = 'Adh002' AND "adherent_members"."organism_id" = 160) 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", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 160], ["updated_at", Sat, 24 Aug 2013 10:47:28 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" = 324 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 324 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 324], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/324/payments/new" for 127.0.0.1 at 2013-08-24 12:47:28 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"324"} 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", "324"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 324 ORDER BY to_date  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 189 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 189 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (8.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 21ms (Views: 11.8ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/324/payments" for 127.0.0.1 at 2013-08-24 12:47:28 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"324"} 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", "324"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 324], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 324 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 324 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 189 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 189 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", 189], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["payment_id", 128], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/324/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/324/adhesions" for 127.0.0.1 at 2013-08-24 12:47:28 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"324"} 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", "324"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 324 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 324  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 189 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 189 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 47ms (Views: 42.9ms | ActiveRecord: 1.3ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 324 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 325 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 325 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (68.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 325], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (5.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 326 Adherent::Adhesion Load (4.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 326 ORDER BY to_date DESC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 326], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/128/reglements/new" for 127.0.0.1 at 2013-08-24 12:47:28 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"128"} Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (4.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "128"]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 324 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 128  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 128 Adherent::Adhesion Load (3.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" = 189  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 190  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 191 Adherent::Reglement Load (2.9ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 128 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 128 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 325 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 190 Adherent::Member Load (1.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 326 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 191 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (18.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.3ms) Completed 200 OK in 57ms (Views: 28.8ms | ActiveRecord: 15.0ms)  (3.6ms) ROLLBACK  (0.1ms) BEGIN Organism Load (1.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.6ms) 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", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]]  (0.4ms) 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" = 161) 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", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 161], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]]  (0.0ms) 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" = 'Adh001' AND "adherent_members"."organism_id" = 161) 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", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 161], ["updated_at", Sat, 24 Aug 2013 10:47:28 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" = 161) 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", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 161], ["updated_at", Sat, 24 Aug 2013 10:47:28 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" = 327 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 327 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", #], ["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 327], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/327/payments/new" for 127.0.0.1 at 2013-08-24 12:47:28 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"327"} 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", "327"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 327 ORDER BY to_date  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 192 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 192 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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 17ms (Views: 11.7ms | ActiveRecord: 0.9ms) Started POST "/adherent/members/327/payments" for 127.0.0.1 at 2013-08-24 12:47:28 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"327"} 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", "327"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 327], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 327 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 327 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 192 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 192 SQL (1.0ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 192], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["payment_id", 129], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/327/adhesions Completed 302 Found in 14ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/327/adhesions" for 127.0.0.1 at 2013-08-24 12:47:28 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"327"} 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", "327"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 327 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 327  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 192 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 192 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: 7.9ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 327 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 328 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 328 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", #], ["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 328], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:47:28 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" = 329 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 329 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", #], ["created_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 329], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:47:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/129/reglements/new" for 127.0.0.1 at 2013-08-24 12:47:28 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"129"} 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", "129"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 327 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 129  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 129 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" = 192  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 193  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 194 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 129 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 129 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 328 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 193 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 329 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 194 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (10.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 27ms (Views: 13.6ms | ActiveRecord: 3.9ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 327 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 192  (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", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00]]  (0.6ms) 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" = 162) 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", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 162], ["updated_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 162) LIMIT 1 SQL (1.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", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 162], ["updated_at", Sat, 24 Aug 2013 10:47:29 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" = 162) 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", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 162], ["updated_at", Sat, 24 Aug 2013 10:47: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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 330 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 330 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", #], ["created_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 330], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/330/payments/new" for 127.0.0.1 at 2013-08-24 12:47:29 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"330"} 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", "330"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 330 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 195 CACHE (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 195 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (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 16ms (Views: 9.6ms | ActiveRecord: 1.9ms) Started POST "/adherent/members/330/payments" for 127.0.0.1 at 2013-08-24 12:47:29 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"330"} 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", "330"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 330], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 330 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 330 ORDER BY to_date  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 195 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 195 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", 195], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["payment_id", 130], ["updated_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/330/adhesions Completed 302 Found in 15ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/330/adhesions" for 127.0.0.1 at 2013-08-24 12:47:29 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"330"} 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", "330"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 330 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 330  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 195 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 195 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 11ms (Views: 6.7ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 330 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 331 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 331 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", #], ["created_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 331], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:47:29 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" = 332 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 332 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", #], ["created_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 332], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/130/reglements/new" for 127.0.0.1 at 2013-08-24 12:47:29 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"130"} 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", "130"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 330 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 130  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 130 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 195  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 196  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 197 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 130 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 130 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 331 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 196 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 332 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 197 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (11.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 26ms (Views: 16.2ms | ActiveRecord: 3.3ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:47:29 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" = 163) 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", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 163], ["updated_at", Sat, 24 Aug 2013 10:47:29 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" = 163) 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", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 163], ["updated_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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" = 163) 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", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 163], ["updated_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 333 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 333 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", #], ["created_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 333], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/333/payments/new" for 127.0.0.1 at 2013-08-24 12:47:29 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"333"} 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", "333"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 333 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 198 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 198 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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 19ms (Views: 10.0ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/333/payments" for 127.0.0.1 at 2013-08-24 12:47:29 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"333"} Organism Load (0.8ms) 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", "333"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 333], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 333 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 333 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 198 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 198 SQL (0.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 198], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["payment_id", 131], ["updated_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/333/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/333/adhesions" for 127.0.0.1 at 2013-08-24 12:47:29 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"333"} 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", "333"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 333 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 333  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 198 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 198 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 11ms (Views: 7.1ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 333 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 334 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 334 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", #], ["created_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 334], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:47:29 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" = 335 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 335 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", #], ["created_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 335], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/131/reglements/new" for 127.0.0.1 at 2013-08-24 12:47:29 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"131"} 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", "131"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 333 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 131  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 131 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 198  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 199  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 200 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 131 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 131 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 334 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 199 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 335 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 200 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 24ms (Views: 13.5ms | ActiveRecord: 2.9ms) Started POST "/adherent/payments/131/reglements" for 127.0.0.1 at 2013-08-24 12:47:29 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"199"}, "commit"=>"Enregistrer", "payment_id"=>"131"} 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", "131"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "199"]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 199  (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", 199], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["payment_id", 131], ["updated_at", Sat, 24 Aug 2013 10:47:29 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" = 333 LIMIT 1 Redirected to http://www.example.com/adherent/members/333/payments Completed 302 Found in 11ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/333/payments" for 127.0.0.1 at 2013-08-24 12:47:29 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"333"} 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", "333"]] Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 333 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 131 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 199 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 334 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 198 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 333 LIMIT 1 Adherent::Reglement Load (1.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 131  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 131 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 131 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 131 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 31ms (Views: 25.2ms | ActiveRecord: 4.4ms)  (0.2ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:47:29 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" = 164) 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", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 164], ["updated_at", Sat, 24 Aug 2013 10:47:29 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" = 164) 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", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 164], ["updated_at", Sat, 24 Aug 2013 10:47:29 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" = 164) 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", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 164], ["updated_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 336 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 336 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", #], ["created_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 336], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/336/payments/new" for 127.0.0.1 at 2013-08-24 12:47:29 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"336"} 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", "336"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 336 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 201 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 201 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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.2ms) Completed 200 OK in 19ms (Views: 10.1ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/336/payments" for 127.0.0.1 at 2013-08-24 12:47:29 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"336"} 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", "336"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 336], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00]] Adherent::Member Load (1.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 336 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 336 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 201 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 201 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", 201], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["payment_id", 132], ["updated_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/336/adhesions Completed 302 Found in 15ms (ActiveRecord: 4.6ms) Started GET "/adherent/members/336/adhesions" for 127.0.0.1 at 2013-08-24 12:47:29 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"336"} 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", "336"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 336 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 336  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 201 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 201 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.4ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 336 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 337 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 337 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", #], ["created_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 337], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:47:29 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" = 338 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 338 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", #], ["created_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 338], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/132/reglements/new" for 127.0.0.1 at 2013-08-24 12:47:29 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"132"} 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", "132"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 336 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 132  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 132 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" = 201  (1.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 202  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 203 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 132 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 132 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 337 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 202 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 338 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 203 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 26ms (Views: 15.3ms | ActiveRecord: 4.2ms) Started POST "/adherent/payments/132/reglements" for 127.0.0.1 at 2013-08-24 12:47:29 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"202"}, "commit"=>"Enregistrer", "payment_id"=>"132"} 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", "132"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "202"]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 202  (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", 202], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:47:29 UTC +00:00], ["payment_id", 132], ["updated_at", Sat, 24 Aug 2013 10:47:29 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" = 336 LIMIT 1 Redirected to http://www.example.com/adherent/members/336/payments Completed 302 Found in 9ms (ActiveRecord: 2.0ms) Started GET "/adherent/members/336/payments" for 127.0.0.1 at 2013-08-24 12:47:29 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"336"} 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", "336"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 336 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 132 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 202 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 337 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 201 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 336 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 132  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 132 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 132 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 132 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: 15.0ms | ActiveRecord: 2.7ms) Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 337 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 202  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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", Sat, 24 Aug 2013 10:47:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:47:59 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" = 165) 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", Sat, 24 Aug 2013 10:47:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 165], ["updated_at", Sat, 24 Aug 2013 10:47:59 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" = 165) 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", Sat, 24 Aug 2013 10:47:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 165], ["updated_at", Sat, 24 Aug 2013 10:47:59 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" = 'Adh002' AND "adherent_members"."organism_id" = 165) 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", Sat, 24 Aug 2013 10:47:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 165], ["updated_at", Sat, 24 Aug 2013 10:47:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 339 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 339 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:47:59 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 339], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:47:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 339 Started GET "/adherent/members/339/payments/new" for 127.0.0.1 at 2013-08-24 12:47:59 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"339"} 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", "339"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 339 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 204 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 204 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (31.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (80.3ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.4ms) Completed 200 OK in 119ms (Views: 96.0ms | ActiveRecord: 2.9ms) Started POST "/adherent/members/339/payments" for 127.0.0.1 at 2013-08-24 12:47:59 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"339"} 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", "339"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:47:59 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 339], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:47:59 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 339 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 339 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 204 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 204 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 204], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:47:59 UTC +00:00], ["payment_id", 133], ["updated_at", Sat, 24 Aug 2013 10:47:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/339/adhesions Completed 302 Found in 28ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/339/adhesions" for 127.0.0.1 at 2013-08-24 12:48:00 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"339"} 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", "339"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 339 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 339  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 204 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 204 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (10.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 20ms (Views: 15.7ms | ActiveRecord: 1.4ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 339  (0.4ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 166) 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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 166], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 'Adh001' AND "adherent_members"."organism_id" = 166) 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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 166], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 'Adh002' AND "adherent_members"."organism_id" = 166) 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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 166], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 342 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 342 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", #], ["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 342], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  Started GET "/adherent/members/342/payments/new" for 127.0.0.1 at 2013-08-24 12:48:00 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"342"} 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", "342"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 342 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 205 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 205 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 18ms (Views: 8.6ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/342/payments" for 127.0.0.1 at 2013-08-24 12:48:00 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"342"} 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", "342"]]  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 342], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 342 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 342 ORDER BY to_date  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 205 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 205 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", 205], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["payment_id", 134], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/342/adhesions Completed 302 Found in 57ms (ActiveRecord: 3.8ms) Started GET "/adherent/members/342/adhesions" for 127.0.0.1 at 2013-08-24 12:48:00 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"342"} Organism Load (0.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", "342"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 342 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 342  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 205 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 205 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 12ms (Views: 8.6ms | ActiveRecord: 1.1ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.3ms) 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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 167) 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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 167], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 167) 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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 167], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 167) 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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 167], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 345 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 345 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", #], ["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 345], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/345/payments/new" for 127.0.0.1 at 2013-08-24 12:48:00 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"345"} 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", "345"]] Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 345 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 206 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 206 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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 18ms (Views: 9.3ms | ActiveRecord: 1.9ms) Started POST "/adherent/members/345/payments" for 127.0.0.1 at 2013-08-24 12:48:00 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"345"} 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", "345"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 345], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 345 LIMIT 1 Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 345 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 206 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 206 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", 206], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["payment_id", 135], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/345/adhesions Completed 302 Found in 16ms (ActiveRecord: 4.0ms) Started GET "/adherent/members/345/adhesions" for 127.0.0.1 at 2013-08-24 12:48:00 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"345"} 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", "345"]]  (0.0ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 345 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 345  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 206 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 206 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 11ms (Views: 7.4ms | ActiveRecord: 1.2ms) Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 345 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 206  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.6ms) 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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 168) 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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 168], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 168) 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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 168], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 168) 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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 168], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]]  (0.1ms) 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" = 348 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 348 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", #], ["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 348], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/348/payments/new" for 127.0.0.1 at 2013-08-24 12:48:00 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"348"} 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", "348"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 348 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 207 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 207 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 20ms (Views: 9.1ms | ActiveRecord: 1.7ms) Started POST "/adherent/members/348/payments" for 127.0.0.1 at 2013-08-24 12:48:00 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"348"} 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", "348"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 348], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 348 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 348 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 207 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 207 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", 207], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["payment_id", 136], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/348/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/348/adhesions" for 127.0.0.1 at 2013-08-24 12:48:00 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"348"} Organism Load (0.2ms) 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", "348"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 348 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 348  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 207 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 207 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: 7.9ms | ActiveRecord: 1.1ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 348 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 207  (0.0ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 169) 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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 169], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 169) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 169], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 'Adh002' AND "adherent_members"."organism_id" = 169) 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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 169], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 351 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 351 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", #], ["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 351], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/351/payments/new" for 127.0.0.1 at 2013-08-24 12:48:00 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"351"} 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", "351"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 351 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 208 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 208 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 18ms (Views: 8.7ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/351/payments" for 127.0.0.1 at 2013-08-24 12:48:00 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"351"} 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", "351"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 351], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 351 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 351 ORDER BY to_date  (1.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 208 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 208 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", 208], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["payment_id", 137], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/351/adhesions Completed 302 Found in 46ms (ActiveRecord: 3.3ms) Started GET "/adherent/members/351/adhesions" for 127.0.0.1 at 2013-08-24 12:48:00 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"351"} 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", "351"]]  (0.5ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 351 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 351  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 208 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 208 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: 11.9ms | ActiveRecord: 1.8ms) Adherent::Adhesion Load (8.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 351 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 208  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 208  (0.3ms) ROLLBACK  (0.1ms) BEGIN Organism Load (6.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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 170) 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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 170], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (5.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 170) 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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 170], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 'Adh002' AND "adherent_members"."organism_id" = 170) 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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 170], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]]  (1.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 354 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 354 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", #], ["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 354], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/354/payments/new" for 127.0.0.1 at 2013-08-24 12:48:00 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"354"} 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", "354"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 354 ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 209 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 209 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 17ms (Views: 10.3ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/354/payments" for 127.0.0.1 at 2013-08-24 12:48:00 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"354"} 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", "354"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 354], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]] Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 354 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 354 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 209 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 209 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", 209], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["payment_id", 138], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/354/adhesions Completed 302 Found in 14ms (ActiveRecord: 3.2ms) Started GET "/adherent/members/354/adhesions" for 127.0.0.1 at 2013-08-24 12:48:00 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"354"} 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", "354"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 354 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 354  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 209 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 209 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 13ms (Views: 9.1ms | ActiveRecord: 1.6ms) Adherent::Payment Load (0.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 354 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 355 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 355 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", #], ["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 355], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 356 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 356 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", #], ["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 356], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/138/reglements/new" for 127.0.0.1 at 2013-08-24 12:48:00 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"138"} 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", "138"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 354 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 138  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 138 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 209  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 210  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 211 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 138 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 138 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 355 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 210 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 356 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 211 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (65.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 88ms (Views: 72.3ms | ActiveRecord: 3.5ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 354 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 209  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.8ms) 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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 171) 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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 171], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 171) 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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 171], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 171) 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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 171], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 357 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 357 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", #], ["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 357], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/357/payments/new" for 127.0.0.1 at 2013-08-24 12:48:00 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"357"} Organism Load (0.4ms) 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", "357"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 357 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 212 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 212 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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.3ms | ActiveRecord: 2.3ms) Started POST "/adherent/members/357/payments" for 127.0.0.1 at 2013-08-24 12:48:00 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"357"} Organism Load (2.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", "357"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 357], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 357 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 357 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 212 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 212 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", 212], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["payment_id", 139], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/357/adhesions Completed 302 Found in 18ms (ActiveRecord: 4.9ms) Started GET "/adherent/members/357/adhesions" for 127.0.0.1 at 2013-08-24 12:48:00 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"357"} 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", "357"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 357 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 357  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 212 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 212 Rendered layouts/adherent/_header.html.haml (0.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 15ms (Views: 9.7ms | ActiveRecord: 1.5ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 357 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 358 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 358 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", #], ["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 358], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 359 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 359 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", #], ["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 359], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/139/reglements/new" for 127.0.0.1 at 2013-08-24 12:48:00 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"139"} 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", "139"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 357 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 139  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 139 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" = 212  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 213  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 214 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 139 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 139 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 358 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 213 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 359 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 214 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 22ms (Views: 12.9ms | ActiveRecord: 2.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.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 172) 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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 172], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 'Adh001' AND "adherent_members"."organism_id" = 172) 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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 172], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 172) 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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 172], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 360 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 360 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", #], ["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 360], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/360/payments/new" for 127.0.0.1 at 2013-08-24 12:48:00 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"360"} Organism Load (1.0ms) 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", "360"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 360 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 215 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 215 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (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 17ms (Views: 9.2ms | ActiveRecord: 1.7ms) Started POST "/adherent/members/360/payments" for 127.0.0.1 at 2013-08-24 12:48:00 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"360"} 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", "360"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 360], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 360 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 360 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 215 CACHE (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 215 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", 215], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["payment_id", 140], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/360/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/360/adhesions" for 127.0.0.1 at 2013-08-24 12:48:00 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"360"} 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", "360"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 360 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 360  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 215 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 215 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 12ms (Views: 8.3ms | ActiveRecord: 1.3ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 360 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 361 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 361 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", #], ["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 361], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 362 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 362 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", #], ["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 362], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/140/reglements/new" for 127.0.0.1 at 2013-08-24 12:48:00 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"140"} 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", "140"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 360 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 140  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 140 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" = 215  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 216  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 217 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 140 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 140 Adherent::Member Load (1.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 361 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 216 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 362 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 217 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (43.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 56ms (Views: 45.7ms | ActiveRecord: 3.9ms)  (0.1ms) 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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 'Adh000' AND "adherent_members"."organism_id" = 173) 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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 173], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 173) 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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 173], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 173) 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", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 173], ["updated_at", Sat, 24 Aug 2013 10:48:00 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" = 363 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 363 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", #], ["created_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 363], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/363/payments/new" for 127.0.0.1 at 2013-08-24 12:48:00 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"363"} 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", "363"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 363 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 218 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 218 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.7ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/363/payments" for 127.0.0.1 at 2013-08-24 12:48:01 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"363"} 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", "363"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 363], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 363 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 363 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 218 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 218 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", 218], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["payment_id", 141], ["updated_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/363/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/363/adhesions" for 127.0.0.1 at 2013-08-24 12:48:01 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"363"} Organism Load (4.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "363"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 363 Adherent::Adhesion Load (3.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 363  (6.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 218 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 218 Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 29ms (Views: 9.1ms | ActiveRecord: 17.4ms) Adherent::Payment Load (3.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 363 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 364 Adherent::Adhesion Load (1.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 364 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 364], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:01 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" = 365 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 365 ORDER BY to_date DESC LIMIT 1  (5.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", #], ["created_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 365], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/141/reglements/new" for 127.0.0.1 at 2013-08-24 12:48:01 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"141"} Organism Load (3.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (2.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "141"]] Adherent::Member Load (2.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 363 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 141  (1.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 141 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 218  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 219  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 220 Adherent::Reglement Load (1.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 141 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 141 Adherent::Member Load (3.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 364 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 219 Adherent::Member Load (1.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 365 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 220 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (21.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 54ms (Views: 28.7ms | ActiveRecord: 16.8ms)  (1.4ms) ROLLBACK  (0.1ms) BEGIN Organism Load (2.2ms) 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", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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" = 174) 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", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 174], ["updated_at", Sat, 24 Aug 2013 10:48:01 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" = 174) 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", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 174], ["updated_at", Sat, 24 Aug 2013 10:48:01 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" = 174) 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", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 174], ["updated_at", Sat, 24 Aug 2013 10:48:01 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" = 366 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 366 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", #], ["created_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 366], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/366/payments/new" for 127.0.0.1 at 2013-08-24 12:48:01 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"366"} 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", "366"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 366 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 221 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 221 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (7.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 18ms (Views: 11.7ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/366/payments" for 127.0.0.1 at 2013-08-24 12:48:01 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"366"} 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", "366"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 366], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 366 LIMIT 1 Adherent::Adhesion Load (1.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 366 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 221 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 221 SQL (0.1ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 221], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["payment_id", 142], ["updated_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/366/adhesions Completed 302 Found in 14ms (ActiveRecord: 3.5ms) Started GET "/adherent/members/366/adhesions" for 127.0.0.1 at 2013-08-24 12:48:01 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"366"} 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", "366"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 366 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 366  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 221 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 221 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 12ms (Views: 7.9ms | ActiveRecord: 1.5ms) Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 366 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 367 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 367 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 367], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:01 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" = 368 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 368 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", #], ["created_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 368], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/142/reglements/new" for 127.0.0.1 at 2013-08-24 12:48:01 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"142"} 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", "142"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 366 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 142  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 142 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 221  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 222  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 223 Adherent::Reglement Load (1.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 142 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 142 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 367 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 222 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 368 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 223 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.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 23ms (Views: 11.4ms | ActiveRecord: 4.4ms) Started POST "/adherent/payments/142/reglements" for 127.0.0.1 at 2013-08-24 12:48:01 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"222"}, "commit"=>"Enregistrer", "payment_id"=>"142"} 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", "142"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "222"]]  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 222  (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", 222], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["payment_id", 142], ["updated_at", Sat, 24 Aug 2013 10:48:01 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" = 366 LIMIT 1 Redirected to http://www.example.com/adherent/members/366/payments Completed 302 Found in 9ms (ActiveRecord: 2.0ms) Started GET "/adherent/members/366/payments" for 127.0.0.1 at 2013-08-24 12:48:01 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"366"} 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", "366"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 366 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 142 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 222 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 367 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 221 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 366 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 142  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 142 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 142 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 142 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: 22.7ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.1ms) 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", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:48:01 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" = 175) 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", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 175], ["updated_at", Sat, 24 Aug 2013 10:48:01 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" = 175) 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", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 175], ["updated_at", Sat, 24 Aug 2013 10:48:01 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" = 175) 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", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 175], ["updated_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 369 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 369 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", #], ["created_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 369], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/369/payments/new" for 127.0.0.1 at 2013-08-24 12:48:01 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"369"} Organism Load (0.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", "369"]] Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 369 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 224 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 224 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.2ms) 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.0ms) Completed 200 OK in 18ms (Views: 9.6ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/369/payments" for 127.0.0.1 at 2013-08-24 12:48:01 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"369"} 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", "369"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 369], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 369 LIMIT 1 Adherent::Adhesion Load (1.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 369 ORDER BY to_date  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 224 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 224 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", 224], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["payment_id", 143], ["updated_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/369/adhesions Completed 302 Found in 15ms (ActiveRecord: 4.0ms) Started GET "/adherent/members/369/adhesions" for 127.0.0.1 at 2013-08-24 12:48:01 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"369"} 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", "369"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 369 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 369  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 224 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 224 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: 7.2ms | ActiveRecord: 1.8ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 369 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 370 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 370 ORDER BY to_date DESC LIMIT 1  (0.4ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 370], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:01 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" = 371 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 371 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", #], ["created_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 371], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/143/reglements/new" for 127.0.0.1 at 2013-08-24 12:48:01 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"143"} Organism Load (0.1ms) 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", "143"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 369 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 143  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 143 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" = 224  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 225  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 226 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 143 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 143 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 370 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 225 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 371 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 226 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 60ms (Views: 49.4ms | ActiveRecord: 3.6ms) Started POST "/adherent/payments/143/reglements" for 127.0.0.1 at 2013-08-24 12:48:01 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"225"}, "commit"=>"Enregistrer", "payment_id"=>"143"} 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", "143"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "225"]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 225  (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", 225], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["payment_id", 143], ["updated_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 369 LIMIT 1 Redirected to http://www.example.com/adherent/members/369/payments Completed 302 Found in 10ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/369/payments" for 127.0.0.1 at 2013-08-24 12:48:01 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"369"} Organism Load (0.8ms) 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", "369"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 369 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 143 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 225 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 370 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 224 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 369 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 143  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 143 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 143 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 143 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: 3.2ms) Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 370 ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 225  (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 (0.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:48:01 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" = 176) 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", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 176], ["updated_at", Sat, 24 Aug 2013 10:48:01 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" = 176) 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", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 176], ["updated_at", Sat, 24 Aug 2013 10:48:01 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" = 176) 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", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 176], ["updated_at", Sat, 24 Aug 2013 10:48:01 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" = 372 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 372 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", #], ["created_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 372], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/372/payments/new" for 127.0.0.1 at 2013-08-24 12:48:01 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"372"} 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", "372"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 372 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 227 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 227 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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 19ms (Views: 10.4ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/372/payments" for 127.0.0.1 at 2013-08-24 12:48:01 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"372"} 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", "372"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 372], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 372 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 372 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 227 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 227 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", 227], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["payment_id", 144], ["updated_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/372/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/372/adhesions" for 127.0.0.1 at 2013-08-24 12:48:01 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"372"} Organism Load (0.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", "372"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 372 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 372  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 227 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 227 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 13ms (Views: 8.0ms | ActiveRecord: 2.3ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 372 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 227  (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 (0.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.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" = 177) 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", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 177], ["updated_at", Sat, 24 Aug 2013 10:48:01 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" = 177) 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", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 177], ["updated_at", Sat, 24 Aug 2013 10:48:01 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" = 177) 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", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 177], ["updated_at", Sat, 24 Aug 2013 10:48:01 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" = 375 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 375 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", #], ["created_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 375], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/375/payments/new" for 127.0.0.1 at 2013-08-24 12:48:01 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"375"} 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", "375"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 375 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 228 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 228 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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 20ms (Views: 10.7ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/375/payments" for 127.0.0.1 at 2013-08-24 12:48:01 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"375"} 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", "375"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 375], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 375 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 375 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 228 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 228 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", 228], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00], ["payment_id", 145], ["updated_at", Sat, 24 Aug 2013 10:48:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/375/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/375/adhesions" for 127.0.0.1 at 2013-08-24 12:48:01 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"375"} 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", "375"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 375 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 375  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 228 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 228 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: 1.2ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 375 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 145  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 145  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Sat, 24 Aug 2013 10:48:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:48:35 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" = 178) 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", Sat, 24 Aug 2013 10:48:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 178], ["updated_at", Sat, 24 Aug 2013 10:48: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" = 'Adh001' AND "adherent_members"."organism_id" = 178) 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", Sat, 24 Aug 2013 10:48:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 178], ["updated_at", Sat, 24 Aug 2013 10:48:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 178) 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", Sat, 24 Aug 2013 10:48:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 178], ["updated_at", Sat, 24 Aug 2013 10:48: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.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 378 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 378 ORDER BY to_date DESC LIMIT 1  (0.8ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:48:35 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 378], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:35 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 378 Started GET "/adherent/members/378/payments/new" for 127.0.0.1 at 2013-08-24 12:48:36 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"378"} 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", "378"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 378 ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 229 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 229 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (30.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (80.5ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 118ms (Views: 95.2ms | ActiveRecord: 3.1ms) Started POST "/adherent/members/378/payments" for 127.0.0.1 at 2013-08-24 12:48:36 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"378"} 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", "378"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 378], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 378 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 378 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 229 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 229 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", 229], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["payment_id", 146], ["updated_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/378/adhesions Completed 302 Found in 29ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/378/adhesions" for 127.0.0.1 at 2013-08-24 12:48:36 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"378"} 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", "378"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 378 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 378  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 229 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 229 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (11.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 20ms (Views: 15.3ms | ActiveRecord: 1.5ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 378  (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.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:48:36 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" = 179) 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", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 179], ["updated_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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" = 179) 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", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 179], ["updated_at", Sat, 24 Aug 2013 10:48:36 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" = 'Adh002' AND "adherent_members"."organism_id" = 179) 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", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 179], ["updated_at", Sat, 24 Aug 2013 10:48: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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 381 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 381 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", #], ["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 381], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"  Started GET "/adherent/members/381/payments/new" for 127.0.0.1 at 2013-08-24 12:48:36 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"381"} 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", "381"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 381 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 230 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 230 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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 18ms (Views: 9.1ms | ActiveRecord: 1.7ms) Started POST "/adherent/members/381/payments" for 127.0.0.1 at 2013-08-24 12:48:36 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"381"} 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", "381"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 381], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 381 LIMIT 1 Adherent::Adhesion Load (4.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 381 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 230 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 230 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", 230], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["payment_id", 147], ["updated_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/381/adhesions Completed 302 Found in 60ms (ActiveRecord: 6.6ms) Started GET "/adherent/members/381/adhesions" for 127.0.0.1 at 2013-08-24 12:48:36 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"381"} 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", "381"]]  (0.6ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 381 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 381  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 230 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 230 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 14ms (Views: 9.3ms | ActiveRecord: 1.7ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.2ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) 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", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:48:36 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" = 180) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 180], ["updated_at", Sat, 24 Aug 2013 10:48:36 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" = 'Adh001' AND "adherent_members"."organism_id" = 180) 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", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 180], ["updated_at", Sat, 24 Aug 2013 10:48:36 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" = 180) 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", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 180], ["updated_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 384 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 384 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", #], ["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 384], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/384/payments/new" for 127.0.0.1 at 2013-08-24 12:48:36 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"384"} 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", "384"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 384 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 231 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 231 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 19ms (Views: 9.6ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/384/payments" for 127.0.0.1 at 2013-08-24 12:48:36 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"384"} 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", "384"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 384], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00]] Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 384 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 384 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 231 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 231 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", 231], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["payment_id", 148], ["updated_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/384/adhesions Completed 302 Found in 15ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/384/adhesions" for 127.0.0.1 at 2013-08-24 12:48:36 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"384"} 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", "384"]]  (0.0ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 384 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 384  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 231 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 231 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.2ms | ActiveRecord: 1.1ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 384 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 231  (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 (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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" = 181) 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", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 181], ["updated_at", Sat, 24 Aug 2013 10:48:36 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" = 181) 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", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 181], ["updated_at", Sat, 24 Aug 2013 10:48:36 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" = 181) 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", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 181], ["updated_at", Sat, 24 Aug 2013 10:48: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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 387 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 387 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", #], ["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 387], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/387/payments/new" for 127.0.0.1 at 2013-08-24 12:48:36 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"387"} Organism Load (0.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", "387"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 387 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 232 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 232 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.7ms | ActiveRecord: 0.9ms) Started POST "/adherent/members/387/payments" for 127.0.0.1 at 2013-08-24 12:48:36 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"387"} 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", "387"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 387], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 387 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 387 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 232 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 232 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", 232], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["payment_id", 149], ["updated_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/387/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/387/adhesions" for 127.0.0.1 at 2013-08-24 12:48:36 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"387"} 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", "387"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 387 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 387  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 232 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 232 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 12ms (Views: 7.6ms | ActiveRecord: 1.6ms) Adherent::Payment Load (1.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 387 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 149  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 149  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.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", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:48:36 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" = 182) 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", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 182], ["updated_at", Sat, 24 Aug 2013 10:48:36 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" = 182) 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", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 182], ["updated_at", Sat, 24 Aug 2013 10:48:36 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" = 182) 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", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 182], ["updated_at", Sat, 24 Aug 2013 10:48: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.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 390 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 390 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", #], ["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 390], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/390/payments/new" for 127.0.0.1 at 2013-08-24 12:48:36 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"390"} 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", "390"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 390 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 233 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 233 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 18ms (Views: 9.2ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/390/payments" for 127.0.0.1 at 2013-08-24 12:48:36 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"390"} 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", "390"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 390], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 390 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 390 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 233 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 233 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", 233], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["payment_id", 150], ["updated_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/390/adhesions Completed 302 Found in 47ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/390/adhesions" for 127.0.0.1 at 2013-08-24 12:48:36 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"390"} 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", "390"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 390 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 390  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 233 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 233 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.2ms) Completed 200 OK in 21ms (Views: 16.3ms | ActiveRecord: 1.4ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 390 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 233  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00]]  (2.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 183) LIMIT 1 SQL (3.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", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 183], ["updated_at", Sat, 24 Aug 2013 10:48:36 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" = 183) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 183], ["updated_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 183) 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", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 183], ["updated_at", Sat, 24 Aug 2013 10:48:36 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 393 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 393 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", #], ["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 393], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/393/payments/new" for 127.0.0.1 at 2013-08-24 12:48:36 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"393"} 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", "393"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 393 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 234 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 234 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 17ms (Views: 10.9ms | ActiveRecord: 1.0ms) Started POST "/adherent/members/393/payments" for 127.0.0.1 at 2013-08-24 12:48:36 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"393"} 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", "393"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 393], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 393 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 393 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 234 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 234 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", 234], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["payment_id", 151], ["updated_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/393/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/393/adhesions" for 127.0.0.1 at 2013-08-24 12:48:36 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"393"} 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", "393"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 393 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 393  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 234 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 234 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: 1.4ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 393 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 394 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 394 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", #], ["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 394], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:36 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" = 395 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 395 ORDER BY to_date DESC LIMIT 1  (0.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 395], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/151/reglements/new" for 127.0.0.1 at 2013-08-24 12:48:36 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"151"} 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", "151"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 393 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 151  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 151 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 234  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 235  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 236 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 151 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 151 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 394 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 235 Adherent::Member Load (1.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 395 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 236 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (19.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 40ms (Views: 26.5ms | ActiveRecord: 4.6ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 393 ORDER BY to_date  (2.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 234 Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 393 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 151  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 151  (0.4ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:48:36 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" = 184) 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", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 184], ["updated_at", Sat, 24 Aug 2013 10:48:36 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" = 184) 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", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 184], ["updated_at", Sat, 24 Aug 2013 10:48:36 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" = 184) 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", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 184], ["updated_at", Sat, 24 Aug 2013 10:48: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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 396 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 396 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", #], ["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 396], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/396/payments/new" for 127.0.0.1 at 2013-08-24 12:48:36 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"396"} 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", "396"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 396 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 237 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 237 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.0ms) Rendered layouts/adherent/_header.html.haml (0.7ms) 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 19ms (Views: 10.3ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/396/payments" for 127.0.0.1 at 2013-08-24 12:48:36 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"396"} 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", "396"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 396], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 396 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 396 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 237 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 237 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", 237], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["payment_id", 152], ["updated_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/396/adhesions Completed 302 Found in 13ms (ActiveRecord: 3.2ms) Started GET "/adherent/members/396/adhesions" for 127.0.0.1 at 2013-08-24 12:48:36 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"396"} Organism Load (1.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", "396"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 396 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 396  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 237 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 237 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: 7.1ms | ActiveRecord: 2.6ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 396 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 397 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 397 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", #], ["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 397], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:36 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" = 398 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 398 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", #], ["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 398], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/152/reglements/new" for 127.0.0.1 at 2013-08-24 12:48:36 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"152"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "152"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 396 LIMIT 1 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 152  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 152 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" = 237  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 238  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 239 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 152 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 152 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 397 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 238 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 398 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 239 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.0ms) Completed 200 OK in 25ms (Views: 12.9ms | ActiveRecord: 3.7ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:48:36 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" = 185) 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", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 185], ["updated_at", Sat, 24 Aug 2013 10:48:36 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" = 185) 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", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 185], ["updated_at", Sat, 24 Aug 2013 10:48:36 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" = 185) 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", Sat, 24 Aug 2013 10:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 185], ["updated_at", Sat, 24 Aug 2013 10:48: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 (2.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 399 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 399 ORDER BY to_date DESC LIMIT 1  (0.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 399], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/399/payments/new" for 127.0.0.1 at 2013-08-24 12:48:37 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"399"} Organism Load (0.3ms) 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", "399"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 399 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 240 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 240 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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 19ms (Views: 10.9ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/399/payments" for 127.0.0.1 at 2013-08-24 12:48:37 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"399"} Organism Load (0.9ms) 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", "399"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 399], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 399 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 399 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 240 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 240 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", 240], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["payment_id", 153], ["updated_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/399/adhesions Completed 302 Found in 15ms (ActiveRecord: 3.1ms) Started GET "/adherent/members/399/adhesions" for 127.0.0.1 at 2013-08-24 12:48:37 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"399"} 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"."id" = $1 LIMIT 1 [["id", "399"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 399 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 399  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 240 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 240 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: 6.9ms | ActiveRecord: 2.4ms) Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 399 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 400 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 400 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", #], ["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 400], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:37 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" = 401 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 401 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", #], ["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 401], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/153/reglements/new" for 127.0.0.1 at 2013-08-24 12:48:37 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"153"} 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", "153"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 399 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 153  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 153 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (1.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 240  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 241  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 242 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 153 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 153 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 400 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 241 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 401 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 242 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (41.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 55ms (Views: 45.0ms | ActiveRecord: 3.9ms)  (0.1ms) 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", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:48:37 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" = 186) 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", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 186], ["updated_at", Sat, 24 Aug 2013 10:48:37 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" = 186) 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", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 186], ["updated_at", Sat, 24 Aug 2013 10:48:37 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" = 186) 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", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 186], ["updated_at", Sat, 24 Aug 2013 10:48:37 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" = 402 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 402 ORDER BY to_date DESC LIMIT 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", #], ["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 402], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/402/payments/new" for 127.0.0.1 at 2013-08-24 12:48:37 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"402"} 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", "402"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 402 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 243 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 243 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.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: 1.1ms) Started POST "/adherent/members/402/payments" for 127.0.0.1 at 2013-08-24 12:48:37 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"402"} 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", "402"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 402], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 402 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 402 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 243 CACHE (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 243 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", 243], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["payment_id", 154], ["updated_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/402/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/402/adhesions" for 127.0.0.1 at 2013-08-24 12:48:37 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"402"} 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", "402"]]  (0.1ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 402 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 402  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 243 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 243 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 11ms (Views: 7.6ms | ActiveRecord: 1.3ms) Adherent::Payment Load (1.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 402 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 403 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 403 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", #], ["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 403], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:37 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" = 404 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 404 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", #], ["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 404], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/154/reglements/new" for 127.0.0.1 at 2013-08-24 12:48:37 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"154"} 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", "154"]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 402 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 154  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 154 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" = 243  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 244  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 245 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 154 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 154 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 403 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 244 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 404 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 245 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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: 13.7ms | ActiveRecord: 3.2ms)  (0.2ms) 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", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:48:37 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" = 187) 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", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 187], ["updated_at", Sat, 24 Aug 2013 10:48:37 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" = 187) 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", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 187], ["updated_at", Sat, 24 Aug 2013 10:48:37 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" = 187) 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", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 187], ["updated_at", Sat, 24 Aug 2013 10:48:37 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" = 405 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 405 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", #], ["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 405], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/405/payments/new" for 127.0.0.1 at 2013-08-24 12:48:37 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"405"} 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", "405"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 405 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 246 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 246 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (11.2ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (1.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 26ms (Views: 16.4ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/405/payments" for 127.0.0.1 at 2013-08-24 12:48:37 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"405"} 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", "405"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 405], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 405 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 405 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 246 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 246 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", 246], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["payment_id", 155], ["updated_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/405/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/405/adhesions" for 127.0.0.1 at 2013-08-24 12:48:37 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"405"} 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", "405"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 405 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 405  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 246 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 246 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 12ms (Views: 8.0ms | ActiveRecord: 1.3ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 405 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 406 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 406 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", #], ["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 406], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:37 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" = 407 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 407 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", #], ["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 407], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/155/reglements/new" for 127.0.0.1 at 2013-08-24 12:48:37 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"155"} 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", "155"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 405 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 155  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 155 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 246  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 247  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 248 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 155 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 155 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 406 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 247 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 407 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 248 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.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 23ms (Views: 13.6ms | ActiveRecord: 3.0ms) Started POST "/adherent/payments/155/reglements" for 127.0.0.1 at 2013-08-24 12:48:37 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"247"}, "commit"=>"Enregistrer", "payment_id"=>"155"} 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", "155"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "247"]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 247  (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", 247], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["payment_id", 155], ["updated_at", Sat, 24 Aug 2013 10:48:37 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" = 405 LIMIT 1 Redirected to http://www.example.com/adherent/members/405/payments Completed 302 Found in 9ms (ActiveRecord: 2.0ms) Started GET "/adherent/members/405/payments" for 127.0.0.1 at 2013-08-24 12:48:37 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"405"} 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", "405"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 405 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 155 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 247 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 406 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 246 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 405 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 155  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 155 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 155 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 155 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 29ms (Views: 22.7ms | ActiveRecord: 3.0ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 406 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 247  (0.1ms) 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", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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" = 188) 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", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 188], ["updated_at", Sat, 24 Aug 2013 10:48:37 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" = 188) 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", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 188], ["updated_at", Sat, 24 Aug 2013 10:48:37 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" = 188) 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", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 188], ["updated_at", Sat, 24 Aug 2013 10:48:37 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" = 408 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 408 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", #], ["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 408], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/408/payments/new" for 127.0.0.1 at 2013-08-24 12:48:37 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"408"} 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", "408"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 408 ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 249 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 249 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.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.0ms) Completed 200 OK in 18ms (Views: 8.6ms | ActiveRecord: 1.6ms) Started POST "/adherent/members/408/payments" for 127.0.0.1 at 2013-08-24 12:48:37 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"408"} 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", "408"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 408], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 408 LIMIT 1 Adherent::Adhesion Load (1.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 408 ORDER BY to_date  (1.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 249 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 249 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", 249], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["payment_id", 156], ["updated_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/408/adhesions Completed 302 Found in 16ms (ActiveRecord: 5.3ms) Started GET "/adherent/members/408/adhesions" for 127.0.0.1 at 2013-08-24 12:48:37 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"408"} 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", "408"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 408 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 408  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 249 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 249 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: 1.2ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 408 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 409 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 409 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", #], ["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 409], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:37 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" = 410 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 410 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", #], ["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 410], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/156/reglements/new" for 127.0.0.1 at 2013-08-24 12:48:37 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"156"} 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", "156"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 408 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 156  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 156 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" = 249  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 250  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 251 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 156 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 156 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 409 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 250 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 410 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 251 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.8ms) Rendered layouts/adherent/_header.html.haml (0.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 58ms (Views: 46.7ms | ActiveRecord: 3.3ms) Started POST "/adherent/payments/156/reglements" for 127.0.0.1 at 2013-08-24 12:48:37 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"250"}, "commit"=>"Enregistrer", "payment_id"=>"156"} Organism Load (0.5ms) 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", "156"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "250"]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 250  (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", 250], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["payment_id", 156], ["updated_at", Sat, 24 Aug 2013 10:48:37 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" = 408 LIMIT 1 Redirected to http://www.example.com/adherent/members/408/payments Completed 302 Found in 9ms (ActiveRecord: 1.9ms) Started GET "/adherent/members/408/payments" for 127.0.0.1 at 2013-08-24 12:48:37 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"408"} 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", "408"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 408 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 156 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 250 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 409 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 249 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 408 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 156  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 156 Adherent::Reglement Load (0.9ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 156 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 156 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: 15.3ms | ActiveRecord: 3.5ms)  (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", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:48:37 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" = 189) 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", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 189], ["updated_at", Sat, 24 Aug 2013 10:48:37 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" = 189) 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", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 189], ["updated_at", Sat, 24 Aug 2013 10:48:37 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" = 189) 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", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 189], ["updated_at", Sat, 24 Aug 2013 10:48:37 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" = 411 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 411 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", #], ["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 411], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/411/payments/new" for 127.0.0.1 at 2013-08-24 12:48:37 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"411"} Organism Load (3.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", "411"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 411 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 252 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 252 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 20ms (Views: 10.0ms | ActiveRecord: 4.5ms) Started POST "/adherent/members/411/payments" for 127.0.0.1 at 2013-08-24 12:48:37 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"411"} 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", "411"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 411], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 411 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 411 ORDER BY to_date  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 252 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 252 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", 252], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["payment_id", 157], ["updated_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/411/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/411/adhesions" for 127.0.0.1 at 2013-08-24 12:48:37 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"411"} 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", "411"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 411 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 411  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 252 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 252 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: 8.9ms | ActiveRecord: 1.5ms) Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 411 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 252  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 252  (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 (0.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 10:48:37 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" = 190) 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", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 190], ["updated_at", Sat, 24 Aug 2013 10:48:37 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" = 190) 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", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 190], ["updated_at", Sat, 24 Aug 2013 10:48:37 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" = 190) 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", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 190], ["updated_at", Sat, 24 Aug 2013 10:48:37 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" = 414 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 414 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", #], ["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 414], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/414/payments/new" for 127.0.0.1 at 2013-08-24 12:48:37 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"414"} Organism Load (0.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", "414"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 414 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 253 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 253 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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: 10.1ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/414/payments" for 127.0.0.1 at 2013-08-24 12:48:37 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"414"} 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", "414"]]  (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", #], ["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 414], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 414 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 414 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 253 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 253 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", 253], ["amount", #], ["created_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00], ["payment_id", 158], ["updated_at", Sat, 24 Aug 2013 10:48:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/414/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/414/adhesions" for 127.0.0.1 at 2013-08-24 12:48:37 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"414"} 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", "414"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 414 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 414  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 253 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 253 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: 8.4ms | ActiveRecord: 2.0ms) Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 414 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 253  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (3.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:40:17 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" = 'Adh000' AND "adherent_members"."organism_id" = 191) 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", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 191], ["updated_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 191) 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", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 191], ["updated_at", Sat, 24 Aug 2013 12:40:17 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" = 'Adh002' AND "adherent_members"."organism_id" = 191) 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", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 191], ["updated_at", Sat, 24 Aug 2013 12:40:17 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" = 417 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 417 ORDER BY to_date DESC LIMIT 1  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 417], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/417/payments/new" for 127.0.0.1 at 2013-08-24 14:40:17 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"417"} Organism Load (0.3ms) 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", "417"]] Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 417 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 254 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 254 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (30.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (81.4ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (7.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (3.6ms) Completed 200 OK in 179ms (Views: 145.9ms | ActiveRecord: 5.4ms) Started POST "/adherent/members/417/payments" for 127.0.0.1 at 2013-08-24 14:40:17 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"417"} 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", "417"]]  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 417], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 417 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 417 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 254 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 254 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 254], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["payment_id", 159], ["updated_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/417/adhesions Completed 302 Found in 31ms (ActiveRecord: 4.4ms) Started GET "/adherent/members/417/adhesions" for 127.0.0.1 at 2013-08-24 14:40:17 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"417"} 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", "417"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 417 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 417  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 254 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 254 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (11.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 20ms (Views: 15.1ms | ActiveRecord: 1.4ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 417 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 254  (0.4ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00]]  (0.1ms) 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" = 192) 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", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 192], ["updated_at", Sat, 24 Aug 2013 12:40:17 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" = 'Adh001' AND "adherent_members"."organism_id" = 192) 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", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 192], ["updated_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 192) 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", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 192], ["updated_at", Sat, 24 Aug 2013 12:40:17 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" = 420 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 420 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", #], ["created_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 420], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/420/payments/new" for 127.0.0.1 at 2013-08-24 14:40:17 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"420"} 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", "420"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 420 ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 255 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 255 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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 20ms (Views: 8.0ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/420/payments" for 127.0.0.1 at 2013-08-24 14:40:17 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"420"} 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", "420"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 420], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00]] Adherent::Member Load (3.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 420 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 420 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 255 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 255 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", 255], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["payment_id", 160], ["updated_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/420/adhesions Completed 302 Found in 76ms (ActiveRecord: 5.8ms) Started GET "/adherent/members/420/adhesions" for 127.0.0.1 at 2013-08-24 14:40:17 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"420"} 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", "420"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 420 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 420  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 255 CACHE (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 255 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.1ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 420 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 255  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 255  (0.3ms) 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", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:40:17 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" = 193) 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", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 193], ["updated_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00]]  (0.5ms) 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" = 'Adh001' AND "adherent_members"."organism_id" = 193) 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", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 193], ["updated_at", Sat, 24 Aug 2013 12:40:17 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" = 193) 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", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 193], ["updated_at", Sat, 24 Aug 2013 12:40:17 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" = 423 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 423 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", #], ["created_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 423], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/423/payments/new" for 127.0.0.1 at 2013-08-24 14:40:17 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"423"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "423"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 423 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 256 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 256 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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 21ms (Views: 10.0ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/423/payments" for 127.0.0.1 at 2013-08-24 14:40:17 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"423"} 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", "423"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 423], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 423 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 423 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 256 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 256 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", 256], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["payment_id", 161], ["updated_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/423/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/423/adhesions" for 127.0.0.1 at 2013-08-24 14:40:17 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"423"} 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", "423"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 423 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 423  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 256 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 256 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 13ms (Views: 8.2ms | ActiveRecord: 1.3ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 423 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 256  (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", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00]]  (0.1ms) 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" = 194) 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", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 194], ["updated_at", Sat, 24 Aug 2013 12:40:17 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" = 194) 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", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 194], ["updated_at", Sat, 24 Aug 2013 12:40:17 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" = 194) 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", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 194], ["updated_at", Sat, 24 Aug 2013 12:40:17 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" = 426 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 426 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", #], ["created_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 426], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "adherent_reglements" Started GET "/adherent/members/426/payments/new" for 127.0.0.1 at 2013-08-24 14:40:17 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"426"} Organism Load (0.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", "426"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 426 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 257 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 257 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.6ms) 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 18ms (Views: 9.5ms | ActiveRecord: 1.9ms) Started POST "/adherent/members/426/payments" for 127.0.0.1 at 2013-08-24 14:40:17 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"426"} 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", "426"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 426], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 426 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 426 ORDER BY to_date  (2.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 257 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 257 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 257], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["payment_id", 162], ["updated_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/426/adhesions Completed 302 Found in 13ms (ActiveRecord: 3.9ms) Started GET "/adherent/members/426/adhesions" for 127.0.0.1 at 2013-08-24 14:40:17 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"426"} 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", "426"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 426 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 426  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 257 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 257 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: 1.2ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.1ms) 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", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:40:17 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" = 195) 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", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 195], ["updated_at", Sat, 24 Aug 2013 12:40:17 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" = 195) 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", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 195], ["updated_at", Sat, 24 Aug 2013 12:40:17 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" = 195) 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", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 195], ["updated_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00]]  (0.7ms) 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" = 429 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 429 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", #], ["created_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 429], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 429 Started GET "/adherent/members/429/payments/new" for 127.0.0.1 at 2013-08-24 14:40:17 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"429"} 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", "429"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 429 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 258 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 258 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.0ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.4ms) 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.0ms) Started POST "/adherent/members/429/payments" for 127.0.0.1 at 2013-08-24 14:40:17 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"429"} 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", "429"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 429], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 429 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 429 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 258 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 258 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", 258], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["payment_id", 163], ["updated_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/429/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/429/adhesions" for 127.0.0.1 at 2013-08-24 14:40:17 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"429"} 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", "429"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 429 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 429  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 258 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 258 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.6ms | ActiveRecord: 1.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 429  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:40:17 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" = 196) 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", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 196], ["updated_at", Sat, 24 Aug 2013 12:40:17 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" = 196) 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", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 196], ["updated_at", Sat, 24 Aug 2013 12:40:17 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" = 196) 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", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 196], ["updated_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00]]  (0.6ms) 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" = 432 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 432 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", #], ["created_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 432], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/432/payments/new" for 127.0.0.1 at 2013-08-24 14:40:17 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"432"} 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", "432"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 432 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 259 CACHE (1.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 259 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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 18ms (Views: 8.0ms | ActiveRecord: 2.2ms) Started POST "/adherent/members/432/payments" for 127.0.0.1 at 2013-08-24 14:40:17 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"432"} 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", "432"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 432], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 432 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 432 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 259 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 259 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", 259], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00], ["payment_id", 164], ["updated_at", Sat, 24 Aug 2013 12:40:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/432/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/432/adhesions" for 127.0.0.1 at 2013-08-24 14:40:17 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"432"} 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", "432"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 432 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 432  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 259 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 259 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 11ms (Views: 7.1ms | ActiveRecord: 1.3ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 432 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 259  (0.1ms) 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", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:40:18 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" = 197) 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", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 197], ["updated_at", Sat, 24 Aug 2013 12:40:18 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" = 197) 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", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 197], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]]  (0.0ms) 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" = 197) 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", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 197], ["updated_at", Sat, 24 Aug 2013 12:40:18 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" = 435 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 435 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", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 435], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/435/payments/new" for 127.0.0.1 at 2013-08-24 14:40:18 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"435"} 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", "435"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 435 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 260 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 260 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 18ms (Views: 10.4ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/435/payments" for 127.0.0.1 at 2013-08-24 14:40:18 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"435"} 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", "435"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 435], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 435 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 435 ORDER BY to_date  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 260 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 260 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", 260], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["payment_id", 165], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/435/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/435/adhesions" for 127.0.0.1 at 2013-08-24 14:40:18 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"435"} 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", "435"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 435 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 435  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 260 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 260 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: 7.1ms | ActiveRecord: 1.5ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 435 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 165  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 165  (0.2ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:40:18 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" = 198) 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", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 198], ["updated_at", Sat, 24 Aug 2013 12:40:18 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" = 'Adh001' AND "adherent_members"."organism_id" = 198) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 198], ["updated_at", Sat, 24 Aug 2013 12:40:18 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" = 198) 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", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 198], ["updated_at", Sat, 24 Aug 2013 12:40:18 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.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 438 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 438 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", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 438], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/438/payments/new" for 127.0.0.1 at 2013-08-24 14:40:18 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"438"} 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", "438"]] Adherent::Adhesion Load (2.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 438 ORDER BY to_date  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 261 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 261 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (15.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 41ms (Views: 20.4ms | ActiveRecord: 3.6ms) Started POST "/adherent/members/438/payments" for 127.0.0.1 at 2013-08-24 14:40:18 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"438"} Organism Load (4.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", "438"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 438], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]] Adherent::Member Load (4.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 438 LIMIT 1 Adherent::Adhesion Load (1.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 438 ORDER BY to_date  (1.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 261 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 261 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", 261], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["payment_id", 166], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/438/adhesions Completed 302 Found in 34ms (ActiveRecord: 18.8ms) Started GET "/adherent/members/438/adhesions" for 127.0.0.1 at 2013-08-24 14:40:18 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"438"} Organism Load (2.8ms) 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", "438"]]  (0.6ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 438 Adherent::Adhesion Load (5.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 438  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 261 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 261 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: 10.4ms | ActiveRecord: 9.3ms) Adherent::Payment Load (6.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 438 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (2.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 439 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 439 ORDER BY to_date DESC LIMIT 1  (3.1ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 439], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 440 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 440 ORDER BY to_date DESC LIMIT 1  (1.1ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 440], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/166/reglements/new" for 127.0.0.1 at 2013-08-24 14:40:18 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"166"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (1.0ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "166"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 438 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 166  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 166 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 261  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 262  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 263 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 166 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 166 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 439 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 262 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 440 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 263 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (18.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 38ms (Views: 27.0ms | ActiveRecord: 4.5ms)  (0.1ms) 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.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:40:18 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" = 199) 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", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 199], ["updated_at", Sat, 24 Aug 2013 12:40:18 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" = 199) 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", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 199], ["updated_at", Sat, 24 Aug 2013 12:40:18 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" = 'Adh002' AND "adherent_members"."organism_id" = 199) 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", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 199], ["updated_at", Sat, 24 Aug 2013 12:40:18 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" = 441 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 441 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", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 441], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/441/payments/new" for 127.0.0.1 at 2013-08-24 14:40:18 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"441"} Organism Load (0.5ms) 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"."id" = $1 LIMIT 1 [["id", "441"]] Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 441 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 264 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 264 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 18ms (Views: 10.7ms | ActiveRecord: 2.0ms) Started POST "/adherent/members/441/payments" for 127.0.0.1 at 2013-08-24 14:40:18 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"441"} 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", "441"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 441], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 441 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 441 ORDER BY to_date  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 264 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 264 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", 264], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["payment_id", 167], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/441/adhesions Completed 302 Found in 14ms (ActiveRecord: 3.2ms) Started GET "/adherent/members/441/adhesions" for 127.0.0.1 at 2013-08-24 14:40:18 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"441"} 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", "441"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 441 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 441  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 264 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 264 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: 7.6ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 441 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 442 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 442 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 442], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 443 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 443 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", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 443], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/167/reglements/new" for 127.0.0.1 at 2013-08-24 14:40:18 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"167"} 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", "167"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 441 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 167  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 167 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" = 264  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 265  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 266 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 167 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 167 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 442 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 265 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 443 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 266 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.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 23ms (Views: 12.1ms | ActiveRecord: 3.0ms) Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 441 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 264 Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 441 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 167  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 167  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:40:18 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" = 200) 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", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 200], ["updated_at", Sat, 24 Aug 2013 12:40:18 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" = 200) 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", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 200], ["updated_at", Sat, 24 Aug 2013 12:40:18 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" = 200) 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", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 200], ["updated_at", Sat, 24 Aug 2013 12:40:18 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" = 444 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 444 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", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 444], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/444/payments/new" for 127.0.0.1 at 2013-08-24 14:40:18 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"444"} 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", "444"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 444 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 267 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 267 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 18ms (Views: 8.9ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/444/payments" for 127.0.0.1 at 2013-08-24 14:40:18 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"444"} 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", "444"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 444], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 444 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 444 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 267 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 267 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", 267], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["payment_id", 168], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/444/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/444/adhesions" for 127.0.0.1 at 2013-08-24 14:40:18 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"444"} 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", "444"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 444 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 444  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 267 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 267 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 11ms (Views: 7.6ms | ActiveRecord: 1.0ms) Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 444 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 445 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 445 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", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 445], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:18 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" = 446 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 446 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", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 446], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/168/reglements/new" for 127.0.0.1 at 2013-08-24 14:40:18 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"168"} 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", "168"]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 444 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 168  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 168 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 267  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 268  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 269 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 168 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 168 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 445 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 268 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 446 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 269 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 24ms (Views: 13.0ms | ActiveRecord: 3.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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (5.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 201) 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", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 201], ["updated_at", Sat, 24 Aug 2013 12:40:18 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" = 201) 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", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 201], ["updated_at", Sat, 24 Aug 2013 12:40:18 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" = 201) 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", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 201], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]]  (0.2ms) 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" = 447 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 447 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", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 447], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/447/payments/new" for 127.0.0.1 at 2013-08-24 14:40:18 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"447"} 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", "447"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 447 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 270 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 270 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.4ms) Completed 200 OK in 16ms (Views: 10.6ms | ActiveRecord: 1.0ms) Started POST "/adherent/members/447/payments" for 127.0.0.1 at 2013-08-24 14:40:18 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"447"} 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", "447"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 447], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 447 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 447 ORDER BY to_date  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 270 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 270 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", 270], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["payment_id", 169], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/447/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/447/adhesions" for 127.0.0.1 at 2013-08-24 14:40:18 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"447"} 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", "447"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 447 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 447  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 270 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 270 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.2ms | ActiveRecord: 1.6ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 447 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 448 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 448 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", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 448], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 449 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 449 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", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 449], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/169/reglements/new" for 127.0.0.1 at 2013-08-24 14:40:18 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"169"} 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", "169"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 447 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 169  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 169 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" = 270  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 271  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 272 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 169 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 169 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 448 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 271 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 449 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 272 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 25ms (Views: 15.4ms | ActiveRecord: 2.7ms)  (0.2ms) 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.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:40:18 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" = 202) 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", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 202], ["updated_at", Sat, 24 Aug 2013 12:40:18 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" = 202) 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", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 202], ["updated_at", Sat, 24 Aug 2013 12:40:18 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" = 202) 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", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 202], ["updated_at", Sat, 24 Aug 2013 12:40:18 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" = 450 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 450 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", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 450], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/450/payments/new" for 127.0.0.1 at 2013-08-24 14:40:18 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"450"} 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", "450"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 450 ORDER BY to_date  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 273 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 273 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.0ms | ActiveRecord: 1.6ms) Started POST "/adherent/members/450/payments" for 127.0.0.1 at 2013-08-24 14:40:18 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"450"} 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", "450"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 450], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 450 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 450 ORDER BY to_date  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 273 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 273 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", 273], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["payment_id", 170], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/450/adhesions Completed 302 Found in 12ms (ActiveRecord: 2.1ms) Started GET "/adherent/members/450/adhesions" for 127.0.0.1 at 2013-08-24 14:40:18 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"450"} 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", "450"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 450 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 450  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 273 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 273 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 11ms (Views: 7.3ms | ActiveRecord: 1.3ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 450 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 451 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 451 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", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 451], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:18 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" = 452 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 452 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", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 452], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/170/reglements/new" for 127.0.0.1 at 2013-08-24 14:40:18 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"170"} 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", "170"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 450 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 170  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 170 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" = 273  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 274  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 275 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 170 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 170 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 451 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 274 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 452 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 275 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 24ms (Views: 12.8ms | ActiveRecord: 3.2ms) Started POST "/adherent/payments/170/reglements" for 127.0.0.1 at 2013-08-24 14:40:18 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"274"}, "commit"=>"Enregistrer", "payment_id"=>"170"} 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", "170"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "274"]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 274  (0.1ms) SAVEPOINT active_record_1 SQL (2.0ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 274], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["payment_id", 170], ["updated_at", Sat, 24 Aug 2013 12:40:18 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" = 450 LIMIT 1 Redirected to http://www.example.com/adherent/members/450/payments Completed 302 Found in 12ms (ActiveRecord: 3.7ms) Started GET "/adherent/members/450/payments" for 127.0.0.1 at 2013-08-24 14:40:18 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"450"} 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", "450"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 450 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 170 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 274 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 451 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 273 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 450 LIMIT 1 Adherent::Reglement Load (0.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 170  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 170 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 170 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 170 Rendered layouts/adherent/_header.html.haml (1.9ms) 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: 24.8ms | ActiveRecord: 2.7ms) Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 451 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 274  (0.4ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:40:18 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" = 203) 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", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 203], ["updated_at", Sat, 24 Aug 2013 12:40:18 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" = 203) 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", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 203], ["updated_at", Sat, 24 Aug 2013 12:40:18 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" = 203) 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", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 203], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 453 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 453 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", #], ["created_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 453], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/453/payments/new" for 127.0.0.1 at 2013-08-24 14:40:18 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"453"} 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", "453"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 453 ORDER BY to_date  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 276 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 276 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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 18ms (Views: 7.7ms | ActiveRecord: 1.7ms) Started POST "/adherent/members/453/payments" for 127.0.0.1 at 2013-08-24 14:40:19 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"453"} Organism Load (0.3ms) 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", "453"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:40:19 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 453], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:40:19 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 453 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 453 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 276 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 276 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", 276], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:40:19 UTC +00:00], ["payment_id", 171], ["updated_at", Sat, 24 Aug 2013 12:40:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/453/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/453/adhesions" for 127.0.0.1 at 2013-08-24 14:40:19 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"453"} 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", "453"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 453 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 453  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 276 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 276 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.0ms) Completed 200 OK in 11ms (Views: 6.9ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 453 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 454 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 454 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", #], ["created_at", Sat, 24 Aug 2013 12:40:19 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 454], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:19 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" = 455 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 455 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", #], ["created_at", Sat, 24 Aug 2013 12:40:19 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 455], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/171/reglements/new" for 127.0.0.1 at 2013-08-24 14:40:19 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"171"} 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", "171"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 453 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 171  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 171 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 276  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 277  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 278 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 171 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 171 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 454 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 277 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 455 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 278 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 26ms (Views: 13.6ms | ActiveRecord: 3.6ms) Started POST "/adherent/payments/171/reglements" for 127.0.0.1 at 2013-08-24 14:40:19 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"277"}, "commit"=>"Enregistrer", "payment_id"=>"171"} Organism Load (0.5ms) 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", "171"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "277"]]  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 277  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 277], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:40:19 UTC +00:00], ["payment_id", 171], ["updated_at", Sat, 24 Aug 2013 12:40:19 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" = 453 LIMIT 1 Redirected to http://www.example.com/adherent/members/453/payments Completed 302 Found in 18ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/453/payments" for 127.0.0.1 at 2013-08-24 14:40:19 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"453"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (3.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "453"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 453 Adherent::Reglement Load (0.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 171 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 277 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 454 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 276 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 453 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 171  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 171 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 171 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 171 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 31ms (Views: 18.3ms | ActiveRecord: 7.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) 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", Sat, 24 Aug 2013 12:40:19 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:40:19 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" = 204) 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", Sat, 24 Aug 2013 12:40:19 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 204], ["updated_at", Sat, 24 Aug 2013 12:40:19 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" = 204) 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", Sat, 24 Aug 2013 12:40:19 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 204], ["updated_at", Sat, 24 Aug 2013 12:40:19 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" = 204) 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", Sat, 24 Aug 2013 12:40:19 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 204], ["updated_at", Sat, 24 Aug 2013 12:40:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 456 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 456 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", #], ["created_at", Sat, 24 Aug 2013 12:40:19 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 456], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/456/payments/new" for 127.0.0.1 at 2013-08-24 14:40:19 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"456"} 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", "456"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 456 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 279 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 279 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.5ms) Completed 200 OK in 23ms (Views: 13.7ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/456/payments" for 127.0.0.1 at 2013-08-24 14:40:19 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"456"} 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", "456"]]  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:40:19 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 456], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:40:19 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 456 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 456 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 279 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 279 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", 279], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:40:19 UTC +00:00], ["payment_id", 172], ["updated_at", Sat, 24 Aug 2013 12:40:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/456/adhesions Completed 302 Found in 15ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/456/adhesions" for 127.0.0.1 at 2013-08-24 14:40:19 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"456"} 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", "456"]]  (1.0ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 456 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 456  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 279 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 279 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: 6.7ms | ActiveRecord: 2.3ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 456 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 457 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 457 ORDER BY to_date DESC LIMIT 1  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:40:19 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 457], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:19 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" = 458 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 458 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", #], ["created_at", Sat, 24 Aug 2013 12:40:19 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 458], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/172/reglements/new" for 127.0.0.1 at 2013-08-24 14:40:19 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"172"} 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", "172"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 456 LIMIT 1 Adherent::Reglement Load (0.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 172  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 172 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" = 279  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 280  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 281 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 172 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 172 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 457 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 280 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 458 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 281 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (10.4ms) 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 26ms (Views: 14.6ms | ActiveRecord: 3.8ms) Started POST "/adherent/payments/172/reglements" for 127.0.0.1 at 2013-08-24 14:40:19 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"280"}, "commit"=>"Enregistrer", "payment_id"=>"172"} 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", "172"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "280"]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 280  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 280], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:40:19 UTC +00:00], ["payment_id", 172], ["updated_at", Sat, 24 Aug 2013 12:40:19 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" = 456 LIMIT 1 Redirected to http://www.example.com/adherent/members/456/payments Completed 302 Found in 9ms (ActiveRecord: 1.7ms) Started GET "/adherent/members/456/payments" for 127.0.0.1 at 2013-08-24 14:40:19 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"456"} 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", "456"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 456 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 172 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 280 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 457 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 279 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 456 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 172  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 172 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 172 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 172 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.9ms)  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (12.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:40:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:40:50 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" = 205) 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", Sat, 24 Aug 2013 12:40:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 205], ["updated_at", Sat, 24 Aug 2013 12:40:50 UTC +00:00]]  (0.3ms) 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" = 205) 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", Sat, 24 Aug 2013 12:40:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 205], ["updated_at", Sat, 24 Aug 2013 12:40:50 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" = 'Adh002' AND "adherent_members"."organism_id" = 205) 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", Sat, 24 Aug 2013 12:40:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 205], ["updated_at", Sat, 24 Aug 2013 12:40:50 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 459 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 459 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", #], ["created_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 459], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/459/payments/new" for 127.0.0.1 at 2013-08-24 14:40:51 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"459"} 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", "459"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 459 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 282 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 282 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (30.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (78.7ms) Rendered layouts/adherent/_header.html.haml (1.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (1.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.9ms) Completed 200 OK in 121ms (Views: 93.7ms | ActiveRecord: 4.5ms) Started POST "/adherent/members/459/payments" for 127.0.0.1 at 2013-08-24 14:40:51 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"459"} 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", "459"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 459], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00]] Adherent::Member Load (1.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 459 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 459 ORDER BY to_date  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 282 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 282 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 282], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00], ["payment_id", 173], ["updated_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/459/adhesions Completed 302 Found in 28ms (ActiveRecord: 4.3ms) Started GET "/adherent/members/459/adhesions" for 127.0.0.1 at 2013-08-24 14:40:51 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"459"} 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", "459"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 459 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 459  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 282 CACHE (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 282 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (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 20ms (Views: 15.6ms | ActiveRecord: 1.6ms) Adherent::Payment Load (1.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 459 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 460 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 460 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", #], ["created_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 460], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:51 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" = 461 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 461 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", #], ["created_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 461], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/173/reglements/new" for 127.0.0.1 at 2013-08-24 14:40:51 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"173"} Organism Load (0.4ms) 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", "173"]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 459 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 173  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 173 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" = 282  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 283  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 284 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 173 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 173 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 460 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 283 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 461 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 284 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (19.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/new.html.erb within layouts/adherent/application (23.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 44ms (Views: 28.6ms | ActiveRecord: 3.8ms) Started POST "/adherent/payments/173/reglements" for 127.0.0.1 at 2013-08-24 14:40:51 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"283"}, "commit"=>"Enregistrer", "payment_id"=>"173"} 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", "173"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "283"]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 283  (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", 283], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00], ["payment_id", 173], ["updated_at", Sat, 24 Aug 2013 12:40:51 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" = 459 LIMIT 1 Redirected to http://www.example.com/adherent/members/459/payments Completed 302 Found in 10ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/459/payments" for 127.0.0.1 at 2013-08-24 14:40:51 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"459"} 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", "459"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 459 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 173 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 283 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 460 LIMIT 1 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 282 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 459 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 173  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 173 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 173 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 173 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/index.html.haml within layouts/adherent/application (22.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.0ms) Completed 200 OK in 28ms (Views: 23.1ms | ActiveRecord: 3.1ms) Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements"   (1.9ms) 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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:40:51 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" = 'Adh000' AND "adherent_members"."organism_id" = 206) 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", Sat, 24 Aug 2013 12:40:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 206], ["updated_at", Sat, 24 Aug 2013 12:40:51 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" = 206) 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", Sat, 24 Aug 2013 12:40:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 206], ["updated_at", Sat, 24 Aug 2013 12:40:51 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" = 206) 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", Sat, 24 Aug 2013 12:40:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 206], ["updated_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 462 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 462 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", #], ["created_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 462], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/462/payments/new" for 127.0.0.1 at 2013-08-24 14:40:51 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"462"} 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", "462"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 462 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 285 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 285 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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.3ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/462/payments" for 127.0.0.1 at 2013-08-24 14:40:51 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"462"} 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", "462"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 462], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 462 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 462 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 285 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 285 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", 285], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00], ["payment_id", 174], ["updated_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/462/adhesions Completed 302 Found in 14ms (ActiveRecord: 3.2ms) Started GET "/adherent/members/462/adhesions" for 127.0.0.1 at 2013-08-24 14:40:51 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"462"} 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", "462"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 462 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 462  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 285 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 285 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 12ms (Views: 7.7ms | ActiveRecord: 1.2ms) Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 462 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 463 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 463 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", #], ["created_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 463], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:51 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" = 464 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 464 ORDER BY to_date DESC LIMIT 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", #], ["created_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 464], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/174/reglements/new" for 127.0.0.1 at 2013-08-24 14:40:51 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"174"} 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", "174"]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 462 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 174  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 174 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 285  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 286  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 287 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 174 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 174 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 463 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 286 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 464 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 287 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.0ms) 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 23ms (Views: 13.1ms | ActiveRecord: 3.1ms) Started POST "/adherent/payments/174/reglements" for 127.0.0.1 at 2013-08-24 14:40:51 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"286"}, "commit"=>"Enregistrer", "payment_id"=>"174"} 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", "174"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "286"]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 286  (0.0ms) 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", 286], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00], ["payment_id", 174], ["updated_at", Sat, 24 Aug 2013 12:40:51 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" = 462 LIMIT 1 Redirected to http://www.example.com/adherent/members/462/payments Completed 302 Found in 8ms (ActiveRecord: 1.8ms) Started GET "/adherent/members/462/payments" for 127.0.0.1 at 2013-08-24 14:40:51 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"462"} 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", "462"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 462 Adherent::Reglement Load (1.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 174 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 286 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 463 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 285 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 462 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 174  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 174 Adherent::Reglement Load (0.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 174 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 174 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: 12.7ms | ActiveRecord: 4.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.4ms) 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 12:40:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:40:51 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" = 207) 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", Sat, 24 Aug 2013 12:40:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 207], ["updated_at", Sat, 24 Aug 2013 12:40:51 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" = 207) 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", Sat, 24 Aug 2013 12:40:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 207], ["updated_at", Sat, 24 Aug 2013 12:40:51 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" = 207) 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", Sat, 24 Aug 2013 12:40:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 207], ["updated_at", Sat, 24 Aug 2013 12:40:51 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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 465 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 465 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", #], ["created_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 465], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/465/payments/new" for 127.0.0.1 at 2013-08-24 14:40:51 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"465"} 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", "465"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 465 ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 288 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 288 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 18ms (Views: 8.9ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/465/payments" for 127.0.0.1 at 2013-08-24 14:40:51 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"465"} Organism Load (0.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "465"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 465], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 465 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 465 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 288 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 288 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", 288], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00], ["payment_id", 175], ["updated_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/465/adhesions Completed 302 Found in 15ms (ActiveRecord: 3.7ms) Started GET "/adherent/members/465/adhesions" for 127.0.0.1 at 2013-08-24 14:40:51 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"465"} 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", "465"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 465 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 465  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 288 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 288 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: 7.2ms | ActiveRecord: 1.2ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 465 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 466 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 466 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", #], ["created_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 466], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:51 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" = 467 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 467 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", #], ["created_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 467], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/175/reglements/new" for 127.0.0.1 at 2013-08-24 14:40:51 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"175"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "175"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 465 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 175  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 175 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 288  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 289  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 290 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 175 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 175 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 466 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 289 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 467 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 290 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.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 27ms (Views: 15.9ms | ActiveRecord: 3.2ms) Started POST "/adherent/payments/175/reglements" for 127.0.0.1 at 2013-08-24 14:40:51 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"289"}, "commit"=>"Enregistrer", "payment_id"=>"175"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "175"]] Adherent::Adhesion Load (1.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "289"]]  (1.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 289  (4.7ms) 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", 289], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:40:51 UTC +00:00], ["payment_id", 175], ["updated_at", Sat, 24 Aug 2013 12:40:51 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" = 465 LIMIT 1 Redirected to http://www.example.com/adherent/members/465/payments Completed 302 Found in 17ms (ActiveRecord: 10.5ms) Started GET "/adherent/members/465/payments" for 127.0.0.1 at 2013-08-24 14:40:51 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"465"} Organism Load (2.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", "465"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 465 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 175 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 289 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 466 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 288 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 465 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 175  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 175 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 175 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 175 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 22ms (Views: 14.9ms | ActiveRecord: 4.8ms) Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 466 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 289  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (1.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (4.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:46:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:46:58 UTC +00:00]]  (1.2ms) 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" = 208) 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", Sat, 24 Aug 2013 12:46:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 208], ["updated_at", Sat, 24 Aug 2013 12:46:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 208) 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", Sat, 24 Aug 2013 12:46:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 208], ["updated_at", Sat, 24 Aug 2013 12:46:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 208) 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", Sat, 24 Aug 2013 12:46:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 208], ["updated_at", Sat, 24 Aug 2013 12:46:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 468 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 468 ORDER BY to_date DESC LIMIT 1  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:46:58 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 468], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:46:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/468/payments/new" for 127.0.0.1 at 2013-08-24 14:46:58 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"468"} 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", "468"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 468 ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 291 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 291 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (37.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (127.6ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.2ms) Completed 200 OK in 172ms (Views: 143.6ms | ActiveRecord: 4.5ms) Started POST "/adherent/members/468/payments" for 127.0.0.1 at 2013-08-24 14:46:58 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"468"} 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", "468"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 12:46:58 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 468], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:46:58 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 468 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 468 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 291 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 291 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", 291], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:46:58 UTC +00:00], ["payment_id", 176], ["updated_at", Sat, 24 Aug 2013 12:46:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/468/adhesions Completed 302 Found in 34ms (ActiveRecord: 3.6ms) Started GET "/adherent/members/468/adhesions" for 127.0.0.1 at 2013-08-24 14:46:58 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"468"} 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", "468"]]  (0.5ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 468 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 468  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 291 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 291 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (11.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 22ms (Views: 17.0ms | ActiveRecord: 1.9ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 468 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 469 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 469 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", #], ["created_at", Sat, 24 Aug 2013 12:46:58 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 469], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:46:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 470 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 470 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", #], ["created_at", Sat, 24 Aug 2013 12:46:58 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 470], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:46:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/176/reglements/new" for 127.0.0.1 at 2013-08-24 14:46:58 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"176"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "176"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 468 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 176  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 176 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" = 291  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 292  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 293 Adherent::Reglement Load (2.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 176 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 176 Adherent::Member Load (1.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 469 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 292 Adherent::Member Load (1.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 470 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 293 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (53.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/new.html.erb within layouts/adherent/application (59.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 88ms (Views: 68.1ms | ActiveRecord: 8.7ms) Started POST "/adherent/payments/176/reglements" for 127.0.0.1 at 2013-08-24 14:46:58 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"292"}, "commit"=>"Enregistrer", "payment_id"=>"176"} Organism Load (4.1ms) 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", "176"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "292"]]  (4.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 292  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 292], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["payment_id", 176], ["updated_at", Sat, 24 Aug 2013 12:46:59 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" = 468 LIMIT 1 Redirected to http://www.example.com/adherent/members/468/payments Completed 302 Found in 21ms (ActiveRecord: 9.9ms) Started GET "/adherent/members/468/payments" for 127.0.0.1 at 2013-08-24 14:46:59 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"468"} Organism Load (1.8ms) 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", "468"]] Adherent::Payment Load (2.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 468 Adherent::Reglement Load (5.8ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 176 Adherent::Adhesion Load (3.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 292 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 469 LIMIT 1 Adherent::Adhesion Load (4.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 291 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 468 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 176  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 176 Adherent::Reglement Load (4.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 176 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 176 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/index.html.haml within layouts/adherent/application (52.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 60ms (Views: 34.5ms | ActiveRecord: 23.2ms) Adherent::Reglement Load (4.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" LIMIT 1  (0.5ms) ROLLBACK  (0.1ms) BEGIN Organism Load (2.6ms) 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", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 209) 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", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 209], ["updated_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 209) LIMIT 1 SQL (5.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", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 209], ["updated_at", Sat, 24 Aug 2013 12:46:59 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" = 209) 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", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 209], ["updated_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 471 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 471 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", #], ["created_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 471], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00]]  (4.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/471/payments/new" for 127.0.0.1 at 2013-08-24 14:46:59 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"471"} Organism Load (3.0ms) 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", "471"]] Adherent::Adhesion Load (2.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 471 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 294 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 294 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (14.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 29ms (Views: 17.9ms | ActiveRecord: 6.1ms) Started POST "/adherent/members/471/payments" for 127.0.0.1 at 2013-08-24 14:46:59 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"471"} Organism Load (0.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", "471"]]  (1.3ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 471], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00]] Adherent::Member Load (6.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 471 LIMIT 1 Adherent::Adhesion Load (2.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 471 ORDER BY to_date  (1.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 294 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 294 SQL (3.0ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 294], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["payment_id", 177], ["updated_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/471/adhesions Completed 302 Found in 31ms (ActiveRecord: 17.3ms) Started GET "/adherent/members/471/adhesions" for 127.0.0.1 at 2013-08-24 14:46:59 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"471"} Organism Load (4.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "471"]]  (2.6ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 471 Adherent::Adhesion Load (3.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 471  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 294 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 294 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 30ms (Views: 13.8ms | ActiveRecord: 13.1ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 471 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (5.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 472 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 472 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", #], ["created_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 472], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (3.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 473 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 473 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", #], ["created_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 473], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/177/reglements/new" for 127.0.0.1 at 2013-08-24 14:46:59 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"177"} 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", "177"]] Adherent::Member Load (4.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 471 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 177  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 177 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 294  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 295  (3.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 296 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 177 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 177 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 472 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 295 Adherent::Member Load (5.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 473 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 296 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (22.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 43ms (Views: 20.6ms | ActiveRecord: 16.0ms) Started POST "/adherent/payments/177/reglements" for 127.0.0.1 at 2013-08-24 14:46:59 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"295"}, "commit"=>"Enregistrer", "payment_id"=>"177"} Organism Load (5.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (1.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "177"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "295"]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 295  (0.1ms) SAVEPOINT active_record_1 SQL (3.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 295], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["payment_id", 177], ["updated_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 471 LIMIT 1 Redirected to http://www.example.com/adherent/members/471/payments Completed 302 Found in 17ms (ActiveRecord: 11.0ms) Started GET "/adherent/members/471/payments" for 127.0.0.1 at 2013-08-24 14:46:59 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"471"} Organism Load (4.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", "471"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 471 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 177 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 295 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 472 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 294 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 471 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 177  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 177 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 177 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 177 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: 17.2ms | ActiveRecord: 7.7ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements"   (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:46:59 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" = 210) 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", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 210], ["updated_at", Sat, 24 Aug 2013 12:46:59 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" = 210) 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", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 210], ["updated_at", Sat, 24 Aug 2013 12:46:59 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" = 210) 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", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 210], ["updated_at", Sat, 24 Aug 2013 12:46:59 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" = 474 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 474 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", #], ["created_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 474], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/474/payments/new" for 127.0.0.1 at 2013-08-24 14:46:59 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"474"} 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", "474"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 474 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 297 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 297 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.8ms) Rendered layouts/adherent/_header.html.haml (1.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 21ms (Views: 9.9ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/474/payments" for 127.0.0.1 at 2013-08-24 14:46:59 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"474"} 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", "474"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 474], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 474 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 474 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 297 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 297 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", 297], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["payment_id", 178], ["updated_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/474/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/474/adhesions" for 127.0.0.1 at 2013-08-24 14:46:59 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"474"} 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", "474"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 474 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 474  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 297 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 297 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 5ms (Views: 3.1ms | ActiveRecord: 1.2ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 474 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 475 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 475 ORDER BY to_date DESC LIMIT 1  (0.9ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 475], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 476 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 476 ORDER BY to_date DESC LIMIT 1  (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", #], ["created_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 476], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/178/reglements/new" for 127.0.0.1 at 2013-08-24 14:46:59 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"178"} 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", "178"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 474 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 178  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 178 Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 297  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 299 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 178 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 178 Adherent::Member Load (6.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 475 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 476 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 299 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (16.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 36ms (Views: 17.2ms | ActiveRecord: 11.2ms) Started POST "/adherent/payments/178/reglements" for 127.0.0.1 at 2013-08-24 14:46:59 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"298"}, "commit"=>"Enregistrer", "payment_id"=>"178"} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "178"]] Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "298"]]  (1.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 298], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["payment_id", 178], ["updated_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (2.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 474 LIMIT 1 Redirected to http://www.example.com/adherent/members/474/payments Completed 302 Found in 17ms (ActiveRecord: 7.8ms) Started GET "/adherent/members/474/payments" for 127.0.0.1 at 2013-08-24 14:46:59 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"474"} Organism Load (4.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "474"]] Adherent::Payment Load (2.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 474 Adherent::Reglement Load (1.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 178 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 298 LIMIT 1 Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 475 LIMIT 1 Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 297 LIMIT 1 Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 474 LIMIT 1 Adherent::Reglement Load (2.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 178  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 178 Adherent::Reglement Load (0.8ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 178 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 178 Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 50ms (Views: 29.8ms | ActiveRecord: 17.9ms)  (2.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 (1.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:46:59 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" = 211) 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", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 211], ["updated_at", Sat, 24 Aug 2013 12:46:59 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" = 211) 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", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 211], ["updated_at", Sat, 24 Aug 2013 12:46:59 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" = 'Adh002' AND "adherent_members"."organism_id" = 211) 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", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 211], ["updated_at", Sat, 24 Aug 2013 12:46:59 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" = 477 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 477 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", #], ["created_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 477], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/477/payments/new" for 127.0.0.1 at 2013-08-24 14:46:59 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"477"} 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", "477"]] Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 477 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 300 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 300 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.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 16ms (Views: 8.5ms | ActiveRecord: 1.0ms) Started POST "/adherent/members/477/payments" for 127.0.0.1 at 2013-08-24 14:46:59 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"477"} 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", "477"]]  (0.4ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 477], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 477 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 477 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 300 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 300 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", 300], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["payment_id", 179], ["updated_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/477/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/477/adhesions" for 127.0.0.1 at 2013-08-24 14:46:59 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"477"} 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", "477"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 477 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 477  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 300 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 300 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: 8.0ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 477 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 478 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 478 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", #], ["created_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 478], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 479 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 479 ORDER BY to_date DESC LIMIT 1  (4.2ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 479], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/179/reglements/new" for 127.0.0.1 at 2013-08-24 14:46:59 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"179"} Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "179"]] Adherent::Member Load (1.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 477 LIMIT 1 Adherent::Reglement Load (1.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 179  (1.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 179 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (2.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 300  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 301  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 302 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 179 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 179 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 478 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 301 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 479 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 302 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 46ms (Views: 23.4ms | ActiveRecord: 11.1ms) Started POST "/adherent/payments/179/reglements" for 127.0.0.1 at 2013-08-24 14:46:59 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"301"}, "commit"=>"Enregistrer", "payment_id"=>"179"} 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", "179"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "301"]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 301  (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", 301], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:46:59 UTC +00:00], ["payment_id", 179], ["updated_at", Sat, 24 Aug 2013 12:46:59 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" = 477 LIMIT 1 Redirected to http://www.example.com/adherent/members/477/payments Completed 302 Found in 8ms (ActiveRecord: 2.0ms) Started GET "/adherent/members/477/payments" for 127.0.0.1 at 2013-08-24 14:46:59 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"477"} 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", "477"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 477 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 179 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 301 LIMIT 1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 478 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 300 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 477 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 179  (4.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 179 Adherent::Reglement Load (2.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 179 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 179 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: 15.0ms | ActiveRecord: 9.6ms) Adherent::Adhesion Load (3.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 478 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 301  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (14.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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" = 212) 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", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 212], ["updated_at", Sat, 24 Aug 2013 12:47:37 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" = 212) 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", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 212], ["updated_at", Sat, 24 Aug 2013 12:47:37 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" = 212) 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", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 212], ["updated_at", Sat, 24 Aug 2013 12:47:37 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" = 480 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 480 ORDER BY to_date DESC LIMIT 1  (0.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 480], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/480/payments/new" for 127.0.0.1 at 2013-08-24 14:47:37 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"480"} 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", "480"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 480 ORDER BY to_date  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 303 CACHE (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 303 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (30.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (81.4ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.6ms) Completed 200 OK in 126ms (Views: 97.3ms | ActiveRecord: 5.6ms) Started POST "/adherent/members/480/payments" for 127.0.0.1 at 2013-08-24 14:47:37 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"480"} Organism Load (0.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", "480"]]  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 480], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 480 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 480 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 303 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 303 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 303], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["payment_id", 180], ["updated_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/480/adhesions Completed 302 Found in 29ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/480/adhesions" for 127.0.0.1 at 2013-08-24 14:47:37 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"480"} Organism Load (0.9ms) 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", "480"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 480 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 480  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 303 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 303 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (11.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 20ms (Views: 14.9ms | ActiveRecord: 2.1ms) Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 480 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 481 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 481 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", #], ["created_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 481], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 482 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 482 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", #], ["created_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 482], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/180/reglements/new" for 127.0.0.1 at 2013-08-24 14:47:37 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"180"} 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", "180"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 480 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 180  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 180 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" = 303  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 304  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 305 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 180 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 180 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 481 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 304 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 482 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 305 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (17.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/new.html.erb within layouts/adherent/application (23.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 40ms (Views: 25.6ms | ActiveRecord: 3.3ms) Started POST "/adherent/payments/180/reglements" for 127.0.0.1 at 2013-08-24 14:47:37 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"304"}, "commit"=>"Enregistrer", "payment_id"=>"180"} Organism Load (1.0ms) 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", "180"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "304"]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 304  (0.2ms) 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", 304], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["payment_id", 180], ["updated_at", Sat, 24 Aug 2013 12:47:37 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" = 480 LIMIT 1 Redirected to http://www.example.com/adherent/members/480/payments Completed 302 Found in 10ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/480/payments" for 127.0.0.1 at 2013-08-24 14:47:37 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"480"} 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", "480"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 480 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 180 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 304 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 481 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 303 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 480 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 180  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 180 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 180 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 180 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/index.html.haml within layouts/adherent/application (22.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 29ms (Views: 23.4ms | ActiveRecord: 3.1ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 303 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 480 LIMIT 1  (0.4ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 213) 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", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 213], ["updated_at", Sat, 24 Aug 2013 12:47:37 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" = 213) 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", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 213], ["updated_at", Sat, 24 Aug 2013 12:47:37 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" = 213) 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", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 213], ["updated_at", Sat, 24 Aug 2013 12:47:37 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" = 483 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 483 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", #], ["created_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 483], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/483/payments/new" for 127.0.0.1 at 2013-08-24 14:47:37 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"483"} Organism Load (1.8ms) 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", "483"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 483 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 306 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 306 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: 9.2ms | ActiveRecord: 3.0ms) Started POST "/adherent/members/483/payments" for 127.0.0.1 at 2013-08-24 14:47:37 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"483"} 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", "483"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 483], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 483 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 483 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 306 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 306 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 306], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["payment_id", 181], ["updated_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/483/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/483/adhesions" for 127.0.0.1 at 2013-08-24 14:47:37 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"483"} 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", "483"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 483 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 483  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 306 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 306 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.7ms | ActiveRecord: 1.2ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 483 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 484 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 484 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", #], ["created_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 484], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:47:37 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" = 485 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 485 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", #], ["created_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 485], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/181/reglements/new" for 127.0.0.1 at 2013-08-24 14:47:37 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"181"} 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", "181"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 483 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 181  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 181 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" = 306  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 307  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 308 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 181 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 181 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 484 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 307 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 485 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 308 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.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 23ms (Views: 12.2ms | ActiveRecord: 3.0ms) Started POST "/adherent/payments/181/reglements" for 127.0.0.1 at 2013-08-24 14:47:37 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"307"}, "commit"=>"Enregistrer", "payment_id"=>"181"} 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", "181"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "307"]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 307  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 307], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["payment_id", 181], ["updated_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 483 LIMIT 1 Redirected to http://www.example.com/adherent/members/483/payments Completed 302 Found in 9ms (ActiveRecord: 2.1ms) Started GET "/adherent/members/483/payments" for 127.0.0.1 at 2013-08-24 14:47:37 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"483"} 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", "483"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 483 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 181 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 307 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 484 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 306 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 483 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 181  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 181 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 181 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 181 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.6ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements"   (1.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) 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", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:47:37 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" = 214) 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", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 214], ["updated_at", Sat, 24 Aug 2013 12:47:37 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" = 214) 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", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 214], ["updated_at", Sat, 24 Aug 2013 12:47:37 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" = 214) 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", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 214], ["updated_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00]]  (0.0ms) 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" = 486 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 486 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", #], ["created_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 486], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/486/payments/new" for 127.0.0.1 at 2013-08-24 14:47:37 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"486"} 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", "486"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 486 ORDER BY to_date  (1.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 309 CACHE (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 309 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.0ms) Completed 200 OK in 19ms (Views: 9.2ms | ActiveRecord: 2.5ms) Started POST "/adherent/members/486/payments" for 127.0.0.1 at 2013-08-24 14:47:37 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"486"} 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", "486"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 486], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 486 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 486 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 309 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 309 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", 309], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["payment_id", 182], ["updated_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/486/adhesions Completed 302 Found in 12ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/486/adhesions" for 127.0.0.1 at 2013-08-24 14:47:37 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"486"} 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", "486"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 486 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 486  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 309 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 309 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 11ms (Views: 6.9ms | ActiveRecord: 1.2ms) Adherent::Payment Load (0.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 486 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 487 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 487 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", #], ["created_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 487], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:47:37 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" = 488 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 488 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", #], ["created_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 488], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/182/reglements/new" for 127.0.0.1 at 2013-08-24 14:47:37 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"182"} 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", "182"]] Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 486 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 182  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 182 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" = 309  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 310  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 311 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 182 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 182 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 487 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 310 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 488 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 311 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (15.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 30ms (Views: 19.0ms | ActiveRecord: 3.5ms) Started POST "/adherent/payments/182/reglements" for 127.0.0.1 at 2013-08-24 14:47:37 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"310"}, "commit"=>"Enregistrer", "payment_id"=>"182"} Organism Load (1.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "182"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "310"]]  (2.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 310  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 310], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["payment_id", 182], ["updated_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 486 LIMIT 1 Redirected to http://www.example.com/adherent/members/486/payments Completed 302 Found in 18ms (ActiveRecord: 7.3ms) Started GET "/adherent/members/486/payments" for 127.0.0.1 at 2013-08-24 14:47:37 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"486"} Organism Load (0.8ms) 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", "486"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 486 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 182 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 310 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 487 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 309 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 486 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 182  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 182 Adherent::Reglement Load (0.9ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 182 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 182 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: 16.0ms | ActiveRecord: 3.8ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 487 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 310  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:47:37 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" = 'Adh000' AND "adherent_members"."organism_id" = 215) 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", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 215], ["updated_at", Sat, 24 Aug 2013 12:47:37 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" = 215) 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", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 215], ["updated_at", Sat, 24 Aug 2013 12:47:37 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" = 215) 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", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 215], ["updated_at", Sat, 24 Aug 2013 12:47:37 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" = 489 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 489 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", #], ["created_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 489], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:47:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/489/payments/new" for 127.0.0.1 at 2013-08-24 14:47:37 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"489"} 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", "489"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 489 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 312 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 312 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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 19ms (Views: 9.0ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/489/payments" for 127.0.0.1 at 2013-08-24 14:47:38 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"489"} Organism Load (1.0ms) 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", "489"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:47:38 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 489], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:47:38 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 489 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 489 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 312 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 312 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", 312], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:47:38 UTC +00:00], ["payment_id", 183], ["updated_at", Sat, 24 Aug 2013 12:47:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/489/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/489/adhesions" for 127.0.0.1 at 2013-08-24 14:47:38 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"489"} 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", "489"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 489 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 489  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 312 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 312 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: 7.5ms | ActiveRecord: 2.3ms) Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 489 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 490 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 490 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", #], ["created_at", Sat, 24 Aug 2013 12:47:38 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 490], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:47:38 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" = 491 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 491 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", #], ["created_at", Sat, 24 Aug 2013 12:47:38 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 491], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:47:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/183/reglements/new" for 127.0.0.1 at 2013-08-24 14:47:38 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"183"} 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", "183"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 489 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 183  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 183 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 312  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 313  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 314 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 183 CACHE (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 183 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 490 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 313 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 491 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 314 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.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 24ms (Views: 13.5ms | ActiveRecord: 3.6ms) Started POST "/adherent/payments/183/reglements" for 127.0.0.1 at 2013-08-24 14:47:38 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"313"}, "commit"=>"Enregistrer", "payment_id"=>"183"} 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", "183"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "313"]]  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 313  (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", 313], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:47:38 UTC +00:00], ["payment_id", 183], ["updated_at", Sat, 24 Aug 2013 12:47:38 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" = 489 LIMIT 1 Redirected to http://www.example.com/adherent/members/489/payments Completed 302 Found in 8ms (ActiveRecord: 2.0ms) Started GET "/adherent/members/489/payments" for 127.0.0.1 at 2013-08-24 14:47:38 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"489"} Organism Load (1.0ms) 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", "489"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 489 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 183 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 313 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 490 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 312 LIMIT 1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 489 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 183  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 183 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 183 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 183 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.7ms | ActiveRecord: 3.8ms)  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (2.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (13.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:48:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:48:33 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" = 'Adh000' AND "adherent_members"."organism_id" = 216) 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", Sat, 24 Aug 2013 12:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 216], ["updated_at", Sat, 24 Aug 2013 12:48: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" = 216) 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", Sat, 24 Aug 2013 12:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 216], ["updated_at", Sat, 24 Aug 2013 12:48:33 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" = 'Adh002' AND "adherent_members"."organism_id" = 216) 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", Sat, 24 Aug 2013 12:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 216], ["updated_at", Sat, 24 Aug 2013 12:48: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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 492 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 492 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", #], ["created_at", Sat, 24 Aug 2013 12:48:33 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 492], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:48:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/492/payments/new" for 127.0.0.1 at 2013-08-24 14:48:33 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"492"} 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", "492"]] Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 492 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 315 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 315 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (31.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (79.7ms) Rendered layouts/adherent/_header.html.haml (1.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 123ms (Views: 95.5ms | ActiveRecord: 4.0ms) Started POST "/adherent/members/492/payments" for 127.0.0.1 at 2013-08-24 14:48:34 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"492"} Organism Load (0.3ms) 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", "492"]]  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 492], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 492 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 492 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 315 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 315 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", 315], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["payment_id", 184], ["updated_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/492/adhesions Completed 302 Found in 29ms (ActiveRecord: 3.4ms) Started GET "/adherent/members/492/adhesions" for 127.0.0.1 at 2013-08-24 14:48:34 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"492"} 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", "492"]]  (0.5ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 492 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 492  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 315 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 315 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (10.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 20ms (Views: 14.9ms | ActiveRecord: 1.7ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 492 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 493 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 493 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", #], ["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 493], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 494 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 494 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", #], ["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 494], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/184/reglements/new" for 127.0.0.1 at 2013-08-24 14:48:34 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"184"} 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", "184"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 492 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 184  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 184 Adherent::Adhesion Load (1.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 315  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 316  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 317 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 184 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 184 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 493 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 316 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 494 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 317 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (18.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/new.html.erb within layouts/adherent/application (23.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 40ms (Views: 25.5ms | ActiveRecord: 4.4ms) Started POST "/adherent/payments/184/reglements" for 127.0.0.1 at 2013-08-24 14:48:34 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"316"}, "commit"=>"Enregistrer", "payment_id"=>"184"} 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", "184"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "316"]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 316  (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", 316], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["payment_id", 184], ["updated_at", Sat, 24 Aug 2013 12:48:34 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" = 492 LIMIT 1 Redirected to http://www.example.com/adherent/members/492/payments Completed 302 Found in 10ms (ActiveRecord: 2.1ms) Started GET "/adherent/members/492/payments" for 127.0.0.1 at 2013-08-24 14:48:34 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"492"} 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", "492"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 492 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 184 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 316 LIMIT 1 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 493 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 315 LIMIT 1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 492 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 184  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 184 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 184 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 184 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/index.html.haml within layouts/adherent/application (27.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 34ms (Views: 27.1ms | ActiveRecord: 4.3ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" ORDER BY "adherent_reglements"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 316 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 493 LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:48:34 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" = 217) 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", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 217], ["updated_at", Sat, 24 Aug 2013 12:48: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" = 217) 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", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 217], ["updated_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 217) 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", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 217], ["updated_at", Sat, 24 Aug 2013 12:48: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 (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 495 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 495 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", #], ["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 495], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/495/payments/new" for 127.0.0.1 at 2013-08-24 14:48:34 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"495"} Organism Load (0.6ms) 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", "495"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 495 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 318 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 318 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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 17ms (Views: 8.1ms | ActiveRecord: 2.0ms) Started POST "/adherent/members/495/payments" for 127.0.0.1 at 2013-08-24 14:48:34 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"495"} 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", "495"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 495], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 495 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 495 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 318 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 318 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", 318], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["payment_id", 185], ["updated_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/495/adhesions Completed 302 Found in 15ms (ActiveRecord: 3.5ms) Started GET "/adherent/members/495/adhesions" for 127.0.0.1 at 2013-08-24 14:48:34 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"495"} 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", "495"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 495 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 495  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 318 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 318 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.2ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 495 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 496 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 496 ORDER BY to_date DESC LIMIT 1  (0.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 496], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:48: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" = 497 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 497 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", #], ["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 497], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/185/reglements/new" for 127.0.0.1 at 2013-08-24 14:48:34 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"185"} 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", "185"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 495 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 185  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 185 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" = 318  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 319  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 320 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 185 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 185 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 496 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 319 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 497 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 320 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 23ms (Views: 13.8ms | ActiveRecord: 2.9ms) Started POST "/adherent/payments/185/reglements" for 127.0.0.1 at 2013-08-24 14:48:34 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"319"}, "commit"=>"Enregistrer", "payment_id"=>"185"} 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", "185"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "319"]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 319  (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", 319], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["payment_id", 185], ["updated_at", Sat, 24 Aug 2013 12:48:34 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" = 495 LIMIT 1 Redirected to http://www.example.com/adherent/members/495/payments Completed 302 Found in 9ms (ActiveRecord: 1.8ms) Started GET "/adherent/members/495/payments" for 127.0.0.1 at 2013-08-24 14:48:34 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"495"} 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", "495"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 495 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 185 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 319 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 496 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 318 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 495 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 185  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 185 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 185 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 185 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.3ms | ActiveRecord: 3.1ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements"   (0.4ms) 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", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:48:34 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" = 218) 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", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 218], ["updated_at", Sat, 24 Aug 2013 12:48:34 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" = 218) 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", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 218], ["updated_at", Sat, 24 Aug 2013 12:48:34 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" = 'Adh002' AND "adherent_members"."organism_id" = 218) 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", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 218], ["updated_at", Sat, 24 Aug 2013 12:48: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 (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 498 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 498 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", #], ["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 498], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/498/payments/new" for 127.0.0.1 at 2013-08-24 14:48:34 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"498"} 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", "498"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 498 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 321 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 321 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 19ms (Views: 9.8ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/498/payments" for 127.0.0.1 at 2013-08-24 14:48:34 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"498"} 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", "498"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 498], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 498 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 498 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 321 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 321 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", 321], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["payment_id", 186], ["updated_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/498/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/498/adhesions" for 127.0.0.1 at 2013-08-24 14:48:34 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"498"} 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", "498"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 498 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 498  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 321 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 321 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 11ms (Views: 7.6ms | ActiveRecord: 1.3ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 498 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 499 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 499 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", #], ["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 499], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:48: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" = 500 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 500 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", #], ["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 500], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/186/reglements/new" for 127.0.0.1 at 2013-08-24 14:48:34 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"186"} 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", "186"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 498 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 186  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 186 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 321  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 322  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 323 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 186 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 186 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 499 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 322 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 500 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 323 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (17.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 33ms (Views: 21.0ms | ActiveRecord: 3.9ms) Started POST "/adherent/payments/186/reglements" for 127.0.0.1 at 2013-08-24 14:48:34 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"322"}, "commit"=>"Enregistrer", "payment_id"=>"186"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (1.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "186"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "322"]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 322  (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", 322], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["payment_id", 186], ["updated_at", Sat, 24 Aug 2013 12:48:34 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" = 498 LIMIT 1 Redirected to http://www.example.com/adherent/members/498/payments Completed 302 Found in 9ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/498/payments" for 127.0.0.1 at 2013-08-24 14:48:34 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"498"} 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", "498"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 498 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 186 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 322 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 499 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 321 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 498 LIMIT 1 Adherent::Reglement Load (0.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 186  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 186 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 186 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 186 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: 12.5ms | ActiveRecord: 3.2ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 321 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 498 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.2ms) 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", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:48: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" = 'Adh000' AND "adherent_members"."organism_id" = 219) 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", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 219], ["updated_at", Sat, 24 Aug 2013 12:48:34 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" = 219) 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", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 219], ["updated_at", Sat, 24 Aug 2013 12:48:34 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" = 219) 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", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 219], ["updated_at", Sat, 24 Aug 2013 12:48:34 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 501 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 501 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", #], ["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 501], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/501/payments/new" for 127.0.0.1 at 2013-08-24 14:48:34 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"501"} Organism Load (1.0ms) 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", "501"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 501 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 324 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 324 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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 19ms (Views: 9.3ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/501/payments" for 127.0.0.1 at 2013-08-24 14:48:34 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"501"} 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", "501"]]  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 501], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 501 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 501 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 324 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 324 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", 324], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["payment_id", 187], ["updated_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/501/adhesions Completed 302 Found in 14ms (ActiveRecord: 3.1ms) Started GET "/adherent/members/501/adhesions" for 127.0.0.1 at 2013-08-24 14:48:34 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"501"} 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", "501"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 501 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 501  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 324 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 324 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: 7.8ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 501 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 502 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 502 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", #], ["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 502], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:48: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" = 503 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 503 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", #], ["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 503], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/187/reglements/new" for 127.0.0.1 at 2013-08-24 14:48:34 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"187"} 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", "187"]] Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 501 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 187  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 187 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" = 324  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 325  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 326 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 187 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 187 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 502 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 325 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 503 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 326 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.1ms) 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 24ms (Views: 14.0ms | ActiveRecord: 3.1ms) Started POST "/adherent/payments/187/reglements" for 127.0.0.1 at 2013-08-24 14:48:34 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"325"}, "commit"=>"Enregistrer", "payment_id"=>"187"} 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", "187"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "325"]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 325  (0.2ms) 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", 325], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["payment_id", 187], ["updated_at", Sat, 24 Aug 2013 12:48:34 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" = 501 LIMIT 1 Redirected to http://www.example.com/adherent/members/501/payments Completed 302 Found in 8ms (ActiveRecord: 1.8ms) Started GET "/adherent/members/501/payments" for 127.0.0.1 at 2013-08-24 14:48:34 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"501"} 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", "501"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 501 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 187 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 325 LIMIT 1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 502 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 324 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 501 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 187  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 187 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 187 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 187 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.9ms | ActiveRecord: 2.9ms)  (0.2ms) 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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:48: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" = 'Adh000' AND "adherent_members"."organism_id" = 220) 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", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 220], ["updated_at", Sat, 24 Aug 2013 12:48:34 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" = 220) 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", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 220], ["updated_at", Sat, 24 Aug 2013 12:48:34 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" = 220) 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", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 220], ["updated_at", Sat, 24 Aug 2013 12:48: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 (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 504 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 504 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", #], ["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 504], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/504/payments/new" for 127.0.0.1 at 2013-08-24 14:48:34 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"504"} 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", "504"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 504 ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 327 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 327 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.0ms) Completed 200 OK in 18ms (Views: 10.1ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/504/payments" for 127.0.0.1 at 2013-08-24 14:48:34 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"504"} Organism Load (0.8ms) 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", "504"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 504], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 504 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 504 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 327 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 327 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 327], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["payment_id", 188], ["updated_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/504/adhesions Completed 302 Found in 13ms (ActiveRecord: 3.8ms) Started GET "/adherent/members/504/adhesions" for 127.0.0.1 at 2013-08-24 14:48:34 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"504"} 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", "504"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 504 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 504  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 327 CACHE (1.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 327 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 13ms (Views: 7.6ms | ActiveRecord: 2.6ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 504 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 505 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 505 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", #], ["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 505], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:48:34 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" = 506 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 506 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", #], ["created_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 506], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:48:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/188/reglements/new" for 127.0.0.1 at 2013-08-24 14:48:34 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"188"} 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", "188"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 504 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 188  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 188 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" = 327  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 328  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 329 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 188 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 188 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 505 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 328 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 506 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 329 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 23ms (Views: 13.2ms | ActiveRecord: 2.8ms) Started POST "/adherent/payments/188/reglements" for 127.0.0.1 at 2013-08-24 14:48:35 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"328"}, "commit"=>"Enregistrer", "payment_id"=>"188"} 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", "188"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "328"]]  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 328  (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", 328], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:48:35 UTC +00:00], ["payment_id", 188], ["updated_at", Sat, 24 Aug 2013 12:48:35 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" = 504 LIMIT 1 Redirected to http://www.example.com/adherent/members/504/payments Completed 302 Found in 10ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/504/payments" for 127.0.0.1 at 2013-08-24 14:48:35 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"504"} 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", "504"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 504 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 188 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 328 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 505 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 327 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 504 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 188  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 188 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 188 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 188 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: 2.7ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 505 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 328  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (8.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:55:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:55:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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" = 221) 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", Sat, 24 Aug 2013 12:55:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 221], ["updated_at", Sat, 24 Aug 2013 12:55:52 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" = 221) 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", Sat, 24 Aug 2013 12:55:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 221], ["updated_at", Sat, 24 Aug 2013 12:55:52 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" = 221) 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", Sat, 24 Aug 2013 12:55:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 221], ["updated_at", Sat, 24 Aug 2013 12:55:52 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" = 507 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 507 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", #], ["created_at", Sat, 24 Aug 2013 12:55:52 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 507], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:55:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/507/payments/new" for 127.0.0.1 at 2013-08-24 14:55:52 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"507"} 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", "507"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 507 ORDER BY to_date  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 330 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 330 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (32.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (88.3ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.2ms) Completed 200 OK in 131ms (Views: 104.1ms | ActiveRecord: 4.6ms) Started POST "/adherent/members/507/payments" for 127.0.0.1 at 2013-08-24 14:55:52 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"507"} 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", "507"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 12:55:52 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 507], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:55:52 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 507 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 507 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 330 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 330 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 330], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:55:52 UTC +00:00], ["payment_id", 189], ["updated_at", Sat, 24 Aug 2013 12:55:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/507/adhesions Completed 302 Found in 34ms (ActiveRecord: 3.5ms) Started GET "/adherent/members/507/adhesions" for 127.0.0.1 at 2013-08-24 14:55:52 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"507"} 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", "507"]]  (0.9ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 507 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 507  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 330 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 330 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (10.3ms) Rendered layouts/adherent/_header.html.haml (0.1ms) 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.1ms) Completed 200 OK in 21ms (Views: 14.2ms | ActiveRecord: 2.8ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 507 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 508 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 508 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", #], ["created_at", Sat, 24 Aug 2013 12:55:52 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 508], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:55:52 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" = 509 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 509 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", #], ["created_at", Sat, 24 Aug 2013 12:55:52 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 509], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:55:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/189/reglements/new" for 127.0.0.1 at 2013-08-24 14:55:52 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"189"} Organism Load (0.5ms) 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", "189"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 507 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 189  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 189 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" = 330  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 331  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 332 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 189 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 189 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 508 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 331 Adherent::Member Load (1.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 509 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 332 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (17.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/new.html.erb within layouts/adherent/application (23.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 40ms (Views: 24.8ms | ActiveRecord: 4.7ms) Started POST "/adherent/payments/189/reglements" for 127.0.0.1 at 2013-08-24 14:55:52 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"331"}, "commit"=>"Enregistrer", "payment_id"=>"189"} 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", "189"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "331"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 189  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 189  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 331  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 331], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:55:52 UTC +00:00], ["payment_id", 189], ["updated_at", Sat, 24 Aug 2013 12:55:52 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" = 507 LIMIT 1 Redirected to http://www.example.com/adherent/members/507/payments Completed 302 Found in 11ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/507/payments" for 127.0.0.1 at 2013-08-24 14:55:52 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"507"} 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", "507"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 507 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 189 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 331 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 508 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 330 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 507 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 189  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 189 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 189 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 189 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/index.html.haml within layouts/adherent/application (22.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 28ms (Views: 22.7ms | ActiveRecord: 3.5ms) Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 508 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 331  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 331  (0.4ms) ROLLBACK  (0.2ms) 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", Sat, 24 Aug 2013 12:55:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:55:52 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" = 'Adh000' AND "adherent_members"."organism_id" = 222) 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", Sat, 24 Aug 2013 12:55:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 222], ["updated_at", Sat, 24 Aug 2013 12:55:52 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" = 'Adh001' AND "adherent_members"."organism_id" = 222) 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", Sat, 24 Aug 2013 12:55:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 222], ["updated_at", Sat, 24 Aug 2013 12:55:52 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" = 222) 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", Sat, 24 Aug 2013 12:55:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 222], ["updated_at", Sat, 24 Aug 2013 12:55:52 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" = 510 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 510 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", #], ["created_at", Sat, 24 Aug 2013 12:55:52 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 510], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:55:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/510/payments/new" for 127.0.0.1 at 2013-08-24 14:55:52 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"510"} 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", "510"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 510 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 333 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 333 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.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 19ms (Views: 9.7ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/510/payments" for 127.0.0.1 at 2013-08-24 14:55:52 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"510"} 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", "510"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:55:52 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 510], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:55:52 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 510 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 510 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 333 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 333 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", 333], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:55:52 UTC +00:00], ["payment_id", 190], ["updated_at", Sat, 24 Aug 2013 12:55:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/510/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/510/adhesions" for 127.0.0.1 at 2013-08-24 14:55:52 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"510"} 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", "510"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 510 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 510  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 333 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 333 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 12ms (Views: 7.9ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 510 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 511 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 511 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", #], ["created_at", Sat, 24 Aug 2013 12:55:52 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 511], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:55:52 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" = 512 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 512 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", #], ["created_at", Sat, 24 Aug 2013 12:55:52 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 512], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:55:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/190/reglements/new" for 127.0.0.1 at 2013-08-24 14:55:52 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"190"} 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", "190"]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 510 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 190  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 190 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 333  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 334  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 335 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 190 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 190 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 511 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 334 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 512 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 335 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 22ms (Views: 12.7ms | ActiveRecord: 2.7ms) Started POST "/adherent/payments/190/reglements" for 127.0.0.1 at 2013-08-24 14:55:52 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"334"}, "commit"=>"Enregistrer", "payment_id"=>"190"} Organism Load (0.6ms) 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", "190"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "334"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 190  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 190  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 334  (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", 334], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:55:52 UTC +00:00], ["payment_id", 190], ["updated_at", Sat, 24 Aug 2013 12:55:52 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" = 510 LIMIT 1 Redirected to http://www.example.com/adherent/members/510/payments Completed 302 Found in 10ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/510/payments" for 127.0.0.1 at 2013-08-24 14:55:52 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"510"} 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", "510"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 510 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 190 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 334 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 511 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 333 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 510 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 190  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 190 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 190 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 190 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 19ms (Views: 14.4ms | ActiveRecord: 3.0ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" LIMIT 1 Adherent::Adhesion Load (2.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 333 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 510 LIMIT 1  (0.4ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:55:53 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" = 223) 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", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 223], ["updated_at", Sat, 24 Aug 2013 12:55:53 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" = 223) 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", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 223], ["updated_at", Sat, 24 Aug 2013 12:55:53 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" = 223) 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", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 223], ["updated_at", Sat, 24 Aug 2013 12:55:53 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" = 513 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 513 ORDER BY to_date DESC LIMIT 1  (0.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 513], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/513/payments/new" for 127.0.0.1 at 2013-08-24 14:55:53 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"513"} 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", "513"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 513 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 336 CACHE (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 336 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 18ms (Views: 9.0ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/513/payments" for 127.0.0.1 at 2013-08-24 14:55:53 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"513"} 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", "513"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 513], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 513 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 513 ORDER BY to_date  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 336 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 336 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", 336], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["payment_id", 191], ["updated_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/513/adhesions Completed 302 Found in 13ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/513/adhesions" for 127.0.0.1 at 2013-08-24 14:55:53 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"513"} 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", "513"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 513 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 513  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 336 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 336 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 11ms (Views: 7.4ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 513 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 514 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 514 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", #], ["created_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 514], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:55:53 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" = 515 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 515 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", #], ["created_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 515], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/191/reglements/new" for 127.0.0.1 at 2013-08-24 14:55:53 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"191"} Organism Load (5.2ms) 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", "191"]] Adherent::Member Load (3.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 513 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 191  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 191 Adherent::Adhesion Load (1.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 336  (2.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 337  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 338 Adherent::Reglement Load (4.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 191 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 191 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 514 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 337 Adherent::Member Load (1.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 515 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 338 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (13.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 42ms (Views: 14.9ms | ActiveRecord: 19.9ms) Started POST "/adherent/payments/191/reglements" for 127.0.0.1 at 2013-08-24 14:55:53 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"337"}, "commit"=>"Enregistrer", "payment_id"=>"191"} 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", "191"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "337"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 191  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 191  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 337  (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", 337], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["payment_id", 191], ["updated_at", Sat, 24 Aug 2013 12:55:53 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" = 513 LIMIT 1 Redirected to http://www.example.com/adherent/members/513/payments Completed 302 Found in 10ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/513/payments" for 127.0.0.1 at 2013-08-24 14:55:53 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"513"} Organism Load (0.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", "513"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 513 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 191 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 337 LIMIT 1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 514 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 336 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 513 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 191  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 191 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 191 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 191 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: 13.8ms | ActiveRecord: 3.6ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements"   (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.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:55:53 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" = 224) 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", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 224], ["updated_at", Sat, 24 Aug 2013 12:55:53 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" = 224) 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", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 224], ["updated_at", Sat, 24 Aug 2013 12:55:53 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" = 224) 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", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 224], ["updated_at", Sat, 24 Aug 2013 12:55:53 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" = 516 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 516 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", #], ["created_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 516], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/516/payments/new" for 127.0.0.1 at 2013-08-24 14:55:53 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"516"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "516"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 516 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 339 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 339 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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 21ms (Views: 9.2ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/516/payments" for 127.0.0.1 at 2013-08-24 14:55:53 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"516"} 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", "516"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 516], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 516 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 516 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 339 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 339 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", 339], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["payment_id", 192], ["updated_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/516/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/516/adhesions" for 127.0.0.1 at 2013-08-24 14:55:53 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"516"} 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", "516"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 516 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 516  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 339 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 339 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.6ms | ActiveRecord: 1.5ms) Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 516 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 517 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 517 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", #], ["created_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 517], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:55:53 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" = 518 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 518 ORDER BY to_date DESC LIMIT 1  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 518], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/192/reglements/new" for 127.0.0.1 at 2013-08-24 14:55:53 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"192"} 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", "192"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 516 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 192  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 192 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" = 339  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 340  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 341 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 192 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 192 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 517 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 340 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 518 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 341 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 23ms (Views: 13.0ms | ActiveRecord: 3.2ms) Started POST "/adherent/payments/192/reglements" for 127.0.0.1 at 2013-08-24 14:55:53 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"340"}, "commit"=>"Enregistrer", "payment_id"=>"192"} Organism Load (0.5ms) 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", "192"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "340"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 192  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 192  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 340  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 340], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["payment_id", 192], ["updated_at", Sat, 24 Aug 2013 12:55:53 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" = 516 LIMIT 1 Redirected to http://www.example.com/adherent/members/516/payments Completed 302 Found in 11ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/516/payments" for 127.0.0.1 at 2013-08-24 14:55:53 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"516"} 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", "516"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 516 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 192 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 340 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 517 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 339 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 516 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 192  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 192 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 192 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 192 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.2ms) Completed 200 OK in 23ms (Views: 16.9ms | ActiveRecord: 3.0ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" ORDER BY "adherent_reglements"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 340 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 517 LIMIT 1  (0.4ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) 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", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:55:53 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" = 225) 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", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 225], ["updated_at", Sat, 24 Aug 2013 12:55:53 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" = 225) 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", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 225], ["updated_at", Sat, 24 Aug 2013 12:55:53 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" = 225) 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", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 225], ["updated_at", Sat, 24 Aug 2013 12:55:53 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" = 519 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 519 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", #], ["created_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 519], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/519/payments/new" for 127.0.0.1 at 2013-08-24 14:55:53 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"519"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "519"]] Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 519 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 342 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 342 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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 18ms (Views: 8.1ms | ActiveRecord: 3.8ms) Started POST "/adherent/members/519/payments" for 127.0.0.1 at 2013-08-24 14:55:53 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"519"} 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", "519"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 519], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 519 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 519 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 342 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 342 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", 342], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["payment_id", 193], ["updated_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/519/adhesions Completed 302 Found in 15ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/519/adhesions" for 127.0.0.1 at 2013-08-24 14:55:53 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"519"} 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", "519"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 519 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 519  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 342 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 342 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.7ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 519 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 520 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 520 ORDER BY to_date DESC LIMIT 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", #], ["created_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 520], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:55:53 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" = 521 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 521 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 521], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/193/reglements/new" for 127.0.0.1 at 2013-08-24 14:55:53 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"193"} 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", "193"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 519 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 193  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 193 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" = 342  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 343  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 344 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 193 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 193 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 520 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 343 Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 521 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 344 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 22ms (Views: 13.8ms | ActiveRecord: 2.8ms) Started POST "/adherent/payments/193/reglements" for 127.0.0.1 at 2013-08-24 14:55:53 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"343"}, "commit"=>"Enregistrer", "payment_id"=>"193"} 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", "193"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "343"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 193  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 193  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 343  (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", 343], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:55:53 UTC +00:00], ["payment_id", 193], ["updated_at", Sat, 24 Aug 2013 12:55:53 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" = 519 LIMIT 1 Redirected to http://www.example.com/adherent/members/519/payments Completed 302 Found in 10ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/519/payments" for 127.0.0.1 at 2013-08-24 14:55:53 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"519"} 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", "519"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 519 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 193 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 343 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 520 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 342 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 519 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 193  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 193 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 193 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 193 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.6ms | ActiveRecord: 2.8ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.3ms) COMMIT  (0.4ms) BEGIN Organism Load (1.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.7ms) 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", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:56:02 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" = 226) LIMIT 1 SQL (1.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", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 226], ["updated_at", Sat, 24 Aug 2013 12:56:02 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" = 226) 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", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 226], ["updated_at", Sat, 24 Aug 2013 12:56:02 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" = 'Adh002' AND "adherent_members"."organism_id" = 226) 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", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 226], ["updated_at", Sat, 24 Aug 2013 12:56:02 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" = 226) 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", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 226], ["updated_at", Sat, 24 Aug 2013 12:56:02 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" = 'Adh004' AND "adherent_members"."organism_id" = 226) 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", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 226], ["updated_at", Sat, 24 Aug 2013 12:56:02 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/new" for 127.0.0.1 at 2013-08-24 14:56:02 +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 (22.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/new.html.erb within layouts/adherent/application (39.5ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.5ms) Completed 200 OK in 117ms (Views: 55.9ms | ActiveRecord: 0.3ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_members" Started POST "/adherent/members" for 127.0.0.1 at 2013-08-24 14:56:02 +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.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'ADH1' AND "adherent_members"."organism_id" = 226) 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", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 226], ["updated_at", Sat, 24 Aug 2013 12:56:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/527/coord/new Completed 302 Found in 57ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/527/coord/new" for 127.0.0.1 at 2013-08-24 14:56:02 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"527"} 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", "527"]] Adherent::Coord Load (0.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 527 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (18.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/new.html.erb within layouts/adherent/application (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 87ms (Views: 26.0ms | ActiveRecord: 3.3ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_members"   (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:56:02 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" = 'Adh000' AND "adherent_members"."organism_id" = 227) 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", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 227], ["updated_at", Sat, 24 Aug 2013 12:56:02 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" = 'Adh001' AND "adherent_members"."organism_id" = 227) 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", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 227], ["updated_at", Sat, 24 Aug 2013 12:56:02 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" = 'Adh002' AND "adherent_members"."organism_id" = 227) 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", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 227], ["updated_at", Sat, 24 Aug 2013 12:56:02 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" = 528 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 528 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", #], ["created_at", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 528], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:56:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/528/payments/new" for 127.0.0.1 at 2013-08-24 14:56:02 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"528"} 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", "528"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 528 ORDER BY to_date  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 345 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 345 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (17.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 58ms (Views: 24.1ms | ActiveRecord: 5.6ms) Started POST "/adherent/members/528/payments" for 127.0.0.1 at 2013-08-24 14:56:02 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"528"} 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", "528"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 528], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:56:02 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 528 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 528 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 345 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 345 SQL (0.8ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 345], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["payment_id", 194], ["updated_at", Sat, 24 Aug 2013 12:56:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/528/adhesions Completed 302 Found in 46ms (ActiveRecord: 3.7ms) Started GET "/adherent/members/528/adhesions" for 127.0.0.1 at 2013-08-24 14:56:02 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"528"} 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", "528"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 528 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 528  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 345 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 345 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.3ms | ActiveRecord: 1.6ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 528 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 529 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 529 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", #], ["created_at", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 529], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:56:02 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" = 530 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 530 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", #], ["created_at", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 530], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:56:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/194/reglements/new" for 127.0.0.1 at 2013-08-24 14:56:02 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"194"} Organism Load (1.6ms) 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", "194"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 528 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 194  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 194 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" = 345  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 346  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 347 Adherent::Reglement Load (0.9ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 194 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 194 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 529 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 346 Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 530 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 347 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (24.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 48ms (Views: 31.6ms | ActiveRecord: 5.8ms) Started POST "/adherent/payments/194/reglements" for 127.0.0.1 at 2013-08-24 14:56:02 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"346"}, "commit"=>"Enregistrer", "payment_id"=>"194"} 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", "194"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "346"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 194  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 194  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 346  (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", 346], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["payment_id", 194], ["updated_at", Sat, 24 Aug 2013 12:56:02 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" = 528 LIMIT 1 Redirected to http://www.example.com/adherent/members/528/payments Completed 302 Found in 11ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/528/payments" for 127.0.0.1 at 2013-08-24 14:56:02 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"528"} 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", "528"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 528 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 194 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 346 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 529 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 345 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 528 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 194  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 194 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 194 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 194 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 29ms (Views: 23.0ms | ActiveRecord: 3.2ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" ORDER BY "adherent_reglements"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 346 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 529 LIMIT 1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:56:02 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" = 228) 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", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 228], ["updated_at", Sat, 24 Aug 2013 12:56:02 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" = 228) 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", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 228], ["updated_at", Sat, 24 Aug 2013 12:56:02 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" = 228) 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", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 228], ["updated_at", Sat, 24 Aug 2013 12:56:02 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" = 531 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 531 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", #], ["created_at", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 531], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:56:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/531/payments/new" for 127.0.0.1 at 2013-08-24 14:56:02 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"531"} 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", "531"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 531 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 348 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 348 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 18ms (Views: 9.2ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/531/payments" for 127.0.0.1 at 2013-08-24 14:56:02 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"531"} Organism Load (0.9ms) 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", "531"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 531], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:56:02 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 531 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 531 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 348 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 348 SQL (1.8ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 348], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["payment_id", 195], ["updated_at", Sat, 24 Aug 2013 12:56:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/531/adhesions Completed 302 Found in 14ms (ActiveRecord: 4.3ms) Started GET "/adherent/members/531/adhesions" for 127.0.0.1 at 2013-08-24 14:56:02 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"531"} 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", "531"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 531 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 531  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 348 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 348 Rendered layouts/adherent/_header.html.haml (0.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 12ms (Views: 8.2ms | ActiveRecord: 1.3ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 531 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 532 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 532 ORDER BY to_date DESC LIMIT 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", #], ["created_at", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 532], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:56:02 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 533 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 533 ORDER BY to_date DESC LIMIT 1  (0.6ms) SAVEPOINT active_record_1 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", #], ["created_at", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 533], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:56:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/195/reglements/new" for 127.0.0.1 at 2013-08-24 14:56:02 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"195"} 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", "195"]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 531 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 195  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 195 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 348  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 349  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 350 Adherent::Reglement Load (1.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 195 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 195 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 532 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 349 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 533 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 350 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.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 23ms (Views: 12.1ms | ActiveRecord: 4.2ms) Started POST "/adherent/payments/195/reglements" for 127.0.0.1 at 2013-08-24 14:56:02 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"349"}, "commit"=>"Enregistrer", "payment_id"=>"195"} Organism Load (0.2ms) 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", "195"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "349"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 195  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 195  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 349  (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", 349], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["payment_id", 195], ["updated_at", Sat, 24 Aug 2013 12:56:02 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" = 531 LIMIT 1 Redirected to http://www.example.com/adherent/members/531/payments Completed 302 Found in 10ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/531/payments" for 127.0.0.1 at 2013-08-24 14:56:02 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"531"} 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", "531"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 531 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 195 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 349 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 532 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 348 LIMIT 1 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 531 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 195  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 195 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 195 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 195 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.6ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements"   (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) 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", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:56:02 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" = 229) 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", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 229], ["updated_at", Sat, 24 Aug 2013 12:56:02 UTC +00:00]]  (0.0ms) 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" = 229) 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", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 229], ["updated_at", Sat, 24 Aug 2013 12:56:02 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" = 229) 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", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 229], ["updated_at", Sat, 24 Aug 2013 12:56:02 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" = 534 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 534 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", #], ["created_at", Sat, 24 Aug 2013 12:56:02 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 534], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:56:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/534/payments/new" for 127.0.0.1 at 2013-08-24 14:56:02 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"534"} 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", "534"]] Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 534 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 351 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 351 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 18ms (Views: 8.8ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/534/payments" for 127.0.0.1 at 2013-08-24 14:56:03 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"534"} 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", "534"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 534], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 534 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 534 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 351 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 351 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", 351], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00], ["payment_id", 196], ["updated_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/534/adhesions Completed 302 Found in 12ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/534/adhesions" for 127.0.0.1 at 2013-08-24 14:56:03 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"534"} 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", "534"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 534 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 534  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 351 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 351 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 11ms (Views: 7.3ms | ActiveRecord: 1.3ms) Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 534 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 535 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 535 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", #], ["created_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 535], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:56:03 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" = 536 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 536 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", #], ["created_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 536], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/196/reglements/new" for 127.0.0.1 at 2013-08-24 14:56:03 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"196"} 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", "196"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 534 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 196  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 196 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" = 351  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 352  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 353 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 196 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 196 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 535 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 352 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 536 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 353 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 24ms (Views: 13.0ms | ActiveRecord: 2.9ms) Started POST "/adherent/payments/196/reglements" for 127.0.0.1 at 2013-08-24 14:56:03 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"352"}, "commit"=>"Enregistrer", "payment_id"=>"196"} Organism Load (0.7ms) 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", "196"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "352"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 196  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 196  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 352  (0.1ms) SAVEPOINT active_record_1 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", 352], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00], ["payment_id", 196], ["updated_at", Sat, 24 Aug 2013 12:56:03 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" = 534 LIMIT 1 Redirected to http://www.example.com/adherent/members/534/payments Completed 302 Found in 11ms (ActiveRecord: 3.1ms) Started GET "/adherent/members/534/payments" for 127.0.0.1 at 2013-08-24 14:56:03 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"534"} 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", "534"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 534 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 196 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 352 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 535 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 351 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 534 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 196  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 196 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 196 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 196 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.6ms | ActiveRecord: 2.9ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 535 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 352  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 352  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (1.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:56:03 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" = 230) 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", Sat, 24 Aug 2013 12:56:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 230], ["updated_at", Sat, 24 Aug 2013 12:56:03 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" = 230) 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", Sat, 24 Aug 2013 12:56:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 230], ["updated_at", Sat, 24 Aug 2013 12:56:03 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" = 230) 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", Sat, 24 Aug 2013 12:56:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 230], ["updated_at", Sat, 24 Aug 2013 12:56:03 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" = 537 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 537 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", #], ["created_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 537], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/537/payments/new" for 127.0.0.1 at 2013-08-24 14:56:03 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"537"} 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", "537"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 537 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 354 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 354 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.4ms) Completed 200 OK in 18ms (Views: 10.1ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/537/payments" for 127.0.0.1 at 2013-08-24 14:56:03 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"537"} Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "537"]]  (0.5ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 537], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 537 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 537 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 354 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 354 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", 354], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00], ["payment_id", 197], ["updated_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/537/adhesions Completed 302 Found in 23ms (ActiveRecord: 5.2ms) Started GET "/adherent/members/537/adhesions" for 127.0.0.1 at 2013-08-24 14:56:03 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"537"} 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", "537"]]  (1.1ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 537 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 537  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 354 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 354 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: 8.0ms | ActiveRecord: 2.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 537 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 538 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 538 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", #], ["created_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 538], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 539 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 539 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", #], ["created_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 539], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/197/reglements/new" for 127.0.0.1 at 2013-08-24 14:56:03 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"197"} 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", "197"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 537 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 197  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 197 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" = 354  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 355  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 356 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 197 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 197 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 538 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 355 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 539 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 356 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_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 22ms (Views: 12.5ms | ActiveRecord: 3.0ms) Started POST "/adherent/payments/197/reglements" for 127.0.0.1 at 2013-08-24 14:56:03 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"355"}, "commit"=>"Enregistrer", "payment_id"=>"197"} Organism Load (0.2ms) 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", "197"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "355"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 197  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 197  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 355  (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", 355], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00], ["payment_id", 197], ["updated_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 537 LIMIT 1 Redirected to http://www.example.com/adherent/members/537/payments Completed 302 Found in 10ms (ActiveRecord: 2.1ms) Started GET "/adherent/members/537/payments" for 127.0.0.1 at 2013-08-24 14:56:03 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"537"} 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", "537"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 537 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 197 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 355 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 538 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 354 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 537 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 197  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 197 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 197 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 197 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: 15.1ms | ActiveRecord: 2.8ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 354 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 537 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:56:03 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" = 231) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 12:56:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 231], ["updated_at", Sat, 24 Aug 2013 12:56:03 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" = 231) 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", Sat, 24 Aug 2013 12:56:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 231], ["updated_at", Sat, 24 Aug 2013 12:56:03 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" = 'Adh002' AND "adherent_members"."organism_id" = 231) 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", Sat, 24 Aug 2013 12:56:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 231], ["updated_at", Sat, 24 Aug 2013 12:56:03 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" = 540 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 540 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", #], ["created_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 540], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/540/payments/new" for 127.0.0.1 at 2013-08-24 14:56:03 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"540"} Organism Load (0.8ms) 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", "540"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 540 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 357 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 357 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 18ms (Views: 9.4ms | ActiveRecord: 1.6ms) Started POST "/adherent/members/540/payments" for 127.0.0.1 at 2013-08-24 14:56:03 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"540"} 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", "540"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 540], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 540 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 540 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 357 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 357 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", 357], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00], ["payment_id", 198], ["updated_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/540/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/540/adhesions" for 127.0.0.1 at 2013-08-24 14:56:03 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"540"} 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", "540"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 540 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 540  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 357 CACHE (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 357 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 11ms (Views: 7.5ms | ActiveRecord: 1.9ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 540 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 541 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 541 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", #], ["created_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 541], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 542 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 542 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", #], ["created_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 542], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/198/reglements/new" for 127.0.0.1 at 2013-08-24 14:56:03 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"198"} 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", "198"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 540 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 198  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 198 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 357  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 358  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 359 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 198 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 198 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 541 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 358 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 542 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 359 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 (1.4ms) Completed 200 OK in 30ms (Views: 18.9ms | ActiveRecord: 4.1ms) Started POST "/adherent/payments/198/reglements" for 127.0.0.1 at 2013-08-24 14:56:03 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"358"}, "commit"=>"Enregistrer", "payment_id"=>"198"} 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", "198"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "358"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 198  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 198  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 358  (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", 358], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:56:03 UTC +00:00], ["payment_id", 198], ["updated_at", Sat, 24 Aug 2013 12:56:03 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" = 540 LIMIT 1 Redirected to http://www.example.com/adherent/members/540/payments Completed 302 Found in 10ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/540/payments" for 127.0.0.1 at 2013-08-24 14:56:03 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"540"} 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", "540"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 540 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 198 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 358 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 541 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 357 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 540 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 198  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 198 Adherent::Reglement Load (0.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 198 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 198 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 19ms (Views: 14.4ms | ActiveRecord: 3.3ms)  (0.3ms) ROLLBACK Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1001"} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:19 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 232 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/index.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 46ms (Views: 7.7ms | ActiveRecord: 11.5ms)  (0.7ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1002"} 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", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1003"} 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", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1003/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1005"} 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", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.8ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1007"} Organism Load (0.9ms) 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", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 2.4ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1009"} 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", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1011"} Organism Load (0.1ms) 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", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1011/coord Completed 302 Found in 5ms (ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1013"} Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1015"} 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", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1015/coord Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1017"} 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", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1019"} 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", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1021"} Organism Load (0.6ms) 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", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1023"} 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", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.8ms) 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", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:20 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" = 245) 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", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 245], ["updated_at", Sat, 24 Aug 2013 12:57:20 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" = 245) 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", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 245], ["updated_at", Sat, 24 Aug 2013 12:57:20 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" = 245) 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", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 245], ["updated_at", Sat, 24 Aug 2013 12:57:20 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" = 543 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 543 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", #], ["created_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 543], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/543/payments/new" for 127.0.0.1 at 2013-08-24 14:57:20 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"543"} 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", "543"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 543 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 360 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 360 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (84.8ms) Rendered layouts/adherent/_header.html.haml (0.9ms) 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 (0.7ms) Completed 200 OK in 131ms (Views: 102.2ms | ActiveRecord: 4.8ms) Started POST "/adherent/members/543/payments" for 127.0.0.1 at 2013-08-24 14:57:20 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"543"} 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", "543"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 543], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 543 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 543 ORDER BY to_date  (1.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 360 CACHE (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 360 SQL (4.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 360], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["payment_id", 199], ["updated_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/543/adhesions Completed 302 Found in 49ms (ActiveRecord: 9.7ms) Started GET "/adherent/members/543/adhesions" for 127.0.0.1 at 2013-08-24 14:57:20 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"543"} 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", "543"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 543 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 543  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 360 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 360 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: 1.6ms) Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 543 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 360  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (1.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", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:20 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" = 246) 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", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 246], ["updated_at", Sat, 24 Aug 2013 12:57:20 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" = 246) 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", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 246], ["updated_at", Sat, 24 Aug 2013 12:57:20 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" = 246) 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", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 246], ["updated_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00]]  (0.2ms) 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" = 546 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 546 ORDER BY to_date DESC LIMIT 1  (0.7ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 546], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/546/payments/new" for 127.0.0.1 at 2013-08-24 14:57:20 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"546"} 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", "546"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 546 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 361 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 361 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 16ms (Views: 9.0ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/546/payments" for 127.0.0.1 at 2013-08-24 14:57:20 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"546"} Organism Load (0.3ms) 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", "546"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 546], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 546 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 546 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 361 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 361 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", 361], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["payment_id", 200], ["updated_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/546/adhesions Completed 302 Found in 13ms (ActiveRecord: 3.2ms) Started GET "/adherent/members/546/adhesions" for 127.0.0.1 at 2013-08-24 14:57:20 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"546"} 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", "546"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 546 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 546  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 361 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 361 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.8ms | ActiveRecord: 1.2ms) Adherent::Payment Load (0.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 546 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 200  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 200  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:20 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" = 247) 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", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 247], ["updated_at", Sat, 24 Aug 2013 12:57:20 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" = 247) 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", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 247], ["updated_at", Sat, 24 Aug 2013 12:57:20 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" = 247) 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", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 247], ["updated_at", Sat, 24 Aug 2013 12:57:20 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" = 549 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 549 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", #], ["created_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 549], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/549/payments/new" for 127.0.0.1 at 2013-08-24 14:57:20 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"549"} 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", "549"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 549 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 362 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 362 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 18ms (Views: 9.2ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/549/payments" for 127.0.0.1 at 2013-08-24 14:57:20 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"549"} 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", "549"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 549], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 549 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 549 ORDER BY to_date  (4.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 362 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 362 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 362], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["payment_id", 201], ["updated_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/549/adhesions Completed 302 Found in 67ms (ActiveRecord: 6.7ms) Started GET "/adherent/members/549/adhesions" for 127.0.0.1 at 2013-08-24 14:57:20 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"549"} 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", "549"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 549 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 549  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 362 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 362 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.2ms | ActiveRecord: 1.5ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 549 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 550 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 550 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", #], ["created_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 550], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:20 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" = 551 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 551 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", #], ["created_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 551], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/201/reglements/new" for 127.0.0.1 at 2013-08-24 14:57:20 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"201"} 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", "201"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 549 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 201  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 201 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 362  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 363  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 364 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 201 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 201 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 550 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 363 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 551 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 364 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (17.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 38ms (Views: 26.2ms | ActiveRecord: 3.0ms)  (0.4ms) 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.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", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 248) 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", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 248], ["updated_at", Sat, 24 Aug 2013 12:57:21 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" = 248) 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", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 248], ["updated_at", Sat, 24 Aug 2013 12:57:21 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" = 248) 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", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 248], ["updated_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 552 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 552 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", #], ["created_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 552], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/552/payments/new" for 127.0.0.1 at 2013-08-24 14:57:21 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"552"} Organism Load (0.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", "552"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 552 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 365 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 365 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (28.7ms) Rendered layouts/adherent/_header.html.haml (0.5ms) 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 50ms (Views: 41.3ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/552/payments" for 127.0.0.1 at 2013-08-24 14:57:21 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"552"} 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", "552"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 552], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 552 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 552 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 365 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 365 SQL (2.0ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 365], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["payment_id", 202], ["updated_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/552/adhesions Completed 302 Found in 19ms (ActiveRecord: 4.2ms) Started GET "/adherent/members/552/adhesions" for 127.0.0.1 at 2013-08-24 14:57:21 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"552"} 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"."id" = $1 LIMIT 1 [["id", "552"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 552 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 552  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 365 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 365 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 18ms (Views: 13.4ms | ActiveRecord: 2.0ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 552 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 553 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 553 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", #], ["created_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 553], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:21 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" = 554 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 554 ORDER BY to_date DESC LIMIT 1  (1.4ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 554], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/202/reglements/new" for 127.0.0.1 at 2013-08-24 14:57:21 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"202"} Organism Load (0.6ms) 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", "202"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 552 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 202  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 202 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (1.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 365  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 366  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 367 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 202 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 202 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 553 LIMIT 1 CACHE (1.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 366 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 554 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 367 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (14.6ms) 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 39ms (Views: 19.5ms | ActiveRecord: 7.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (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 (0.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00]]  (0.1ms) 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" = 'Adh000' AND "adherent_members"."organism_id" = 249) 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", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 249], ["updated_at", Sat, 24 Aug 2013 12:57:21 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" = 249) 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", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 249], ["updated_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 249) 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", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 249], ["updated_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (1.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 555 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 555 ORDER BY to_date DESC LIMIT 1  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 555], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/555/payments/new" for 127.0.0.1 at 2013-08-24 14:57:21 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"555"} Organism Load (2.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", "555"]] Adherent::Adhesion Load (4.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 555 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 368 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 368 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (29.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 67ms (Views: 36.9ms | ActiveRecord: 6.9ms) Started POST "/adherent/members/555/payments" for 127.0.0.1 at 2013-08-24 14:57:21 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"555"} Organism Load (3.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (3.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "555"]]  (0.1ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 555], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00]] Adherent::Member Load (1.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 555 LIMIT 1 Adherent::Adhesion Load (7.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 555 ORDER BY to_date  (1.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 368 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 368 SQL (2.9ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 368], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["payment_id", 203], ["updated_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/555/adhesions Completed 302 Found in 50ms (ActiveRecord: 23.1ms) Started GET "/adherent/members/555/adhesions" for 127.0.0.1 at 2013-08-24 14:57:21 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"555"} Organism Load (0.9ms) 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", "555"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 555 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 555  (1.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 368 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 368 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 28ms (Views: 22.2ms | ActiveRecord: 2.9ms) Adherent::Payment Load (2.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 555 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (2.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 556 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 556 ORDER BY to_date DESC LIMIT 1  (1.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 556], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:21 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" = 557 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 557 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", #], ["created_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 557], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/203/reglements/new" for 127.0.0.1 at 2013-08-24 14:57:21 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"203"} 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", "203"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 555 LIMIT 1 Adherent::Reglement Load (0.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 203  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 203 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 368  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 369  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 370 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 203 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 203 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 556 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 369 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 557 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 370 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.4ms) Completed 200 OK in 45ms (Views: 27.2ms | ActiveRecord: 4.0ms) Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 555 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 368 Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 555 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 203  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 203  (5.4ms) 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 (8.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.9ms) 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" = 250) 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", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 250], ["updated_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00]]  (3.3ms) 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" = 'Adh001' AND "adherent_members"."organism_id" = 250) 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", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 250], ["updated_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00]]  (0.3ms) 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" = 250) 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", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 250], ["updated_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 558 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 558 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", #], ["created_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 558], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/558/payments/new" for 127.0.0.1 at 2013-08-24 14:57:21 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"558"} Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (4.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "558"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 558 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 371 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 371 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (15.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 43ms (Views: 25.5ms | ActiveRecord: 5.9ms) Started POST "/adherent/members/558/payments" for 127.0.0.1 at 2013-08-24 14:57:21 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"558"} 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", "558"]]  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 558], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 558 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 558 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 371 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 371 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", 371], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["payment_id", 204], ["updated_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/558/adhesions Completed 302 Found in 25ms (ActiveRecord: 3.2ms) Started GET "/adherent/members/558/adhesions" for 127.0.0.1 at 2013-08-24 14:57:21 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"558"} 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", "558"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 558 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 558  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 371 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 371 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: 13.5ms | ActiveRecord: 1.6ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 558 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 559 Adherent::Adhesion Load (3.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 559 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", #], ["created_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 559], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:21 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" = 560 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 560 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", #], ["created_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 560], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/204/reglements/new" for 127.0.0.1 at 2013-08-24 14:57:21 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"204"} Organism Load (0.7ms) 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", "204"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 558 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 204  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 204 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" = 371  (4.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 372  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 373 Adherent::Reglement Load (0.9ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 204 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 204 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 559 LIMIT 1 CACHE (3.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 372 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 560 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 373 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (15.2ms) Rendered layouts/adherent/_header.html.haml (0.4ms) 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 38ms (Views: 17.4ms | ActiveRecord: 11.8ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (1.1ms) COMMIT  (0.1ms) BEGIN Organism Load (1.8ms) 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", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:21 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" = 251) 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", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 251], ["updated_at", Sat, 24 Aug 2013 12:57:21 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" = 251) 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", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 251], ["updated_at", Sat, 24 Aug 2013 12:57:21 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" = 'Adh002' AND "adherent_members"."organism_id" = 251) 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", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 251], ["updated_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (4.0ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 561 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 561 ORDER BY to_date DESC LIMIT 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", #], ["created_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 561], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/561/payments/new" for 127.0.0.1 at 2013-08-24 14:57:21 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"561"} 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", "561"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 561 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 374 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 374 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (12.2ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (1.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 35ms (Views: 26.0ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/561/payments" for 127.0.0.1 at 2013-08-24 14:57:22 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"561"} 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", "561"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 561], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 561 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 561 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 374 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 374 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", 374], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["payment_id", 205], ["updated_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/561/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/561/adhesions" for 127.0.0.1 at 2013-08-24 14:57:22 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"561"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "561"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 561 Adherent::Adhesion Load (6.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 561  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 374 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 374 Rendered layouts/adherent/_header.html.haml (0.0ms) 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 42ms (Views: 29.4ms | ActiveRecord: 8.8ms) Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 561 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 562 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 562 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (5.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", #], ["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 562], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:22 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" = 563 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 563 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", #], ["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 563], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/205/reglements/new" for 127.0.0.1 at 2013-08-24 14:57:22 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"205"} 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", "205"]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 561 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 205  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 205 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (1.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 374  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 375  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 376 Adherent::Reglement Load (3.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 205 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 205 Adherent::Member Load (4.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 562 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 375 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 563 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 376 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (29.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 66ms (Views: 29.1ms | ActiveRecord: 12.3ms) Started POST "/adherent/payments/205/reglements" for 127.0.0.1 at 2013-08-24 14:57:22 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"375"}, "commit"=>"Enregistrer", "payment_id"=>"205"} Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "205"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "375"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 205  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 205  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 375  (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", 375], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["payment_id", 205], ["updated_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00]]  (3.7ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 561 LIMIT 1 Redirected to http://www.example.com/adherent/members/561/payments Completed 302 Found in 19ms (ActiveRecord: 7.3ms) Started GET "/adherent/members/561/payments" for 127.0.0.1 at 2013-08-24 14:57:22 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"561"} Organism Load (0.5ms) 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", "561"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 561 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 205 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 375 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 562 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 374 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 561 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 205  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 205 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 205 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 205 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 39ms (Views: 31.5ms | ActiveRecord: 3.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.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", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:22 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" = 252) 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", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 252], ["updated_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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" = 252) 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", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 252], ["updated_at", Sat, 24 Aug 2013 12:57:22 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" = 252) 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", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 252], ["updated_at", Sat, 24 Aug 2013 12:57:22 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" = 564 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 564 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", #], ["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 564], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/564/payments/new" for 127.0.0.1 at 2013-08-24 14:57:22 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"564"} 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", "564"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 564 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 377 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 377 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: 9.0ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/564/payments" for 127.0.0.1 at 2013-08-24 14:57:22 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"564"} 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", "564"]]  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 564], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 564 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 564 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 377 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 377 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", 377], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["payment_id", 206], ["updated_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/564/adhesions Completed 302 Found in 12ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/564/adhesions" for 127.0.0.1 at 2013-08-24 14:57:22 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"564"} 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", "564"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 564 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 564  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 377 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 377 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: 7.3ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 564 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 565 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 565 ORDER BY to_date DESC LIMIT 1  (0.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", #], ["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 565], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:22 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" = 566 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 566 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 566], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/206/reglements/new" for 127.0.0.1 at 2013-08-24 14:57:22 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"206"} Organism Load (1.1ms) 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", "206"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 564 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 206  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 206 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" = 377  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 378  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 379 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 206 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 206 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 565 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 378 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 566 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 379 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.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 24ms (Views: 13.0ms | ActiveRecord: 3.6ms) Started POST "/adherent/payments/206/reglements" for 127.0.0.1 at 2013-08-24 14:57:22 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"378"}, "commit"=>"Enregistrer", "payment_id"=>"206"} 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", "206"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "378"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 206  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 206  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 378  (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", 378], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["payment_id", 206], ["updated_at", Sat, 24 Aug 2013 12:57:22 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" = 564 LIMIT 1 Redirected to http://www.example.com/adherent/members/564/payments Completed 302 Found in 10ms (ActiveRecord: 2.1ms) Started GET "/adherent/members/564/payments" for 127.0.0.1 at 2013-08-24 14:57:22 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"564"} 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", "564"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 564 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 206 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 378 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 565 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 377 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 564 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 206  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 206 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 206 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 206 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.0ms | ActiveRecord: 3.0ms) Adherent::Reglement Load (0.8ms) SELECT "adherent_reglements".* FROM "adherent_reglements" ORDER BY "adherent_reglements"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 378 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 565 LIMIT 1  (0.4ms) 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.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", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:22 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" = 253) 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", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 253], ["updated_at", Sat, 24 Aug 2013 12:57:22 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" = 253) 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", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 253], ["updated_at", Sat, 24 Aug 2013 12:57:22 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" = 253) 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", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 253], ["updated_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 567 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 567 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", #], ["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 567], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/567/payments/new" for 127.0.0.1 at 2013-08-24 14:57:22 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"567"} 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", "567"]] Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 567 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 380 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 380 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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 17ms (Views: 7.9ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/567/payments" for 127.0.0.1 at 2013-08-24 14:57:22 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"567"} 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", "567"]]  (0.9ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 567], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 567 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 567 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 380 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 380 SQL (1.0ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 380], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["payment_id", 207], ["updated_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/567/adhesions Completed 302 Found in 66ms (ActiveRecord: 3.7ms) Started GET "/adherent/members/567/adhesions" for 127.0.0.1 at 2013-08-24 14:57:22 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"567"} 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", "567"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 567 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 567  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 380 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 380 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: 7.8ms | ActiveRecord: 1.3ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 567 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 568 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 568 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", #], ["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 568], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:22 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" = 569 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 569 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", #], ["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 569], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/207/reglements/new" for 127.0.0.1 at 2013-08-24 14:57:22 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"207"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (1.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "207"]] Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 567 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 207  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 207 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 380  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 381  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 382 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 207 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 207 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 568 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 381 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 569 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 382 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 31ms (Views: 15.6ms | ActiveRecord: 4.5ms) Started POST "/adherent/payments/207/reglements" for 127.0.0.1 at 2013-08-24 14:57:22 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"381"}, "commit"=>"Enregistrer", "payment_id"=>"207"} 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", "207"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "381"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 207  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 207  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 381  (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", 381], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["payment_id", 207], ["updated_at", Sat, 24 Aug 2013 12:57:22 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" = 567 LIMIT 1 Redirected to http://www.example.com/adherent/members/567/payments Completed 302 Found in 10ms (ActiveRecord: 2.0ms) Started GET "/adherent/members/567/payments" for 127.0.0.1 at 2013-08-24 14:57:22 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"567"} 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", "567"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 567 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 207 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 381 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 568 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 380 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 567 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 207  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 207 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 207 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 207 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.8ms | ActiveRecord: 3.2ms) Adherent::Reglement Load (0.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 380 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 567 LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:22 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" = 'Adh000' AND "adherent_members"."organism_id" = 254) 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", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 254], ["updated_at", Sat, 24 Aug 2013 12:57:22 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" = 254) 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", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 254], ["updated_at", Sat, 24 Aug 2013 12:57:22 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" = 254) 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", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 254], ["updated_at", Sat, 24 Aug 2013 12:57:22 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" = 570 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 570 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 570], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/570/payments/new" for 127.0.0.1 at 2013-08-24 14:57:22 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"570"} Organism Load (0.5ms) 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", "570"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 570 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 383 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 383 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.0ms) Completed 200 OK in 17ms (Views: 8.9ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/570/payments" for 127.0.0.1 at 2013-08-24 14:57:22 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"570"} Organism Load (0.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", "570"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 570], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00]] Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 570 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 570 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 383 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 383 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", 383], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["payment_id", 208], ["updated_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/570/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/570/adhesions" for 127.0.0.1 at 2013-08-24 14:57:22 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"570"} 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", "570"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 570 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 570  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 383 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 383 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.1ms | ActiveRecord: 1.3ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 570 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 571 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 571 ORDER BY to_date DESC LIMIT 1  (0.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", #], ["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 571], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:22 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" = 572 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 572 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 572], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/208/reglements/new" for 127.0.0.1 at 2013-08-24 14:57:22 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"208"} 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", "208"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 570 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 208  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 208 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" = 383  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 384  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 385 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 208 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 208 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 571 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 384 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 572 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 385 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.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 23ms (Views: 13.4ms | ActiveRecord: 2.9ms) Started POST "/adherent/payments/208/reglements" for 127.0.0.1 at 2013-08-24 14:57:22 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"384"}, "commit"=>"Enregistrer", "payment_id"=>"208"} 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", "208"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "384"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 208  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 208  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 384  (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", 384], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["payment_id", 208], ["updated_at", Sat, 24 Aug 2013 12:57:22 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" = 570 LIMIT 1 Redirected to http://www.example.com/adherent/members/570/payments Completed 302 Found in 10ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/570/payments" for 127.0.0.1 at 2013-08-24 14:57:22 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"570"} 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", "570"]] Adherent::Payment Load (1.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 570 Adherent::Reglement Load (4.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 208 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 384 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 571 LIMIT 1 Adherent::Adhesion Load (3.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 383 LIMIT 1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 570 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 208  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 208 Adherent::Reglement Load (4.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 208 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 208 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: 16.6ms | ActiveRecord: 15.6ms) Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements"   (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (1.6ms) BEGIN Organism Load (0.3ms) 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", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:22 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" = 'Adh000' AND "adherent_members"."organism_id" = 255) 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", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 255], ["updated_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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" = 255) 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", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 255], ["updated_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00]]  (0.1ms) 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" = 'Adh002' AND "adherent_members"."organism_id" = 255) 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", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 255], ["updated_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 573 Adherent::Adhesion Load (1.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 573 ORDER BY to_date DESC LIMIT 1  (0.9ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 573], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/573/payments/new" for 127.0.0.1 at 2013-08-24 14:57:22 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"573"} 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", "573"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 573 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 386 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 386 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 16ms (Views: 9.4ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/573/payments" for 127.0.0.1 at 2013-08-24 14:57:22 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"573"} Organism Load (0.9ms) 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", "573"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 573], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 573 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 573 ORDER BY to_date  (2.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 386 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 386 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", 386], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["payment_id", 209], ["updated_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/573/adhesions Completed 302 Found in 17ms (ActiveRecord: 5.0ms) Started GET "/adherent/members/573/adhesions" for 127.0.0.1 at 2013-08-24 14:57:22 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"573"} Organism Load (1.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", "573"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 573 Adherent::Adhesion Load (2.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 573  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 386 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 386 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 (1.4ms) Completed 200 OK in 21ms (Views: 10.3ms | ActiveRecord: 4.2ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 573 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 574 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 574 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", #], ["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 574], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:22 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" = 575 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 575 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", #], ["created_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 575], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/209/reglements/new" for 127.0.0.1 at 2013-08-24 14:57:23 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"209"} Organism Load (0.5ms) 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", "209"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 573 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 209  (2.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 209 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 386  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 387  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 388 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 209 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 209 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 574 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 387 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 575 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 388 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (12.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 30ms (Views: 16.8ms | ActiveRecord: 5.2ms) Started POST "/adherent/payments/209/reglements" for 127.0.0.1 at 2013-08-24 14:57:23 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"387"}, "commit"=>"Enregistrer", "payment_id"=>"209"} 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", "209"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "387"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 209  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 209  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 387  (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", 387], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["payment_id", 209], ["updated_at", Sat, 24 Aug 2013 12:57:23 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" = 573 LIMIT 1 Redirected to http://www.example.com/adherent/members/573/payments Completed 302 Found in 12ms (ActiveRecord: 2.0ms) Started GET "/adherent/members/573/payments" for 127.0.0.1 at 2013-08-24 14:57:23 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"573"} 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", "573"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 573 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 209 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 387 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 574 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 386 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 573 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 209  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 209 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 209 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 209 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.8ms | ActiveRecord: 2.8ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 574 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 387  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 387  (0.4ms) 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", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:23 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" = 256) 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", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 256], ["updated_at", Sat, 24 Aug 2013 12:57:23 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" = 256) 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", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 256], ["updated_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 256) 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", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 256], ["updated_at", Sat, 24 Aug 2013 12:57:23 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" = 576 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 576 ORDER BY to_date DESC LIMIT 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", #], ["created_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 576], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements" Started GET "/adherent/members/576/payments/new" for 127.0.0.1 at 2013-08-24 14:57:23 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"576"} 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", "576"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 576 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 389 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 389 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (82.4ms) 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 96ms (Views: 86.7ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/576/payments" for 127.0.0.1 at 2013-08-24 14:57:23 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"576"} 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", "576"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 576], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 576 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 576 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 389 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 389 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 389], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["payment_id", 210], ["updated_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/576/adhesions Completed 302 Found in 20ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/576/adhesions" for 127.0.0.1 at 2013-08-24 14:57:23 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"576"} 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", "576"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 576 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 576  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 389 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 389 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 14ms (Views: 10.2ms | ActiveRecord: 1.7ms)  (0.4ms) 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 (2.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:23 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" = 257) 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", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 257], ["updated_at", Sat, 24 Aug 2013 12:57:23 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" = 257) 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", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 257], ["updated_at", Sat, 24 Aug 2013 12:57:23 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" = 257) 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", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 257], ["updated_at", Sat, 24 Aug 2013 12:57:23 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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 579 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 579 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", #], ["created_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 579], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/579/payments/new" for 127.0.0.1 at 2013-08-24 14:57:23 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"579"} 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", "579"]] Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 579 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 390 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 390 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (7.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: 11.3ms | ActiveRecord: 1.6ms) Started POST "/adherent/members/579/payments" for 127.0.0.1 at 2013-08-24 14:57:23 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"579"} 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", "579"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 579], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 579 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 579 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 390 CACHE (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 390 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", 390], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["payment_id", 211], ["updated_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/579/adhesions Completed 302 Found in 24ms (ActiveRecord: 3.1ms) Started GET "/adherent/members/579/adhesions" for 127.0.0.1 at 2013-08-24 14:57:23 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"579"} 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", "579"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 579 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 579  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 390 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 390 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: 11.1ms | ActiveRecord: 1.6ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 579 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 390  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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" = 258) 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", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 258], ["updated_at", Sat, 24 Aug 2013 12:57:23 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" = 258) 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", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 258], ["updated_at", Sat, 24 Aug 2013 12:57:23 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" = 258) 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", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 258], ["updated_at", Sat, 24 Aug 2013 12:57:23 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" = 582 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 582 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", #], ["created_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 582], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 582 Started GET "/adherent/members/582/payments/new" for 127.0.0.1 at 2013-08-24 14:57:23 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"582"} 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", "582"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 582 ORDER BY to_date  (4.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 391 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 391 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (11.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 29ms (Views: 17.1ms | ActiveRecord: 5.1ms) Started POST "/adherent/members/582/payments" for 127.0.0.1 at 2013-08-24 14:57:23 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"582"} 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", "582"]]  (0.1ms) SAVEPOINT active_record_1 SQL (2.3ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 582], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 582 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 582 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 391 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 391 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", 391], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["payment_id", 212], ["updated_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/582/adhesions Completed 302 Found in 23ms (ActiveRecord: 4.1ms) Started GET "/adherent/members/582/adhesions" for 127.0.0.1 at 2013-08-24 14:57:23 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"582"} 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", "582"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 582 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 582  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 391 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 391 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 14ms (Views: 9.6ms | ActiveRecord: 1.4ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 582  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:23 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" = 259) 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", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 259], ["updated_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00]]  (0.1ms) 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" = 'Adh001' AND "adherent_members"."organism_id" = 259) 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", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 259], ["updated_at", Sat, 24 Aug 2013 12:57:23 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" = 259) 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", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 259], ["updated_at", Sat, 24 Aug 2013 12:57:23 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" = 585 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 585 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", #], ["created_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 585], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/585/payments/new" for 127.0.0.1 at 2013-08-24 14:57:23 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"585"} 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", "585"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 585 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 392 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 392 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 19ms (Views: 9.6ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/585/payments" for 127.0.0.1 at 2013-08-24 14:57:23 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"585"} 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", "585"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 585], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 585 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 585 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 392 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 392 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", 392], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["payment_id", 213], ["updated_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/585/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/585/adhesions" for 127.0.0.1 at 2013-08-24 14:57:23 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"585"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "585"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 585 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 585  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 392 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 392 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: 2.6ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 585 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 392  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00]]  (0.0ms) 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" = 260) 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", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 260], ["updated_at", Sat, 24 Aug 2013 12:57:23 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" = 260) 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", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 260], ["updated_at", Sat, 24 Aug 2013 12:57:23 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" = 260) 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", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 260], ["updated_at", Sat, 24 Aug 2013 12:57:23 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" = 588 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 588 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 588], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/588/payments/new" for 127.0.0.1 at 2013-08-24 14:57:23 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"588"} Organism Load (0.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", "588"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 588 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 393 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 393 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 17ms (Views: 8.4ms | ActiveRecord: 1.6ms) Started POST "/adherent/members/588/payments" for 127.0.0.1 at 2013-08-24 14:57:23 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"588"} 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", "588"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 588], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 588 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 588 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 393 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 393 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", 393], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["payment_id", 214], ["updated_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/588/adhesions Completed 302 Found in 15ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/588/adhesions" for 127.0.0.1 at 2013-08-24 14:57:23 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"588"} 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", "588"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 588 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 588  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 393 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 393 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.0ms | ActiveRecord: 1.4ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 588 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 393  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 393  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (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" = 'Adh1' 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", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) 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", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 591], ["office", nil], ["tel", nil], ["updated_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 591 LIMIT 1  (0.4ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 2]] SQL (1.6ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 591]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "adherent_coords"   (0.4ms) 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 (0.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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" = 261) 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", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 261], ["updated_at", Sat, 24 Aug 2013 12:57:23 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/592/coord/new" for 127.0.0.1 at 2013-08-24 14:57:23 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"592"} 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", "592"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 592 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (27.5ms) Rendered layouts/adherent/_header.html.haml (0.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 39ms (Views: 35.6ms | ActiveRecord: 0.7ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords" Started POST "/adherent/members/592/coord" for 127.0.0.1 at 2013-08-24 14:57:23 +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"=>"592"} 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", "592"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 592 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", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 592], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/592/adhesions/new Completed 302 Found in 6ms (ActiveRecord: 1.3ms) Started GET "/adherent/members/592/adhesions/new" for 127.0.0.1 at 2013-08-24 14:57:23 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"592"} 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", "592"]] Adherent::Adhesion Load (3.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 592 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 592 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (13.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 41ms (Views: 31.7ms | ActiveRecord: 4.7ms)  (9.6ms) SELECT COUNT(*) FROM "adherent_coords"   (0.3ms) ROLLBACK  (0.2ms) BEGIN Organism Load (3.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", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:23 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" = 262) 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", Sat, 24 Aug 2013 12:57:23 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 262], ["updated_at", Sat, 24 Aug 2013 12:57:23 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/593/coord/new" for 127.0.0.1 at 2013-08-24 14:57:23 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"593"} 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", "593"]] Adherent::Coord Load (3.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 593 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (26.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 44ms (Views: 35.6ms | ActiveRecord: 4.3ms) Started POST "/adherent/members/593/coord" for 127.0.0.1 at 2013-08-24 14:57:24 +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"=>"593"} 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", "593"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 593 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", ""], ["created_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 593], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/593/adhesions/new Completed 302 Found in 9ms (ActiveRecord: 1.5ms) Started GET "/adherent/members/593/adhesions/new" for 127.0.0.1 at 2013-08-24 14:57:24 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"593"} 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", "593"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 593 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 593 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (9.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 24ms (Views: 19.3ms | ActiveRecord: 1.0ms)  (3.8ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (2.6ms) 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", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 263) 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", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 263], ["updated_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members/594/coord/new" for 127.0.0.1 at 2013-08-24 14:57:24 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"594"} Organism Load (4.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", "594"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 594 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.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 21ms (Views: 11.2ms | ActiveRecord: 4.7ms)  (0.3ms) 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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:24 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" = 264) 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", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 264], ["updated_at", Sat, 24 Aug 2013 12:57:24 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/595/coord/new" for 127.0.0.1 at 2013-08-24 14:57:24 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"595"} 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", "595"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 595 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.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 18ms (Views: 11.3ms | ActiveRecord: 1.0ms) Started POST "/adherent/members/595/coord" for 127.0.0.1 at 2013-08-24 14:57:24 +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"=>"595"} 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", "595"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 595 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) 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", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 595], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/595/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 1.2ms) Started GET "/adherent/members/595/adhesions/new" for 127.0.0.1 at 2013-08-24 14:57:24 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"595"} 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", "595"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 595 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 595 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.6ms) 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 17ms (Views: 12.0ms | ActiveRecord: 1.0ms) Adherent::Coord Load (5.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 595 LIMIT 1  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1028"} 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", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (2.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  Completed 200 OK in 22ms (Views: 9.1ms | ActiveRecord: 4.0ms)  (1.6ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1031"} 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", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (5.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" Completed 200 OK in 13ms (Views: 1.2ms | ActiveRecord: 7.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1034"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1033/payments Completed 302 Found in 11ms (ActiveRecord: 4.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1035"} Organism Load (4.7ms) 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", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1035/adhesions/new Completed 302 Found in 9ms (ActiveRecord: 5.5ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1036"} Organism Load (3.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.6ms) 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", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00]]  (3.5ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 15ms (Views: 1.0ms | ActiveRecord: 10.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1037"} Organism Load (1.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.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", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 2.0ms | ActiveRecord: 4.0ms)  (1.6ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1038"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (7.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1038/adhesions Completed 302 Found in 17ms (ActiveRecord: 7.8ms)  (2.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1040"} Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00]]  (2.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.7ms | ActiveRecord: 3.7ms)  (5.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1042"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (3.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", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1042/adhesions Completed 302 Found in 8ms (ActiveRecord: 3.9ms)  (5.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1044", "id"=>"1"} Organism Load (0.7ms) 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", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00]]  (2.6ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 21ms (Views: 2.1ms | ActiveRecord: 5.3ms)  (11.1ms) ROLLBACK  (0.3ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1046", "id"=>"1"} 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", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.4ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1048"} 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", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1050", "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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1050/adhesions Completed 302 Found in 7ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1052", "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", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 1.1ms | ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1054", "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", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1054/adhesions Completed 302 Found in 9ms (ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1056", "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.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN 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 12:57:24 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00]]  (0.9ms) 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" = 281) 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", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 281], ["updated_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00]]  (1.1ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 281) 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", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 281], ["updated_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00]]  (1.6ms) 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" = 281) 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", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 281], ["updated_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00]]  (1.0ms) 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" = 281) 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", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 281], ["updated_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00]]  (1.4ms) 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" = 281) 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", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 281], ["updated_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00]]  (1.1ms) COMMIT 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" = 596 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 596 ORDER BY to_date DESC LIMIT 1  (0.1ms) BEGIN 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", #], ["created_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 596], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:24 UTC +00:00]]  (0.8ms) COMMIT Started GET "/adherent/members/596/adhesions" for 127.0.0.1 at 2013-08-24 14:57:43 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"596"} Organism Load (4.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "596"]]  (0.5ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 596 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 596  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 394 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 394 Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 48ms (Views: 9.9ms | ActiveRecord: 28.1ms) Started GET "/assets/adherent/application.css" for 127.0.0.1 at 2013-08-24 14:57:43 +0200 Served asset /adherent/application.css - 200 OK (716ms) Started GET "/assets/adherent/application.js" for 127.0.0.1 at 2013-08-24 14:57:44 +0200 Served asset /adherent/application.js - 200 OK (850ms) Started GET "/assets/adherent/icones/navigation90.png" for 127.0.0.1 at 2013-08-24 14:57:45 +0200 Served asset /adherent/icones/navigation90.png - 200 OK (428ms) Started GET "/assets/adherent/icones/nouveau.png" for 127.0.0.1 at 2013-08-24 14:57:45 +0200 Served asset /adherent/icones/nouveau.png - 200 OK (250ms) Started GET "/assets/adherent/icones/supprimer.png" for 127.0.0.1 at 2013-08-24 14:57:46 +0200 Served asset /adherent/icones/supprimer.png - 200 OK (75ms) Started GET "/assets/adherent/icones/modifier.png" for 127.0.0.1 at 2013-08-24 14:57:46 +0200 Served asset /adherent/icones/modifier.png - 200 OK (27ms) Started DELETE "/adherent/members/596/adhesions/394" for 127.0.0.1 at 2013-08-24 14:57:48 +0200 Processing by Adherent::AdhesionsController#destroy as HTML Parameters: {"member_id"=>"596", "id"=>"394"} Organism Load (11.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "596"]] Adherent::Adhesion Load (4.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 596 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "394"]]  (0.8ms) BEGIN SQL (0.5ms) DELETE FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 [["id", 394]]  (118.4ms) COMMIT Redirected to http://127.0.0.1:55563/adherent/members/596/adhesions Completed 302 Found in 180ms (ActiveRecord: 137.9ms) Started GET "/adherent/members/596/adhesions" for 127.0.0.1 at 2013-08-24 14:57:49 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"596"} Organism Load (2.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "596"]]  (3.8ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 596 Redirected to http://127.0.0.1:55563/adherent/members/596/adhesions/new Completed 302 Found in 21ms (ActiveRecord: 8.8ms) Started GET "/adherent/members/596/adhesions/new" for 127.0.0.1 at 2013-08-24 14:57:49 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"596"} 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", "596"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 596 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 596 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (9.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 27ms (Views: 15.2ms | ActiveRecord: 2.1ms) Started GET "/assets/adherent/cal.gif" for 127.0.0.1 at 2013-08-24 14:57:49 +0200 Served asset /adherent/cal.gif - 200 OK (88ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_adhesions"   (51.1ms) 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  (10.5ms) select table_name from information_schema.views where table_schema = 'adh_test'  (486.0ms) TRUNCATE TABLE "adherent_payments", "adherent_coords", "adherent_adhesions", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (0.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" 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.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (7.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:50 UTC +00:00]]  (2.4ms) COMMIT  (0.2ms) 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", Sat, 24 Aug 2013 12:57:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 12:57:50 UTC +00:00]]  (12.1ms) 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 (10.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", Sat, 24 Aug 2013 12:57:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 12:57:50 UTC +00:00]]  (1.3ms) 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.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", Sat, 24 Aug 2013 12:57:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 12:57:50 UTC +00:00]]  (26.0ms) 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", Sat, 24 Aug 2013 12:57:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 12:57:50 UTC +00:00]]  (0.8ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' 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", Sat, 24 Aug 2013 12:57:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 12:57:50 UTC +00:00]]  (0.9ms) COMMIT Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members"  (0.1ms) BEGIN SQL (0.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 12:57:50 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 1], ["mode", "Chèque"], ["updated_at", Sat, 24 Aug 2013 12:57:50 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 1 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date  (0.8ms) COMMIT Started GET "/adherent/members/1/payments" for 127.0.0.1 at 2013-08-24 14:57:50 +0200 Processing by Adherent::PaymentsController#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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* 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  (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.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 31ms (Views: 25.9ms | ActiveRecord: 3.5ms) Started GET "/assets/adherent/icones/money-plus.png" for 127.0.0.1 at 2013-08-24 14:57:50 +0200 Served asset /adherent/icones/money-plus.png - 200 OK (52ms) Started DELETE "/adherent/members/1/payments/1" for 127.0.0.1 at 2013-08-24 14:57:51 +0200 Processing by Adherent::PaymentsController#destroy as HTML Parameters: {"member_id"=>"1", "id"=>"1"} Organism Load (1.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (16.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] Adherent::Payment Load (12.0ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 1 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "1"]]  (0.8ms) BEGIN Adherent::Reglement Load (2.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1 SQL (5.4ms) DELETE FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 [["id", 1]]  (90.4ms) COMMIT Redirected to http://127.0.0.1:55563/adherent/members/1/payments Completed 302 Found in 143ms (ActiveRecord: 128.0ms) Started GET "/adherent/members/1/payments" for 127.0.0.1 at 2013-08-24 14:57:51 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1"} Organism Load (0.3ms) 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"."id" = $1 LIMIT 1 [["id", "1"]] Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_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 22ms (Views: 15.7ms | ActiveRecord: 2.8ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (108.5ms) TRUNCATE TABLE "adherent_payments", "adherent_coords", "adherent_adhesions", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (0.4ms) 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.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (2.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:52 UTC +00:00]]  (3.9ms) 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" = 1) 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", Sat, 24 Aug 2013 12:57:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 12:57:52 UTC +00:00]]  (1.5ms) 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" = 1) 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", Sat, 24 Aug 2013 12:57:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 12:57:52 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" = '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", Sat, 24 Aug 2013 12:57:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 12:57:52 UTC +00:00]]  (0.7ms) 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", Sat, 24 Aug 2013 12:57:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 12:57:52 UTC +00:00]]  (0.9ms) 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", Sat, 24 Aug 2013 12:57:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 12:57:52 UTC +00:00]]  (0.8ms) COMMIT Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 14:57:52 +0200 Processing by Adherent::MembersController#index as HTML 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"."organism_id" = 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 2 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 3 LIMIT 1 Adherent::Adhesion Load (3.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 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 157ms (Views: 143.8ms | ActiveRecord: 9.6ms) Started GET "/assets/adherent/icones/detail.png" for 127.0.0.1 at 2013-08-24 14:57:52 +0200 Served asset /adherent/icones/detail.png - 200 OK (57ms) Started GET "/assets/adherent/icones/afficher.png" for 127.0.0.1 at 2013-08-24 14:57:53 +0200 Served asset /adherent/icones/afficher.png - 200 OK (39ms) Started GET "/assets/adherent/icones/payment.png" for 127.0.0.1 at 2013-08-24 14:57:53 +0200 Served asset /adherent/icones/payment.png - 200 OK (24ms) Started DELETE "/adherent/members/1" for 127.0.0.1 at 2013-08-24 14:57:53 +0200 Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1"} Organism Load (16.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (22.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]]  (0.1ms) BEGIN Adherent::Coord Load (2.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1 SQL (2.2ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 1]]  (100.9ms) COMMIT Redirected to http://127.0.0.1:55563/adherent/members Completed 302 Found in 148ms (ActiveRecord: 143.4ms) Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 14:57:53 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.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"."organism_id" = 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 2 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 3 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date Adherent::Coord Load (0.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 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 50ms (Views: 35.6ms | ActiveRecord: 5.2ms)  (0.8ms) SELECT COUNT(*) FROM "adherent_members"   (0.5ms) 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  (158.6ms) TRUNCATE TABLE "adherent_payments", "adherent_coords", "adherent_adhesions", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (1.0ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (10.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", Sat, 24 Aug 2013 12:57:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:54 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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" = 1) 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", Sat, 24 Aug 2013 12:57:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 12:57:54 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' 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", Sat, 24 Aug 2013 12:57:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 12:57:54 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" = 1) 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", Sat, 24 Aug 2013 12:57:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 12:57:54 UTC +00:00]]  (0.1ms) 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" = '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", Sat, 24 Aug 2013 12:57:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 12:57:54 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" = 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", Sat, 24 Aug 2013 12:57:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 12:57:54 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-24 14:57:54 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.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"."organism_id" = 1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 2 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 3 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date Adherent::Coord Load (2.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 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.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.3ms) Completed 200 OK in 43ms (Views: 30.6ms | ActiveRecord: 8.7ms)  (2.7ms) 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.4ms) 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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.6ms) 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" = 2) 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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 2], ["updated_at", Sat, 24 Aug 2013 12:57:55 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" = 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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 2], ["updated_at", Sat, 24 Aug 2013 12:57:55 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" = 2) 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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 2], ["updated_at", Sat, 24 Aug 2013 12:57:55 UTC +00:00]]  (0.0ms) 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" = 'Adh003' AND "adherent_members"."organism_id" = 2) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 2], ["updated_at", Sat, 24 Aug 2013 12:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 2) 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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 2], ["updated_at", Sat, 24 Aug 2013 12:57:55 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-24 14:57:55 +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" = 2 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 6 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 6 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 7 ORDER BY to_date Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 7 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 8 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 8 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 9 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 9 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 10 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 10 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 34ms (Views: 26.6ms | ActiveRecord: 3.7ms)  (0.4ms) 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.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:55 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" = 3) 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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 3], ["updated_at", Sat, 24 Aug 2013 12:57:55 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" = 3) 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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 3], ["updated_at", Sat, 24 Aug 2013 12:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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" = 3) 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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 3], ["updated_at", Sat, 24 Aug 2013 12:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 3) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 3], ["updated_at", Sat, 24 Aug 2013 12:57:55 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" = 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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 3], ["updated_at", Sat, 24 Aug 2013 12:57:55 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-24 14:57:55 +0200 Processing by Adherent::MembersController#index as HTML 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"."organism_id" = 3 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 11 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 11 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 12 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 12 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 13 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 13 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 14 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 14 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 15 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 15 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 (1.0ms) Completed 200 OK in 34ms (Views: 26.3ms | ActiveRecord: 4.0ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) 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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 11], ["office", nil], ["tel", nil], ["updated_at", Sat, 24 Aug 2013 12:57:55 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" = 11 LIMIT 1 Started GET "/adherent/members/11/coord" for 127.0.0.1 at 2013-08-24 14:57:55 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"11"} Organism Load (0.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", "11"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 11 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.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 9ms (Views: 5.4ms | ActiveRecord: 0.6ms)  (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 (2.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:55 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" = 'Adh000' 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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 4], ["updated_at", Sat, 24 Aug 2013 12:57:55 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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 4], ["updated_at", Sat, 24 Aug 2013 12:57:55 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" = 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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 4], ["updated_at", Sat, 24 Aug 2013 12:57:55 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" = 'Adh003' AND "adherent_members"."organism_id" = 4) 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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 4], ["updated_at", Sat, 24 Aug 2013 12:57:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (2.8ms) 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" = 4) 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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 4], ["updated_at", Sat, 24 Aug 2013 12:57:55 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-24 14:57:55 +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" = 4 Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 16 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 16 LIMIT 1 Adherent::Adhesion Load (0.3ms) 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.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 18 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 19 ORDER BY to_date Adherent::Coord Load (0.3ms) 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 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 36ms (Views: 28.6ms | ActiveRecord: 4.6ms) Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-24 14:57:55 +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 (7.9ms) 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 86ms (Views: 82.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) 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 (1.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:55 UTC +00:00]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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" = 5) 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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 5], ["updated_at", Sat, 24 Aug 2013 12:57:55 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.5ms) 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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 5], ["updated_at", Sat, 24 Aug 2013 12:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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" = 5) 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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 5], ["updated_at", Sat, 24 Aug 2013 12:57:55 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.6ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 5) 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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 5], ["updated_at", Sat, 24 Aug 2013 12:57:55 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' 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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 5], ["updated_at", Sat, 24 Aug 2013 12:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 14:57:55 +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" = 5 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 21 ORDER BY to_date Adherent::Coord Load (1.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 21 LIMIT 1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 22 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 22 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 23 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 23 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 24 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 24 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 25 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 25 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 161ms (Views: 151.6ms | ActiveRecord: 6.4ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/21/payments" for 127.0.0.1 at 2013-08-24 14:57:55 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"21"} 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", "21"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 21 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 8ms (Views: 6.0ms | ActiveRecord: 0.9ms)  (0.1ms) 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.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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:55 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" = 'Adh000' AND "adherent_members"."organism_id" = 6) LIMIT 1 SQL (2.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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 6], ["updated_at", Sat, 24 Aug 2013 12:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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" = 6) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 6], ["updated_at", Sat, 24 Aug 2013 12:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 6) 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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 6], ["updated_at", Sat, 24 Aug 2013 12:57:55 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" = 6) 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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 6], ["updated_at", Sat, 24 Aug 2013 12:57:55 UTC +00:00]]  (0.4ms) 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" = 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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 6], ["updated_at", Sat, 24 Aug 2013 12:57:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 14:57:55 +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" = 6 Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 26 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 26 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 27 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 28 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 28 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 29 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 29 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 30 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 33ms (Views: 26.1ms | ActiveRecord: 4.7ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/26/adhesions" for 127.0.0.1 at 2013-08-24 14:57:55 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"26"} 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", "26"]]  (0.6ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 26 Redirected to http://www.example.com/adherent/members/26/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 1.1ms) Started GET "/adherent/members/26/adhesions/new" for 127.0.0.1 at 2013-08-24 14:57:55 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"26"} 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", "26"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 26 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 26 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (7.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: 10.6ms | ActiveRecord: 1.8ms)  (0.1ms) 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 (3.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:55 UTC +00:00]]  (0.1ms) 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" = 7) 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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 7], ["updated_at", Sat, 24 Aug 2013 12:57:55 UTC +00:00]]  (1.0ms) 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" = 7) 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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 7], ["updated_at", Sat, 24 Aug 2013 12:57:55 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" = 7) 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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 7], ["updated_at", Sat, 24 Aug 2013 12:57:55 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" = 7) 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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 7], ["updated_at", Sat, 24 Aug 2013 12:57:55 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" = 'Adh004' AND "adherent_members"."organism_id" = 7) 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", Sat, 24 Aug 2013 12:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 7], ["updated_at", Sat, 24 Aug 2013 12:57:55 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-24 14:57:55 +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 (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 7 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 31 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 31 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 32 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 32 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 33 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 33 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 ORDER BY to_date Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 34 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 35 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 33ms (Views: 25.0ms | ActiveRecord: 3.9ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.2ms) 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.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", #], ["created_at", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 31], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/31/adhesions" for 127.0.0.1 at 2013-08-24 14:57:56 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"31"} 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", "31"]]  (0.5ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 31 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 31  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 1 CACHE (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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: 10.0ms | ActiveRecord: 2.4ms)  (1.2ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) COMMIT  (0.1ms) BEGIN Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.7ms) SAVEPOINT active_record_1 SQL (4.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 8) 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", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 8], ["updated_at", Sat, 24 Aug 2013 12:57:56 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" = 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", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 8], ["updated_at", Sat, 24 Aug 2013 12:57:56 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" = 8) 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", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 8], ["updated_at", Sat, 24 Aug 2013 12:57:56 UTC +00:00]]  (1.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" = 'Adh003' AND "adherent_members"."organism_id" = 8) 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", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 8], ["updated_at", Sat, 24 Aug 2013 12:57:56 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" = 'Adh004' AND "adherent_members"."organism_id" = 8) 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", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 8], ["updated_at", Sat, 24 Aug 2013 12:57:56 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-24 14:57:56 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (11.7ms) 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" = 8 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 36 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 36 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 37 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 37 LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 38 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 38 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 39 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 40 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 40 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 54ms (Views: 33.7ms | ActiveRecord: 16.7ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/36/edit" for 127.0.0.1 at 2013-08-24 14:57:56 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"36"} 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", "36"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (6.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 48ms (Views: 40.6ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.5ms) BEGIN  (0.2ms) COMMIT  (0.1ms) BEGIN Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 9) 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", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 9], ["updated_at", Sat, 24 Aug 2013 12:57:56 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" = 9) 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", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 9], ["updated_at", Sat, 24 Aug 2013 12:57:56 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" = 9) 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", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 9], ["updated_at", Sat, 24 Aug 2013 12:57:56 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" = 9) 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", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 9], ["updated_at", Sat, 24 Aug 2013 12:57:56 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" = 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", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 9], ["updated_at", Sat, 24 Aug 2013 12:57:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 14:57:56 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.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"."organism_id" = 9 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 41 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 41 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 42 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 42 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 43 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 43 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 44 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 44 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 45 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 45 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 33ms (Views: 26.6ms | ActiveRecord: 3.8ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/41/coord" for 127.0.0.1 at 2013-08-24 14:57:56 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"41"} Organism Load (1.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", "41"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 41 LIMIT 1 Redirected to http://www.example.com/adherent/members/41/coord/new Completed 302 Found in 5ms (ActiveRecord: 1.6ms) Started GET "/adherent/members/41/coord/new" for 127.0.0.1 at 2013-08-24 14:57:56 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"41"} 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", "41"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 41 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.5ms) 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 17ms (Views: 12.4ms | ActiveRecord: 0.8ms)  (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 (1.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:56 UTC +00:00]]  (3.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" = 'Adh000' AND "adherent_members"."organism_id" = 10) LIMIT 1 SQL (3.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", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 10], ["updated_at", Sat, 24 Aug 2013 12:57:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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 (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", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 10], ["updated_at", Sat, 24 Aug 2013 12:57:56 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 (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", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 10], ["updated_at", Sat, 24 Aug 2013 12:57:56 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" = 'Adh003' AND "adherent_members"."organism_id" = 10) 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", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 10], ["updated_at", Sat, 24 Aug 2013 12:57:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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" = 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", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 10], ["updated_at", Sat, 24 Aug 2013 12:57:56 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/new" for 127.0.0.1 at 2013-08-24 14:57:56 +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 (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: 9.4ms | ActiveRecord: 0.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members" Started POST "/adherent/members" for 127.0.0.1 at 2013-08-24 14:57:56 +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.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'ADH1' AND "adherent_members"."organism_id" = 10) 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", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 10], ["updated_at", Sat, 24 Aug 2013 12:57:56 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/51/coord/new Completed 302 Found in 9ms (ActiveRecord: 1.4ms) Started GET "/adherent/members/51/coord/new" for 127.0.0.1 at 2013-08-24 14:57:56 +0200 Processing by Adherent::CoordsController#new 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::Coord Load (1.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 51 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (15.5ms) 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 27ms (Views: 22.2ms | ActiveRecord: 1.6ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"   (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (2.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.6ms) 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.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.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  (1.8ms) 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.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", Tue, 06 Jun 1944], ["created_at", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 12:57:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) 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 (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", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 12:57:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) 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.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", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 12:57:56 UTC +00:00]]  (0.1ms) RELEASE 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" = 2) LIMIT 1  (1.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) 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  (1.3ms) 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.9ms) 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.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 12:57:56 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" = 55 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 55 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", #], ["created_at", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 55], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:56 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" = 55 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 55 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.8ms) 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", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 12:57:56 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" = 56 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 56 ORDER BY to_date DESC LIMIT 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", #], ["created_at", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 56], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:56 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" = 56 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 56 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.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", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 12:57:56 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" = 57 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 57 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", #], ["created_at", Sat, 24 Aug 2013 12:57:56 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 57], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:57:56 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" = 57 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 57 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Organism Load (1.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (8.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:57 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 66ms (Views: 23.5ms | ActiveRecord: 9.4ms)  (2.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Organism Load (0.7ms) 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", Sat, 24 Aug 2013 12:57:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 0.8ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1060"} Organism Load (0.5ms) 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", Sat, 24 Aug 2013 12:57:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 7ms (ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1061"} Organism Load (1.7ms) 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", Sat, 24 Aug 2013 12:57:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 7ms (ActiveRecord: 2.6ms)  (0.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (2.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", Sat, 24 Aug 2013 12:57:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 3.2ms | ActiveRecord: 3.1ms)  (0.1ms) 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 (1.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", Sat, 24 Aug 2013 12:57:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:57 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" = 'A001' 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", Mon, 06 Jun 1955], ["created_at", Sat, 24 Aug 2013 12:57:57 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 16], ["updated_at", Sat, 24 Aug 2013 12:57:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/58/coord/new Completed 302 Found in 22ms (ActiveRecord: 3.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (2.0ms) 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", Sat, 24 Aug 2013 12:57:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:57 UTC +00:00]]  (0.2ms) 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" = 'A001' AND "adherent_members"."organism_id" = 17) 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", Sat, 24 Aug 2013 12:57:57 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 17], ["updated_at", Sat, 24 Aug 2013 12:57:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/59/coord/new Completed 302 Found in 16ms (ActiveRecord: 4.2ms)  (0.6ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:57 UTC +00:00]]  (0.0ms) 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" = 'A001' AND "adherent_members"."organism_id" = 18) 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", Sat, 24 Aug 2013 12:57:57 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 18], ["updated_at", Sat, 24 Aug 2013 12:57:57 UTC +00:00]]  (2.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/60/coord/new Completed 302 Found in 20ms (ActiveRecord: 7.8ms)  (1.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML Organism Load (2.6ms) 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", Sat, 24 Aug 2013 12:57:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 1.2ms | ActiveRecord: 3.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Organism Load (3.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Sat, 24 Aug 2013 12:57:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 16ms (Views: 2.5ms | ActiveRecord: 4.3ms)  (1.2ms) ROLLBACK  (0.1ms) 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", Sat, 24 Aug 2013 12:57:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1064"} Organism Load (3.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.0ms) 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", Sat, 24 Aug 2013 12:57:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1064 Completed 302 Found in 14ms (ActiveRecord: 5.5ms)  (0.9ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1065"} Organism Load (0.6ms) 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", Sat, 24 Aug 2013 12:57:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1065 Completed 302 Found in 8ms (ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1066"} Organism Load (0.1ms) 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", Sat, 24 Aug 2013 12:57:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1066 Completed 302 Found in 7ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1067"} Organism Load (1.8ms) 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", Sat, 24 Aug 2013 12:57:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.9ms | ActiveRecord: 2.4ms)  (0.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 (2.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (1.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 26 Completed 200 OK in 15ms (Views: 1.5ms | ActiveRecord: 4.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (1.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.6ms) 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", Sat, 24 Aug 2013 12:57:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.9ms | ActiveRecord: 3.9ms)  (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.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 28) 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", Sat, 24 Aug 2013 12:57:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 28], ["updated_at", Sat, 24 Aug 2013 12:57:58 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/61/adhesions/new" for 127.0.0.1 at 2013-08-24 14:57:58 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"61"} 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", "61"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 61 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 61 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 18ms (Views: 10.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 (0.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:58 UTC +00:00]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.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" = 29) 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", Sat, 24 Aug 2013 12:57:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 29], ["updated_at", Sat, 24 Aug 2013 12:57:58 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/62/adhesions/new" for 127.0.0.1 at 2013-08-24 14:57:58 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"62"} 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", "62"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 62 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 62 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (8.6ms) 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 18ms (Views: 13.0ms | ActiveRecord: 1.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 62 Started POST "/adherent/members/62/adhesions" for 127.0.0.1 at 2013-08-24 14:57:58 +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"=>"62"} 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", "62"]]  (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", #], ["created_at", Sat, 24 Aug 2013 12:57:58 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 62], ["to_date", Thu, 31 Jul 2014], ["updated_at", Sat, 24 Aug 2013 12:57:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/62/adhesions Completed 302 Found in 7ms (ActiveRecord: 1.1ms) Started GET "/adherent/members/62/adhesions" for 127.0.0.1 at 2013-08-24 14:57:58 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"62"} 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", "62"]]  (3.6ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 62 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 62  (5.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 5 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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.1ms) Completed 200 OK in 29ms (Views: 10.7ms | ActiveRecord: 9.7ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 62  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) 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", Sat, 24 Aug 2013 12:57:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:58 UTC +00:00]]  (0.8ms) 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" = 30) 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", Sat, 24 Aug 2013 12:57:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 30], ["updated_at", Sat, 24 Aug 2013 12:57:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:57:58 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 63], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 12:57:58 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/63/adhesions" for 127.0.0.1 at 2013-08-24 14:57:58 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"63"} Organism Load (0.9ms) 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", "63"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 63 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 63  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 6 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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 15ms (Views: 8.1ms | ActiveRecord: 2.0ms)  (0.2ms) 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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:58 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" = 31) 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", Sat, 24 Aug 2013 12:57:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 31], ["updated_at", Sat, 24 Aug 2013 12:57:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members"  (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", #], ["created_at", Sat, 24 Aug 2013 12:57:58 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 64], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 12:57:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/64/adhesions" for 127.0.0.1 at 2013-08-24 14:57:58 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"64"} Organism Load (1.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "64"]]  (0.6ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 64 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 64  (1.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 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 17ms (Views: 9.4ms | ActiveRecord: 4.4ms) Started GET "/adherent/members/64/adhesions/7/edit" for 127.0.0.1 at 2013-08-24 14:57:58 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"64", "id"=>"7"} 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", "64"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 64 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "7"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 15ms (Views: 11.0ms | ActiveRecord: 0.9ms)  (0.2ms) 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 (3.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:59 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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" = 32) 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", Sat, 24 Aug 2013 12:57:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 32], ["updated_at", Sat, 24 Aug 2013 12:57:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (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", #], ["created_at", Sat, 24 Aug 2013 12:57:59 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 65], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 12:57:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/65/adhesions" for 127.0.0.1 at 2013-08-24 14:57:59 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"65"} 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", "65"]]  (0.8ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 65 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 65  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8 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 17ms (Views: 10.7ms | ActiveRecord: 2.1ms) Started GET "/adherent/members/65/payments/new" for 127.0.0.1 at 2013-08-24 14:57:59 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"65"} 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", "65"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 65 ORDER BY to_date  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8 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 17ms (Views: 10.3ms | ActiveRecord: 1.1ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1068"} 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", Sat, 24 Aug 2013 12:57:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1069"} Organism Load (7.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.3ms) 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", Sat, 24 Aug 2013 12:57:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 16ms (Views: 1.0ms | ActiveRecord: 10.8ms)  (3.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1070"} 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", Sat, 24 Aug 2013 12:57:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1070/adhesions Completed 302 Found in 6ms (ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1072"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (1.7ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1074"} 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", Sat, 24 Aug 2013 12:57:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1074/adhesions Completed 302 Found in 7ms (ActiveRecord: 0.8ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1076", "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", Sat, 24 Aug 2013 12:57:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 35ms (Views: 29.4ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1078", "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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1080", "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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1080/payments/1081 Completed 302 Found in 6ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1082", "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.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:57:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1084", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.6ms) 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", Sat, 24 Aug 2013 12:57:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:59 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1084/payments/1085 Completed 302 Found in 13ms (ActiveRecord: 3.1ms)  (1.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1086", "id"=>"1"} Organism Load (0.4ms) 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", Sat, 24 Aug 2013 12:57:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1088", "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", Sat, 24 Aug 2013 12:57:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:57:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 30ms (Views: 25.2ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1090", "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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1092"} Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.4ms) 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 12:58:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (2.6ms) BEGIN Organism Load (1.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.0ms) 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", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:58:00 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" = 47) 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", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 47], ["updated_at", Sat, 24 Aug 2013 12:58:00 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" = 66 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 66 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", #], ["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 66], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/66/payments/new" for 127.0.0.1 at 2013-08-24 14:58:00 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"66"} Organism Load (1.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", "66"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 66 ORDER BY to_date  (0.2ms) 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/payments/_form.html.haml (5.8ms) 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 17ms (Views: 9.1ms | 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  (0.1ms) 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", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00]]  (0.5ms) 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" = 48) 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", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 48], ["updated_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00]]  (0.3ms) 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" = 67 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 67 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", #], ["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 67], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/67/payments/new" for 127.0.0.1 at 2013-08-24 14:58:00 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"67"} 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", "67"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 67 ORDER BY to_date  (0.2ms) 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 (4.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: 9.2ms | ActiveRecord: 1.3ms)  (0.6ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 67 Started POST "/adherent/members/67/payments" for 127.0.0.1 at 2013-08-24 14:58:00 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"67"} Organism Load (0.5ms) 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"."id" = $1 LIMIT 1 [["id", "67"]]  (0.4ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 67], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 67 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 67 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 10  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/67/adhesions Completed 302 Found in 18ms (ActiveRecord: 4.5ms) Started GET "/adherent/members/67/adhesions" for 127.0.0.1 at 2013-08-24 14:58:00 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"67"} 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", "67"]]  (0.8ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 67 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 67  (0.3ms) 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 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: 9.4ms | ActiveRecord: 1.9ms)  (0.6ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 67  (0.1ms) 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 (2.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 49) 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", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 49], ["updated_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00]]  (0.3ms) 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" = 68 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 68 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", #], ["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 68], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 68], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00]] Adherent::Member Load (1.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 68 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 68 ORDER BY to_date  (1.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 11  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/68/payments" for 127.0.0.1 at 2013-08-24 14:58:00 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"68"} 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", "68"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 68 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* 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  (0.2ms) 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 14ms (Views: 10.3ms | ActiveRecord: 1.7ms)  (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.4ms) 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", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00]]  (1.6ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 50) 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", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 50], ["updated_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00]]  (0.3ms) 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" = 69 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 69 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 69], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:58:00 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", #], ["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 69], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 69 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 69 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 12  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/69/payments" for 127.0.0.1 at 2013-08-24 14:58:00 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"69"} 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", "69"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 69 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* 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  (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.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 16ms (Views: 11.8ms | ActiveRecord: 1.9ms) Started GET "/adherent/payments/3/reglements/new" for 127.0.0.1 at 2013-08-24 14:58:00 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"3"} 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", "3"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 69 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::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 12 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 /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (4.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 17ms (Views: 8.8ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) 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.5ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:58:00 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" = 13  (0.0ms) 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", 13], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 12:58:00 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" = 13  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 13  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 14  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 14], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 12:58:00 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" = 15  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 15], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 15  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) 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  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.0ms) 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", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 12:58:00 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", #], ["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 70], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 12:58:00 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" = 70 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 70 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", #], ["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 70], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 70], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 70 LIMIT 1 Adherent::Adhesion Load (19.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 70 ORDER BY to_date  (0.4ms) 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.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 16 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", 16], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["payment_id", 4], ["updated_at", Sat, 24 Aug 2013 12:58:00 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.9ms) 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", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 71], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 12:58:00 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" = 71 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 71 ORDER BY to_date DESC LIMIT 1  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 71], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 12:58:00 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", #], ["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 71], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 71 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 71 ORDER BY to_date  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 18  (3.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 19  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 18 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", 18], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["payment_id", 5], ["updated_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 19 SQL (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["payment_id", 5], ["updated_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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  (0.1ms) ROLLBACK  (0.0ms) BEGIN 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  (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", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 72], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 12:58:00 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" = 72 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 72 ORDER BY to_date DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 72], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 12:58:00 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", #], ["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 72], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 72 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 72 ORDER BY to_date  (0.3ms) 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  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20 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", 20], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["payment_id", 6], ["updated_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 21 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 21], ["amount", #], ["created_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00], ["payment_id", 6], ["updated_at", Sat, 24 Aug 2013 12:58:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) 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.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (36.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", Sat, 24 Aug 2013 13:05:01 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:05:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.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", Sat, 24 Aug 2013 13:05:01 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 73], ["office", nil], ["tel", nil], ["updated_at", Sat, 24 Aug 2013 13:05:01 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 73 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 2]] SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 73]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1003"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) 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", Sat, 24 Aug 2013 13:05:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 19ms (ActiveRecord: 3.1ms)  (0.6ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1004"} 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", Sat, 24 Aug 2013 13:05:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001", "birthdate"=>"06/06/1955"}} Organism Load (0.6ms) 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", Sat, 24 Aug 2013 13:05:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:02 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" = 'A001' AND "adherent_members"."organism_id" = 53) 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", Sat, 24 Aug 2013 13:05:02 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 53], ["updated_at", Sat, 24 Aug 2013 13:05:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/74/coord/new Completed 302 Found in 61ms (ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (2.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", Sat, 24 Aug 2013 13:05:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.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" = 54) 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", Sat, 24 Aug 2013 13:05:02 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 54], ["updated_at", Sat, 24 Aug 2013 13:05:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/75/coord/new Completed 302 Found in 15ms (ActiveRecord: 8.2ms)  (2.6ms) 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 (2.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 42ms (Views: 35.4ms | ActiveRecord: 2.8ms)  (0.3ms) ROLLBACK  (0.0ms) 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.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", Sat, 24 Aug 2013 13:05:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:02 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" = 'A001' AND "adherent_members"."organism_id" = 56) 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", Sat, 24 Aug 2013 13:05:02 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 56], ["updated_at", Sat, 24 Aug 2013 13:05:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/76/coord/new Completed 302 Found in 11ms (ActiveRecord: 2.3ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML 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", Sat, 24 Aug 2013 13:05:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 57 Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 1.5ms)  (0.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 (0.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Organism Load (0.3ms) 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", Sat, 24 Aug 2013 13:05:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} Organism Load (0.8ms) 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", Sat, 24 Aug 2013 13:05:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:02 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 1.5ms)  (0.6ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Organism Load (0.4ms) 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", Sat, 24 Aug 2013 13:05:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 1.2ms)  (0.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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1009"} 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", Sat, 24 Aug 2013 13:05:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1009 Completed 302 Found in 7ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1010"} 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", Sat, 24 Aug 2013 13:05:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1011"} 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", Sat, 24 Aug 2013 13:05:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1011 Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1012"} 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", Sat, 24 Aug 2013 13:05:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1012 Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML 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", Sat, 24 Aug 2013 13:05:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.8ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:02 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" = 68) 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", Sat, 24 Aug 2013 13:05:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 68], ["updated_at", Sat, 24 Aug 2013 13:05:02 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" = 77 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 77 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", #], ["created_at", Sat, 24 Aug 2013 13:05:02 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 77], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:02 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/77/payments/new" for 127.0.0.1 at 2013-08-24 15:05:02 +0200 Processing by Adherent::PaymentsController#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.4ms) 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 ORDER BY to_date  (1.7ms) 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 (95.7ms) Rendered layouts/adherent/_header.html.haml (1.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (1.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.9ms) Completed 200 OK in 171ms (Views: 124.1ms | ActiveRecord: 9.5ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:02 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" = 'Adh000' AND "adherent_members"."organism_id" = 69) 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", Sat, 24 Aug 2013 13:05:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 69], ["updated_at", Sat, 24 Aug 2013 13:05:02 UTC +00:00]]  (0.1ms) 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" = 78 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 78 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", #], ["created_at", Sat, 24 Aug 2013 13:05:02 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 78], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/78/payments/new" for 127.0.0.1 at 2013-08-24 15:05:02 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"78"} 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", "78"]] Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 78 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (59.5ms) 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 74ms (Views: 64.0ms | ActiveRecord: 1.9ms)  (0.6ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 78 Started POST "/adherent/members/78/payments" for 127.0.0.1 at 2013-08-24 15:05:03 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"78"} 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"."id" = $1 LIMIT 1 [["id", "78"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 78], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 78 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 78 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/78/adhesions Completed 302 Found in 39ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/78/adhesions" for 127.0.0.1 at 2013-08-24 15:05:03 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"78"} Organism Load (2.0ms) 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", "78"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 78 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 78  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23 CACHE (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23 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: 18.7ms | ActiveRecord: 3.5ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 78  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.8ms) 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:03 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" = 70) 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 70], ["updated_at", Sat, 24 Aug 2013 13:05:03 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" = 79 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 79 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", #], ["created_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 79], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:03 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", #], ["created_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 79], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 79 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 79 ORDER BY to_date  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 24  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/79/payments" for 127.0.0.1 at 2013-08-24 15:05:03 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"79"} 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", "79"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 79 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* 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  (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 23ms (Views: 19.0ms | ActiveRecord: 2.1ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:03 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" = 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 71], ["updated_at", Sat, 24 Aug 2013 13:05:03 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" = 80 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 80 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", #], ["created_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 80], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00]]  (0.4ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 80], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 80 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 80 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 25  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/80/payments" for 127.0.0.1 at 2013-08-24 15:05:03 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"80"} Organism Load (1.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", "80"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 80 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* 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  (0.6ms) 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 15ms (Views: 9.6ms | ActiveRecord: 3.3ms) Started GET "/adherent/payments/9/reglements/new" for 127.0.0.1 at 2013-08-24 15:05:03 +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.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "9"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 80 LIMIT 1 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 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 Adherent::Reglement Load (0.4ms) 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 /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (7.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 24ms (Views: 14.8ms | ActiveRecord: 2.2ms)  (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.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.0ms) BEGIN Adherent::Member Exists (0.5ms) 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" = '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.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Tue, 06 Jun 1944], ["created_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) 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.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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00]]  (0.4ms) RELEASE 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  (1.7ms) 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00]]  (0.1ms) RELEASE 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" = 2) LIMIT 1  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Adhesion Load (0.2ms) 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.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.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  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:05:03 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" = 84 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 84 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", #], ["created_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 84], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 84 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 84 ORDER BY to_date DESC LIMIT 1  (0.6ms) ROLLBACK  (0.0ms) 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 85 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 85 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", #], ["created_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 85], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:03 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" = 85 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 85 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 86 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 86 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", #], ["created_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 86], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:03 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" = 86 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 86 ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1013", "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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "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 (1.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.0ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1017", "id"=>"1"} 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1017/payments/1018 Completed 302 Found in 6ms (ActiveRecord: 1.1ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1019", "id"=>"1"} Organism Load (0.8ms) 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1019/payments/1020 Completed 302 Found in 6ms (ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1021", "id"=>"1"} 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1023", "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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1026"} Organism Load (6.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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 1.3ms | ActiveRecord: 7.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1027"} Organism Load (1.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.6ms) 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 2.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1029", "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.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1031", "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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:03 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::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1033"} Organism Load (0.8ms) 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1033/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "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.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1035/adhesions Completed 302 Found in 6ms (ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.8ms | ActiveRecord: 1.0ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:03 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" = 86) 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 86], ["updated_at", Sat, 24 Aug 2013 13:05:03 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" = 86) 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 86], ["updated_at", Sat, 24 Aug 2013 13:05:03 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" = 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 86], ["updated_at", Sat, 24 Aug 2013 13:05:03 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" = 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 86], ["updated_at", Sat, 24 Aug 2013 13:05:03 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" = 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 86], ["updated_at", Sat, 24 Aug 2013 13:05:03 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-24 15:05:03 +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" = 86 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 87 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 87 LIMIT 1 Adherent::Adhesion Load (0.3ms) 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 (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 89 ORDER BY to_date Adherent::Coord Load (0.2ms) 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.2ms) 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.2ms) 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 33ms (Views: 24.5ms | ActiveRecord: 3.9ms)  (0.0ms) 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 (1.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:03 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" = 87) 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 87], ["updated_at", Sat, 24 Aug 2013 13:05:03 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" = 87) 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 87], ["updated_at", Sat, 24 Aug 2013 13:05:03 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" = 87) 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 87], ["updated_at", Sat, 24 Aug 2013 13:05:03 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" = 'Adh003' 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 87], ["updated_at", Sat, 24 Aug 2013 13:05:03 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" = 87) 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 87], ["updated_at", Sat, 24 Aug 2013 13:05:03 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-24 15:05:03 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.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"."organism_id" = 87 Adherent::Adhesion Load (0.4ms) 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.3ms) 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 95 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 ORDER BY to_date Adherent::Coord Load (0.2ms) 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.1ms) Completed 200 OK in 32ms (Views: 24.9ms | ActiveRecord: 3.3ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:03 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" = 'Adh000' AND "adherent_members"."organism_id" = 88) 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 88], ["updated_at", Sat, 24 Aug 2013 13:05:03 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" = 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 88], ["updated_at", Sat, 24 Aug 2013 13:05:03 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" = 'Adh002' 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 88], ["updated_at", Sat, 24 Aug 2013 13:05:03 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" = 88) 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 88], ["updated_at", Sat, 24 Aug 2013 13:05:03 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" = 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 88], ["updated_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 15:05:03 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.9ms) 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"."organism_id" = 88 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 97 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 97 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 98 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 98 LIMIT 1 Adherent::Adhesion Load (0.3ms) 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 100 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 100 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 101 ORDER BY to_date Adherent::Coord Load (0.2ms) 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 32ms (Views: 24.2ms | ActiveRecord: 4.4ms) Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-24 15:05:03 +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 (10.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 17ms (Views: 14.8ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:03 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" = 89) 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 89], ["updated_at", Sat, 24 Aug 2013 13:05:03 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" = 'Adh001' AND "adherent_members"."organism_id" = 89) 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 89], ["updated_at", Sat, 24 Aug 2013 13:05:03 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" = 89) 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 89], ["updated_at", Sat, 24 Aug 2013 13:05:03 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" = 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 89], ["updated_at", Sat, 24 Aug 2013 13:05:03 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" = 'Adh004' AND "adherent_members"."organism_id" = 89) 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", Sat, 24 Aug 2013 13:05:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 89], ["updated_at", Sat, 24 Aug 2013 13:05:03 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-24 15:05:03 +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" = 89 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 103 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 103 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 104 ORDER BY to_date Adherent::Coord Load (0.3ms) 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.2ms) 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.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 35ms (Views: 29.2ms | ActiveRecord: 3.2ms) Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/102/payments" for 127.0.0.1 at 2013-08-24 15:05:04 +0200 Processing by Adherent::PaymentsController#index 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::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 102 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 7ms (Views: 4.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 90) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 90], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 90) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 90], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 90) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 90], ["updated_at", Sat, 24 Aug 2013 13:05:04 UTC +00:00]]  (0.1ms) 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" = 'Adh003' AND "adherent_members"."organism_id" = 90) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 90], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 90) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 90], ["updated_at", Sat, 24 Aug 2013 13:05:04 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-24 15:05:04 +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" = 90 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 107 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 107 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 108 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 108 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 109 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 109 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 110 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 110 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 111 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 111 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 33ms (Views: 26.6ms | ActiveRecord: 4.0ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/107/coord" for 127.0.0.1 at 2013-08-24 15:05:04 +0200 Processing by Adherent::CoordsController#show 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.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "107"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 107 LIMIT 1 Redirected to http://www.example.com/adherent/members/107/coord/new Completed 302 Found in 5ms (ActiveRecord: 1.2ms) Started GET "/adherent/members/107/coord/new" for 127.0.0.1 at 2013-08-24 15:05:04 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"107"} 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", "107"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 107 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (103.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 114ms (Views: 109.7ms | ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK  (0.6ms) BEGIN  (0.1ms) COMMIT  (1.5ms) BEGIN Organism Load (0.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.4ms) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 'Adh000' AND "adherent_members"."organism_id" = 91) LIMIT 1 SQL (3.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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 91], ["updated_at", Sat, 24 Aug 2013 13:05:04 UTC +00:00]]  (5.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 91) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 91], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 'Adh002' 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 91], ["updated_at", Sat, 24 Aug 2013 13:05:04 UTC +00:00]]  (1.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 91) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 91], ["updated_at", Sat, 24 Aug 2013 13:05:04 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 91) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 91], ["updated_at", Sat, 24 Aug 2013 13:05:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 15:05:04 +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 (1.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 91 Adherent::Adhesion Load (2.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 112 ORDER BY to_date Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 112 LIMIT 1 Adherent::Adhesion Load (3.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 113 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 113 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 114 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 114 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 115 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 115 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 116 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 116 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 56ms (Views: 34.7ms | ActiveRecord: 11.0ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 112 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 112 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", #], ["created_at", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 112], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/112/adhesions" for 127.0.0.1 at 2013-08-24 15:05:04 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"112"} 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", "112"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 112 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 112  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 29 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 29 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 11ms (Views: 7.3ms | ActiveRecord: 1.3ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 92) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 92], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 92) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 92], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 92) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 92], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 92) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 92], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 92) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 92], ["updated_at", Sat, 24 Aug 2013 13:05:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 15:05:04 +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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 92 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 117 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 117 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 118 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 118 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 119 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 119 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 120 ORDER BY to_date Adherent::Coord Load (0.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 120 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 121 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 121 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 32ms (Views: 26.6ms | ActiveRecord: 3.4ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.4ms) 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", nil], ["city", "Marseille"], ["created_at", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 117], ["office", nil], ["tel", nil], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 117 LIMIT 1 Started GET "/adherent/members/117/coord" for 127.0.0.1 at 2013-08-24 15:05:04 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"117"} 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", "117"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 117 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 9ms (Views: 5.0ms | ActiveRecord: 1.0ms)  (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.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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:04 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.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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 93], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 93], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 93) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 93], ["updated_at", Sat, 24 Aug 2013 13:05:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 93) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 93], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 'Adh004' AND "adherent_members"."organism_id" = 93) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 93], ["updated_at", Sat, 24 Aug 2013 13:05:04 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-24 15:05:04 +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" = 93 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 122 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 122 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 123 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 123 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 124 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 124 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 125 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 125 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 126 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 126 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 29ms (Views: 22.1ms | ActiveRecord: 3.3ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/122/edit" for 127.0.0.1 at 2013-08-24 15:05:04 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"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"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (6.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 14ms (Views: 11.7ms | ActiveRecord: 0.5ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:04 UTC +00:00]]  (0.0ms) 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" = 94) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 94], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 'Adh001' AND "adherent_members"."organism_id" = 94) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 94], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 94) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 94], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 94) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 94], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 'Adh004' AND "adherent_members"."organism_id" = 94) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 94], ["updated_at", Sat, 24 Aug 2013 13:05:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 15:05:04 +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" = 94 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 127 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 127 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 128 ORDER BY to_date Adherent::Coord Load (1.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 128 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 129 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 129 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 130 ORDER BY to_date Adherent::Coord Load (0.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 130 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 131 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 131 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 31ms (Views: 22.9ms | ActiveRecord: 5.3ms) Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/127/adhesions" for 127.0.0.1 at 2013-08-24 15:05:04 +0200 Processing by Adherent::AdhesionsController#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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "127"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 127 Redirected to http://www.example.com/adherent/members/127/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET "/adherent/members/127/adhesions/new" for 127.0.0.1 at 2013-08-24 15:05:04 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"127"} Organism Load (0.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", "127"]] 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 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (7.1ms) 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 20ms (Views: 14.6ms | ActiveRecord: 0.8ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 95) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 95], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 95) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 95], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 95) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 95], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 95) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 95], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 95) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 95], ["updated_at", Sat, 24 Aug 2013 13:05:04 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/new" for 127.0.0.1 at 2013-08-24 15:05:04 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 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 13ms (Views: 10.5ms | ActiveRecord: 0.5ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members" Started POST "/adherent/members" for 127.0.0.1 at 2013-08-24 15:05:04 +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.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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" = 95) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 95], ["updated_at", Sat, 24 Aug 2013 13:05:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/137/coord/new Completed 302 Found in 63ms (ActiveRecord: 1.3ms) Started GET "/adherent/members/137/coord/new" for 127.0.0.1 at 2013-08-24 15:05:04 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"137"} 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", "137"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 137 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.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 16ms (Views: 11.8ms | ActiveRecord: 0.7ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"   (0.1ms) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 96) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 96], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 96) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 96], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 96) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 96], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 138 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 138 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", #], ["created_at", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 138], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/138/payments/new" for 127.0.0.1 at 2013-08-24 15:05:04 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"138"} 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", "138"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 138 ORDER BY to_date  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 30 CACHE (0.0ms) 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/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 17ms (Views: 9.3ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/138/payments" for 127.0.0.1 at 2013-08-24 15:05:04 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"138"} Organism Load (0.8ms) 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", "138"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 138], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:05:04 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 138 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 138 ORDER BY to_date  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 30 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 30 SQL (74.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 30], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["payment_id", 10], ["updated_at", Sat, 24 Aug 2013 13:05:04 UTC +00:00]]  (1.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/138/adhesions Completed 302 Found in 93ms (ActiveRecord: 78.8ms) Started GET "/adherent/members/138/adhesions" for 127.0.0.1 at 2013-08-24 15:05:04 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"138"} 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", "138"]]  (0.1ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 138 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 138  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 30 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 30 Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 22ms (Views: 16.4ms | ActiveRecord: 1.8ms) Adherent::Payment Load (0.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 138 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 139 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 139 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", #], ["created_at", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 139], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 140 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 140 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", #], ["created_at", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 140], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:04 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-24 15:05:04 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"10"} 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", "10"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 138 LIMIT 1 Adherent::Reglement Load (0.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10  (0.4ms) 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.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 30  (0.2ms) 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" = 32 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" = 139 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 31 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 140 LIMIT 1 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/reglements/_form.html.haml (15.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 31ms (Views: 18.5ms | ActiveRecord: 3.1ms)  (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  (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 13:05:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 97) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 97], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 'Adh001' AND "adherent_members"."organism_id" = 97) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 97], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 'Adh002' AND "adherent_members"."organism_id" = 97) 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", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 97], ["updated_at", Sat, 24 Aug 2013 13:05:04 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" = 141 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 141 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", #], ["created_at", Sat, 24 Aug 2013 13:05:04 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 141], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/141/payments/new" for 127.0.0.1 at 2013-08-24 15:05:04 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"141"} 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", "141"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 141 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 (6.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 22ms (Views: 10.7ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/141/payments" for 127.0.0.1 at 2013-08-24 15:05:05 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"141"} 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", "141"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 141], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 141 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 141 ORDER BY to_date  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["payment_id", 11], ["updated_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/141/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/141/adhesions" for 127.0.0.1 at 2013-08-24 15:05:05 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"141"} 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", "141"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 141 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 141  (0.2ms) 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 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 11ms (Views: 7.0ms | ActiveRecord: 1.5ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 141 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 142 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 142 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", #], ["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 142], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:05 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" = 143 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 143 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", #], ["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 143], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:05 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-24 15:05:05 +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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 141 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::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (6.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 33  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 34  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 35 Adherent::Reglement Load (2.0ms) 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 (7.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 142 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 34 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 143 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 35 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (17.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 42ms (Views: 15.5ms | ActiveRecord: 18.4ms)  (0.2ms) 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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:05 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" = 'Adh000' AND "adherent_members"."organism_id" = 98) 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", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 98], ["updated_at", Sat, 24 Aug 2013 13:05:05 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" = 98) 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", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 98], ["updated_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 98) 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", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 98], ["updated_at", Sat, 24 Aug 2013 13:05:05 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" = 144 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 144 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", #], ["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 144], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/144/payments/new" for 127.0.0.1 at 2013-08-24 15:05:05 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"144"} Organism Load (0.8ms) 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", "144"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 144 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 19ms (Views: 9.2ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/144/payments" for 127.0.0.1 at 2013-08-24 15:05:05 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"144"} 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", "144"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 144], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00]] Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 144 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 144 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36 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", #], ["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["payment_id", 12], ["updated_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/144/adhesions Completed 302 Found in 14ms (ActiveRecord: 3.1ms) Started GET "/adherent/members/144/adhesions" for 127.0.0.1 at 2013-08-24 15:05:05 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"144"} 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", "144"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 144 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 144  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36 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.0ms | ActiveRecord: 1.3ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 144 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 145 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 145 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", #], ["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 145], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:05 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" = 146 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 146 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", #], ["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 146], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:05 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-24 15:05:05 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"12"} 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", "12"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 144 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12 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" = 36  (0.2ms) 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" = 38 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 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 145 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 146 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 38 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.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 23ms (Views: 12.5ms | ActiveRecord: 3.1ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:05 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" = 99) 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", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 99], ["updated_at", Sat, 24 Aug 2013 13:05:05 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" = 99) 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", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 99], ["updated_at", Sat, 24 Aug 2013 13:05:05 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" = 99) 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", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 99], ["updated_at", Sat, 24 Aug 2013 13:05:05 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" = 147 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 147 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", #], ["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 147], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/147/payments/new" for 127.0.0.1 at 2013-08-24 15:05:05 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"147"} Organism Load (0.3ms) 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", "147"]] Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 147 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 39 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 39 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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.5ms) Completed 200 OK in 77ms (Views: 68.5ms | ActiveRecord: 1.9ms) Started POST "/adherent/members/147/payments" for 127.0.0.1 at 2013-08-24 15:05:05 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"147"} 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", "147"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 147], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 147 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 147 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 39 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 39 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", 39], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["payment_id", 13], ["updated_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/147/adhesions Completed 302 Found in 15ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/147/adhesions" for 127.0.0.1 at 2013-08-24 15:05:05 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"147"} 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", "147"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 147 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 147  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 39 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 39 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 14ms (Views: 8.6ms | ActiveRecord: 1.6ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 147 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 148 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 148 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", #], ["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 148], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 149 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 149 ORDER BY to_date DESC LIMIT 1  (0.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 149], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/13/reglements/new" for 127.0.0.1 at 2013-08-24 15:05:05 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"13"} 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", "13"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 147 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 13  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 13 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 39  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 40  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 41 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 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 148 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 40 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 149 LIMIT 1 CACHE (0.0ms) 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/reglements/_form.html.haml (8.9ms) 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 24ms (Views: 13.5ms | ActiveRecord: 3.3ms) Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 147 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 39 Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 147 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 13  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 13  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:05 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" = 100) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 100], ["updated_at", Sat, 24 Aug 2013 13:05:05 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" = 100) 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", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 100], ["updated_at", Sat, 24 Aug 2013 13:05:05 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" = 'Adh002' AND "adherent_members"."organism_id" = 100) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 100], ["updated_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 150 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 150 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", #], ["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 150], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/150/payments/new" for 127.0.0.1 at 2013-08-24 15:05:05 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"150"} Organism Load (1.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", "150"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 150 ORDER BY to_date  (0.3ms) 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 /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (10.7ms) Rendered layouts/adherent/_header.html.haml (4.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 33ms (Views: 19.0ms | ActiveRecord: 2.2ms) Started POST "/adherent/members/150/payments" for 127.0.0.1 at 2013-08-24 15:05:05 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"150"} Organism Load (3.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "150"]]  (1.1ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 150], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00]] Adherent::Member Load (2.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 150 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 150 ORDER BY to_date  (0.9ms) 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 SQL (3.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 42], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["payment_id", 14], ["updated_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/150/adhesions Completed 302 Found in 33ms (ActiveRecord: 17.6ms) Started GET "/adherent/members/150/adhesions" for 127.0.0.1 at 2013-08-24 15:05:05 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"150"} Organism Load (12.0ms) 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", "150"]]  (3.1ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 150 Adherent::Adhesion Load (5.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 150  (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 (3.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 41ms (Views: 15.9ms | ActiveRecord: 20.9ms) Adherent::Payment Load (3.9ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 150 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 151 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 151 ORDER BY to_date DESC LIMIT 1  (3.6ms) SAVEPOINT active_record_1 SQL (3.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", #], ["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 151], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 152 Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 152 ORDER BY to_date DESC LIMIT 1  (1.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", #], ["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 152], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/14/reglements/new" for 127.0.0.1 at 2013-08-24 15:05:05 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"14"} Organism Load (1.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (1.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "14"]] Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 150 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::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" = 42  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 43  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 44 Adherent::Reglement Load (0.7ms) 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 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 151 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 43 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 152 LIMIT 1 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/reglements/_form.html.haml (9.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 33ms (Views: 12.8ms | ActiveRecord: 6.6ms) Started POST "/adherent/payments/14/reglements" for 127.0.0.1 at 2013-08-24 15:05:05 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"43"}, "commit"=>"Enregistrer", "payment_id"=>"14"} 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", "14"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "43"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 14  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id 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"."adhesion_id" = 43  (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", 43], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["payment_id", 14], ["updated_at", Sat, 24 Aug 2013 13:05:05 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" = 150 LIMIT 1 Redirected to http://www.example.com/adherent/members/150/payments Completed 302 Found in 16ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/150/payments" for 127.0.0.1 at 2013-08-24 15:05:05 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"150"} Organism Load (2.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", "150"]] Adherent::Payment Load (2.9ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 150 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 14 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 43 LIMIT 1 Adherent::Member Load (1.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 151 LIMIT 1 Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 42 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 150 LIMIT 1 Adherent::Reglement Load (2.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 14  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 14 Adherent::Reglement Load (0.7ms) 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 41ms (Views: 26.7ms | ActiveRecord: 13.2ms) Adherent::Reglement Load (11.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" ORDER BY "adherent_reglements"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 43 LIMIT 1 Adherent::Member Load (2.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 151 LIMIT 1  (0.1ms) 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.2ms) 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", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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" = 101) 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", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 101], ["updated_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 101) 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", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 101], ["updated_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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" = 101) 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", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 101], ["updated_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00]]  (2.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (1.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 153 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 153 ORDER BY to_date DESC LIMIT 1  (3.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 153], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00]]  (5.5ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/153/payments/new" for 127.0.0.1 at 2013-08-24 15:05:05 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"153"} Organism Load (2.8ms) 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", "153"]] Adherent::Adhesion Load (2.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 153 ORDER BY to_date  (1.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 /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (19.3ms) Rendered layouts/adherent/_header.html.haml (0.6ms) 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.7ms | ActiveRecord: 7.4ms) Started POST "/adherent/members/153/payments" for 127.0.0.1 at 2013-08-24 15:05:05 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"153"} 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", "153"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 153], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00]] Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 153 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 153 ORDER BY to_date  (0.4ms) 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 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", 45], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["payment_id", 15], ["updated_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/153/adhesions Completed 302 Found in 15ms (ActiveRecord: 4.6ms) Started GET "/adherent/members/153/adhesions" for 127.0.0.1 at 2013-08-24 15:05:05 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"153"} 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", "153"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 153 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 153  (0.4ms) 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 13ms (Views: 8.3ms | ActiveRecord: 1.5ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 153 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 154 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 154 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", #], ["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 154], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:05 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" = 155 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 155 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", #], ["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 155], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/15/reglements/new" for 127.0.0.1 at 2013-08-24 15:05:05 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"15"} 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", "15"]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 153 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 15  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 15 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 45  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 46  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 47 Adherent::Reglement Load (0.3ms) 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 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 154 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 46 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 155 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 47 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 24ms (Views: 14.3ms | ActiveRecord: 3.2ms) Started POST "/adherent/payments/15/reglements" for 127.0.0.1 at 2013-08-24 15:05:05 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"46"}, "commit"=>"Enregistrer", "payment_id"=>"15"} 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", "15"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "46"]] 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  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 46  (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", 46], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:05 UTC +00:00], ["payment_id", 15], ["updated_at", Sat, 24 Aug 2013 13:05:05 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" = 153 LIMIT 1 Redirected to http://www.example.com/adherent/members/153/payments Completed 302 Found in 10ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/153/payments" for 127.0.0.1 at 2013-08-24 15:05:05 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"153"} 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", "153"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 153 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 15 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 46 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 154 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 45 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 153 LIMIT 1 Adherent::Reglement Load (0.5ms) 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.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.2ms) Completed 200 OK in 73ms (Views: 69.0ms | ActiveRecord: 2.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.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", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 102) 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", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 102], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 102) 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", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 102], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 102) 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", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 102], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 156 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 156 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", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 156], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/156/payments/new" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"156"} 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", "156"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 156 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 48 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 48 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.1ms) 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 17ms (Views: 11.1ms | ActiveRecord: 1.0ms) Started POST "/adherent/members/156/payments" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"156"} 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", "156"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 156], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 156 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 156 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 48 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 48 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", 48], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["payment_id", 16], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/156/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/156/adhesions" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"156"} 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", "156"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 156 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 156  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 48 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 48 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 11ms (Views: 7.1ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 156 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 157 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 157 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", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 157], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 158 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 158 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", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 158], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/16/reglements/new" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"16"} 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", "16"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 156 LIMIT 1 Adherent::Reglement Load (0.2ms) 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::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" = 48  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 49  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 50 Adherent::Reglement Load (1.6ms) 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 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 157 LIMIT 1 CACHE (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 49 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 158 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 50 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.0ms) Completed 200 OK in 27ms (Views: 14.5ms | ActiveRecord: 5.3ms) Started POST "/adherent/payments/16/reglements" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"49"}, "commit"=>"Enregistrer", "payment_id"=>"16"} 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", "16"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "49"]] Adherent::Reglement Load (0.2ms) 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  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 49  (0.2ms) 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", 49], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["payment_id", 16], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 156 LIMIT 1 Redirected to http://www.example.com/adherent/members/156/payments Completed 302 Found in 10ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/156/payments" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"156"} 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"."id" = $1 LIMIT 1 [["id", "156"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 156 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 16 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 49 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 157 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 48 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 156 LIMIT 1 Adherent::Reglement Load (0.2ms) 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 17ms (Views: 12.6ms | ActiveRecord: 3.1ms) Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 48 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 156 LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 103) 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", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 103], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 103) 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", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 103], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 'Adh002' AND "adherent_members"."organism_id" = 103) 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", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 103], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 159 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 159 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", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 159], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/159/payments/new" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"159"} 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", "159"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 159 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 51 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 51 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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: 9.2ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/159/payments" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"159"} 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", "159"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 159], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]] Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 159 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 159 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 51 CACHE (0.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["payment_id", 17], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/159/adhesions Completed 302 Found in 15ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/159/adhesions" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"159"} 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", "159"]]  (0.1ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 159 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 159  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 51 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 51 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 13ms (Views: 8.9ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 159 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 160 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 160 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", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 160], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 161 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 161 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", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 161], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/17/reglements/new" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"17"} 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", "17"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 159 LIMIT 1 Adherent::Reglement Load (0.8ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 17  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 17 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" = 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" = 53 Adherent::Reglement Load (0.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 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 160 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 52 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 161 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 53 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 23ms (Views: 13.2ms | ActiveRecord: 3.5ms) Started POST "/adherent/payments/17/reglements" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"52"}, "commit"=>"Enregistrer", "payment_id"=>"17"} 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", "17"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "52"]] Adherent::Reglement Load (0.2ms) 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  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 52  (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", 52], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["payment_id", 17], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 159 LIMIT 1 Redirected to http://www.example.com/adherent/members/159/payments Completed 302 Found in 11ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/159/payments" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"159"} 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", "159"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 159 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 17 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 52 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 160 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 51 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 159 LIMIT 1 Adherent::Reglement Load (0.2ms) 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 (0.2ms) 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.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 19ms (Views: 14.5ms | ActiveRecord: 2.6ms) Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* 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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 104) 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", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 104], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 104) 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", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 104], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 104) 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", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 104], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (1.4ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 162 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 162 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", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 162], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/162/payments/new" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"162"} Organism Load (1.0ms) 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"."id" = $1 LIMIT 1 [["id", "162"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 162 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 54 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 54 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.2ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 21ms (Views: 12.1ms | ActiveRecord: 2.3ms) Started POST "/adherent/members/162/payments" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"162"} 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", "162"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 162], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 162 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 162 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 54 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 54 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", 54], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["payment_id", 18], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/162/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/162/adhesions" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"162"} 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", "162"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 162 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 162  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 54 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 54 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: 7.6ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.9ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 162 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 163 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 163 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", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 163], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 164 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 164 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", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 164], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/18/reglements/new" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"18"} 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", "18"]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 162 LIMIT 1 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::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 54  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 55  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 56 Adherent::Reglement Load (0.4ms) 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 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 163 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 55 Adherent::Member Load (5.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 164 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 56 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (68.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 83ms (Views: 67.8ms | ActiveRecord: 7.9ms) Started POST "/adherent/payments/18/reglements" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"55"}, "commit"=>"Enregistrer", "payment_id"=>"18"} 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", "18"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "55"]] Adherent::Reglement Load (0.3ms) 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  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 55  (0.0ms) 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", 55], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["payment_id", 18], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 162 LIMIT 1 Redirected to http://www.example.com/adherent/members/162/payments Completed 302 Found in 12ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/162/payments" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"162"} 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", "162"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 162 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 18 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 55 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 163 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 54 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 162 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 18  (0.3ms) 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.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: 3.0ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 163 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 55  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 55  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 105) 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", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 105], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 105) 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", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 105], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 105) 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", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 105], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 165 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 165 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 165], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/165/payments/new" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"165"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "165"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 165 ORDER BY to_date  (3.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 57 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 57 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (14.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 29ms (Views: 17.9ms | ActiveRecord: 5.6ms) Started POST "/adherent/members/165/payments" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"165"} 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", "165"]]  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 165], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 165 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 165 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 57 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 57 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", 57], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["payment_id", 19], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/165/adhesions Completed 302 Found in 14ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/165/adhesions" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"165"} Organism Load (0.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", "165"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 165 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 165  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 57 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 57 Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 17ms (Views: 12.2ms | ActiveRecord: 1.6ms) Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 165 ORDER BY to_date  (1.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 57  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.2ms) 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", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 106) 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", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 106], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 106) 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", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 106], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 106) 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", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 106], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 168 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 168 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", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 168], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/168/payments/new" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"168"} 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", "168"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 168 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 58 CACHE (0.0ms) 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 (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 17ms (Views: 8.8ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/168/payments" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"168"} 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", "168"]]  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 168], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]] Adherent::Member Load (1.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 168 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 168 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 58 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 58 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", 58], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["payment_id", 20], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/168/adhesions Completed 302 Found in 16ms (ActiveRecord: 4.1ms) Started GET "/adherent/members/168/adhesions" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"168"} 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", "168"]]  (1.1ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 168 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 168  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 58 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 58 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: 8.2ms | ActiveRecord: 2.1ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 168 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 58  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 58  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 107) 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", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 107], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]]  (0.0ms) 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" = 107) 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", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 107], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 107) 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", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 107], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 171 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 171 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", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 171], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/171/payments/new" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"171"} Organism Load (0.8ms) 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", "171"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 171 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 59 CACHE (0.0ms) 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 (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 18ms (Views: 9.1ms | ActiveRecord: 1.9ms) Started POST "/adherent/members/171/payments" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"171"} 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", "171"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 171], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 171 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 171 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 59 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 59 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 59], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["payment_id", 21], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/171/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/171/adhesions" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"171"} 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", "171"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 171 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 171  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 59 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 59 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.0ms) Completed 200 OK in 11ms (Views: 7.7ms | ActiveRecord: 1.3ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 171 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 59  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 108) 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", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 108], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 108) 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", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 108], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 108) 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", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 108], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 174 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 174 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", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 174], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/174/payments/new" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"174"} 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", "174"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 174 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 60 CACHE (1.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 60 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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 18ms (Views: 8.0ms | ActiveRecord: 3.0ms) Started POST "/adherent/members/174/payments" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"174"} 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", "174"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 174], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 174 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 174 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 60 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 60 SQL (0.8ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 60], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["payment_id", 22], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/174/adhesions Completed 302 Found in 12ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/174/adhesions" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"174"} 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", "174"]]  (0.0ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 174 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 174  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 60 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 60 Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 12ms (Views: 8.0ms | ActiveRecord: 1.2ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 174 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 109) 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", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 109], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 109) 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", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 109], ["updated_at", Sat, 24 Aug 2013 13:05:06 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" = 109) 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", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 109], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]]  (0.0ms) 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" = 177 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 177 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", #], ["created_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 177], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "adherent_reglements" Started GET "/adherent/members/177/payments/new" for 127.0.0.1 at 2013-08-24 15:05:06 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"177"} Organism Load (0.3ms) 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", "177"]] Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 177 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 61 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 61 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (66.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 78ms (Views: 69.7ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/177/payments" for 127.0.0.1 at 2013-08-24 15:05:07 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"177"} 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", "177"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 177], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 177 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 177 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 61 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 61 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", 61], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["payment_id", 23], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/177/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/177/adhesions" for 127.0.0.1 at 2013-08-24 15:05:07 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"177"} 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", "177"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 177 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 177  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 61 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 61 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 (1.4ms) Completed 200 OK in 13ms (Views: 8.3ms | ActiveRecord: 1.6ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:07 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" = 110) 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", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 110], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 110) 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", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 110], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.3ms) 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" = 110) 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", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 110], ["updated_at", Sat, 24 Aug 2013 13:05:07 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" = 180 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 180 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", #], ["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 180], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 180 Started GET "/adherent/members/180/payments/new" for 127.0.0.1 at 2013-08-24 15:05:07 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"180"} 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", "180"]] Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 180 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 62 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 62 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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 17ms (Views: 9.4ms | ActiveRecord: 1.7ms) Started POST "/adherent/members/180/payments" for 127.0.0.1 at 2013-08-24 15:05:07 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"180"} 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", "180"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 180], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 180 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 180 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 62 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 62 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", 62], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["payment_id", 24], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/180/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/180/adhesions" for 127.0.0.1 at 2013-08-24 15:05:07 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"180"} 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", "180"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 180 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 180  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 62 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 62 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 10ms (Views: 6.6ms | ActiveRecord: 1.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 180  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:07 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" = 'Adh000' AND "adherent_members"."organism_id" = 111) 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", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 111], ["updated_at", Sat, 24 Aug 2013 13:05:07 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" = 111) 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", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 111], ["updated_at", Sat, 24 Aug 2013 13:05:07 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" = 'Adh002' AND "adherent_members"."organism_id" = 111) 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", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 111], ["updated_at", Sat, 24 Aug 2013 13:05:07 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" = 183 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 183 ORDER BY to_date DESC LIMIT 1  (1.6ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 183], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/183/payments/new" for 127.0.0.1 at 2013-08-24 15:05:07 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"183"} Organism Load (5.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", "183"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 183 ORDER BY to_date  (1.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 63 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 63 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (17.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 40ms (Views: 25.4ms | ActiveRecord: 7.5ms) Started POST "/adherent/members/183/payments" for 127.0.0.1 at 2013-08-24 15:05:07 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"183"} Organism Load (1.6ms) 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", "183"]]  (0.2ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 183], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 183 LIMIT 1 Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 183 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 63 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 63 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", 63], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["payment_id", 25], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/183/adhesions Completed 302 Found in 35ms (ActiveRecord: 9.0ms) Started GET "/adherent/members/183/adhesions" for 127.0.0.1 at 2013-08-24 15:05:07 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"183"} Organism Load (1.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "183"]]  (0.8ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 183 Adherent::Adhesion Load (3.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 183  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 63 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 63 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.2ms) Completed 200 OK in 33ms (Views: 19.4ms | ActiveRecord: 7.1ms) Adherent::Adhesion Load (1.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 183 ORDER BY to_date  (2.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 63  (0.1ms) 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.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", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 2.1ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1041"} 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", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.0ms) 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::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1043"} Organism Load (0.0ms) 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", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1043/coord Completed 302 Found in 4ms (ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1045/coord Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (2.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1049"} 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", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1051"} 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", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 118 Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1052"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.5ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 3.7ms | ActiveRecord: 2.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1053"} Organism Load (0.9ms) 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", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"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", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 2.7ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1057"} Organism Load (0.0ms) 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", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.3ms)  (0.0ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1059"} 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", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1059/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1061"} 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", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.8ms)  (0.1ms) 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.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", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:05:07 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", #], ["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 186], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 13:05:07 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" = 186 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 186 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", #], ["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 186], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 186], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 186 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 186 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 64  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 65  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 64 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", 64], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["payment_id", 26], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.8ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.5ms) 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", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:05:07 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", #], ["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 187], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 13:05:07 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" = 187 Adherent::Adhesion Load (2.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 187 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", #], ["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 187], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 13:05:07 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", #], ["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 187], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 187 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 187 ORDER BY to_date  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 66  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 67  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 66 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 66], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["payment_id", 27], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 67 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 67], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["payment_id", 27], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.5ms) 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 (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) 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", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:05:07 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", #], ["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 188], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 13:05:07 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" = 188 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 188 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", #], ["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 188], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 188], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 188 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 188 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 68  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 69  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 68 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", 68], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["payment_id", 28], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 69 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 69], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["payment_id", 28], ["updated_at", Sat, 24 Aug 2013 13:05:07 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" = 28  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (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 (0.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:07 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" = 125) 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", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 125], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members/189/adhesions/new" for 127.0.0.1 at 2013-08-24 15:05:07 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"189"} 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", "189"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 189 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 189 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (57.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 69ms (Views: 60.9ms | ActiveRecord: 1.2ms)  (0.3ms) 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", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:07 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" = 126) 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", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 126], ["updated_at", Sat, 24 Aug 2013 13:05:07 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/190/adhesions/new" for 127.0.0.1 at 2013-08-24 15:05:07 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"190"} 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", "190"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 190 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 190 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (6.2ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (1.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 18ms (Views: 12.7ms | ActiveRecord: 1.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 190 Started POST "/adherent/members/190/adhesions" for 127.0.0.1 at 2013-08-24 15:05:07 +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"=>"190"} 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", "190"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 190], ["to_date", Thu, 31 Jul 2014], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/190/adhesions Completed 302 Found in 8ms (ActiveRecord: 1.1ms) Started GET "/adherent/members/190/adhesions" for 127.0.0.1 at 2013-08-24 15:05:07 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"190"} 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", "190"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 190 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 190  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 70 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 70 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 15ms (Views: 7.7ms | ActiveRecord: 1.5ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 190  (0.1ms) ROLLBACK  (0.1ms) BEGIN 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", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:07 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" = 127) 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", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 127], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (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", #], ["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 191], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/191/adhesions" for 127.0.0.1 at 2013-08-24 15:05:07 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"191"} 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", "191"]]  (0.5ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 191 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 191  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 71 CACHE (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 71 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: 11.1ms | ActiveRecord: 2.3ms)  (0.1ms) 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.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:07 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" = 128) 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", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 128], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (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", #], ["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 192], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/192/adhesions" for 127.0.0.1 at 2013-08-24 15:05:07 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"192"} 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", "192"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 192 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 192  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 72 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 72 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.8ms | ActiveRecord: 2.7ms) Started GET "/adherent/members/192/adhesions/72/edit" for 127.0.0.1 at 2013-08-24 15:05:07 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"192", "id"=>"72"} 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", "192"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 192 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "72"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.6ms) Rendered layouts/adherent/_header.html.haml (0.3ms) 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.2ms | ActiveRecord: 1.0ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:07 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" = 129) 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", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 129], ["updated_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 193], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/193/adhesions" for 127.0.0.1 at 2013-08-24 15:05:08 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"193"} 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", "193"]]  (1.8ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 193 Adherent::Adhesion Load (2.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 193  (1.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 73 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 73 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 36ms (Views: 17.9ms | ActiveRecord: 6.4ms) Started GET "/adherent/members/193/payments/new" for 127.0.0.1 at 2013-08-24 15:05:08 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"193"} Organism Load (3.4ms) 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"."id" = $1 LIMIT 1 [["id", "193"]] Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 193 ORDER BY to_date  (2.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 73 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 73 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 29ms (Views: 13.4ms | ActiveRecord: 7.5ms)  (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", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:08 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" = 'Adh000' AND "adherent_members"."organism_id" = 130) 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", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 130], ["updated_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (5.4ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members/194/coord/new" for 127.0.0.1 at 2013-08-24 15:05:08 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"194"} 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", "194"]] Adherent::Coord Load (2.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 194 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (15.0ms) Rendered layouts/adherent/_header.html.haml (0.3ms) 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: 21.9ms | ActiveRecord: 3.0ms) Started POST "/adherent/members/194/coord" for 127.0.0.1 at 2013-08-24 15:05:08 +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"=>"194"} 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", "194"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 194 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 194], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/194/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 1.4ms) Started GET "/adherent/members/194/adhesions/new" for 127.0.0.1 at 2013-08-24 15:05:08 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"194"} Organism Load (0.4ms) 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"."id" = $1 LIMIT 1 [["id", "194"]] Adherent::Adhesion Load (2.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 194 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 194 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (7.4ms) Rendered layouts/adherent/_header.html.haml (0.1ms) 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.1ms) Completed 200 OK in 25ms (Views: 14.6ms | ActiveRecord: 4.5ms)  (0.1ms) ROLLBACK  (0.1ms) 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", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:08 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" = 131) 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", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 131], ["updated_at", Sat, 24 Aug 2013 13:05:08 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/195/coord/new" for 127.0.0.1 at 2013-08-24 15:05:08 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"195"} 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", "195"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 195 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 18ms (Views: 14.1ms | ActiveRecord: 0.8ms) Started POST "/adherent/members/195/coord" for 127.0.0.1 at 2013-08-24 15:05:08 +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"=>"195"} 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", "195"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 195 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", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 195], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/195/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 1.3ms) Started GET "/adherent/members/195/adhesions/new" for 127.0.0.1 at 2013-08-24 15:05:08 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"195"} 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", "195"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 195 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 195 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 14ms (Views: 8.9ms | ActiveRecord: 1.0ms) Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 195 LIMIT 1  (0.2ms) 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 (2.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (1.9ms) 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" = 132) LIMIT 1 SQL (2.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", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 132], ["updated_at", Sat, 24 Aug 2013 13:05:08 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/196/coord/new" for 127.0.0.1 at 2013-08-24 15:05:08 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"196"} Organism Load (1.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "196"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 196 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (96.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 114ms (Views: 105.0ms | ActiveRecord: 3.7ms)  (0.1ms) SELECT COUNT(*) FROM "adherent_coords"  Started POST "/adherent/members/196/coord" for 127.0.0.1 at 2013-08-24 15:05:08 +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"=>"196"} 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", "196"]] Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 196 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", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 196], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/196/adhesions/new Completed 302 Found in 9ms (ActiveRecord: 1.8ms) Started GET "/adherent/members/196/adhesions/new" for 127.0.0.1 at 2013-08-24 15:05:08 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"196"} 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", "196"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 196 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 196 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.6ms) 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: 17.6ms | ActiveRecord: 1.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  (0.2ms) 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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:08 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" = 133) 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", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 133], ["updated_at", Sat, 24 Aug 2013 13:05:08 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/197/coord/new" for 127.0.0.1 at 2013-08-24 15:05:08 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"197"} 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", "197"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 197 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (13.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 21ms (Views: 16.5ms | ActiveRecord: 0.8ms)  (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", #], ["created_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:08 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" = 74  (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", 74], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 74  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 74  (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", #], ["created_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 75  (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", 75], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 75  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 76  (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", 76], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.4ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (6.9ms) ROLLBACK  (0.1ms) BEGIN  (2.1ms) ROLLBACK  (0.0ms) BEGIN  (2.4ms) ROLLBACK  (0.1ms) BEGIN  (4.3ms) ROLLBACK  (0.1ms) BEGIN  (2.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (5.9ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.9ms) ROLLBACK  (0.3ms) BEGIN  (1.3ms) ROLLBACK  (0.1ms) BEGIN  (3.1ms) ROLLBACK  (0.1ms) BEGIN  (1.3ms) ROLLBACK  (0.0ms) BEGIN  (0.9ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1067"} 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", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:08 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 15ms (Views: 2.7ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1070"} Organism Load (0.6ms) 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", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:08 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 6ms (Views: 1.7ms | ActiveRecord: 1.4ms)  (0.7ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1073"} 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", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1072/payments Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_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", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1074/adhesions Completed 302 Found in 7ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1076"} 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", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1076/adhesions Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1078"} Organism Load (0.1ms) 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", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1080"} 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", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1080/adhesions/new Completed 302 Found in 6ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1081"} 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", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 1.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1082"} 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", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1083", "id"=>"1"} Organism Load (2.9ms) 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", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 3.7ms)  (5.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1085", "id"=>"1"} Organism Load (4.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.9ms) SAVEPOINT active_record_1 SQL (2.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 1.0ms | ActiveRecord: 7.7ms)  (2.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1087"} Organism Load (2.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.0ms) 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", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 0.9ms | ActiveRecord: 2.8ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1089", "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", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.7ms | ActiveRecord: 0.8ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1091", "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", Sat, 24 Aug 2013 13:05:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1093", "id"=>"1"} Organism Load (3.8ms) 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", Sat, 24 Aug 2013 13:05:09 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1093/adhesions Completed 302 Found in 9ms (ActiveRecord: 4.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1095", "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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:05:09 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:05:09 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1095/adhesions Completed 302 Found in 8ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:00 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" = 150) 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", Sat, 24 Aug 2013 13:06:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 150], ["updated_at", Sat, 24 Aug 2013 13:06:00 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" = 150) 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", Sat, 24 Aug 2013 13:06:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 150], ["updated_at", Sat, 24 Aug 2013 13:06:00 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" = 'Adh002' AND "adherent_members"."organism_id" = 150) 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", Sat, 24 Aug 2013 13:06:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 150], ["updated_at", Sat, 24 Aug 2013 13:06:00 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" = 198 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 198 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", #], ["created_at", Sat, 24 Aug 2013 13:06:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 198], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 198 Started GET "/adherent/members/198/payments/new" for 127.0.0.1 at 2013-08-24 15:06:01 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"198"} 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", "198"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 198 ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 77 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 77 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (29.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (34.6ms) Rendered layouts/adherent/_header.html.haml (1.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.7ms) Completed 200 OK in 72ms (Views: 49.8ms | ActiveRecord: 3.0ms) Started POST "/adherent/members/198/payments" for 127.0.0.1 at 2013-08-24 15:06:01 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"198"} 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", "198"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 198], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 198 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 198 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 77 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 77 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", 77], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["payment_id", 29], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/198/adhesions Completed 302 Found in 29ms (ActiveRecord: 3.4ms) Started GET "/adherent/members/198/adhesions" for 127.0.0.1 at 2013-08-24 15:06:01 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"198"} 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", "198"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 198 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 198  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 77 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 77 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (12.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 20ms (Views: 15.4ms | ActiveRecord: 1.6ms)  (0.7ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 198  (0.4ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:01 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" = 'Adh000' AND "adherent_members"."organism_id" = 151) 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", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 151], ["updated_at", Sat, 24 Aug 2013 13:06:01 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" = 'Adh001' AND "adherent_members"."organism_id" = 151) 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", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 151], ["updated_at", Sat, 24 Aug 2013 13:06:01 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" = 'Adh002' AND "adherent_members"."organism_id" = 151) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 151], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 201 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 201 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", #], ["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 201], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/201/payments/new" for 127.0.0.1 at 2013-08-24 15:06:01 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"201"} 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", "201"]] Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 201 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 78 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 78 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 18ms (Views: 8.6ms | ActiveRecord: 1.7ms) Started POST "/adherent/members/201/payments" for 127.0.0.1 at 2013-08-24 15:06:01 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"201"} 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", "201"]]  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 201], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 201 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 201 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 78 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 78 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 78], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["payment_id", 30], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/201/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/201/adhesions" for 127.0.0.1 at 2013-08-24 15:06:01 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"201"} 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", "201"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 201 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 201  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 78 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 78 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: 7.3ms | ActiveRecord: 1.5ms) Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 201 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 78  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.7ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:01 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" = 152) 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", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 152], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]]  (0.7ms) 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" = 152) 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", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 152], ["updated_at", Sat, 24 Aug 2013 13:06:01 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" = 152) 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", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 152], ["updated_at", Sat, 24 Aug 2013 13:06:01 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" = 204 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 204 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 204], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements" Started GET "/adherent/members/204/payments/new" for 127.0.0.1 at 2013-08-24 15:06:01 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"204"} Organism Load (0.6ms) 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"."id" = $1 LIMIT 1 [["id", "204"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 204 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 79 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 79 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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 17ms (Views: 8.4ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/204/payments" for 127.0.0.1 at 2013-08-24 15:06:01 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"204"} Organism Load (2.0ms) 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", "204"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 204], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 204 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 204 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 79 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 79 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", 79], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["payment_id", 31], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/204/adhesions Completed 302 Found in 13ms (ActiveRecord: 3.9ms) Started GET "/adherent/members/204/adhesions" for 127.0.0.1 at 2013-08-24 15:06:01 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"204"} 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", "204"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 204 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 204  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 79 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 79 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: 7.2ms | ActiveRecord: 1.6ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.1ms) 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", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:01 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" = 153) 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", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 153], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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" = 153) 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", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 153], ["updated_at", Sat, 24 Aug 2013 13:06:01 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" = 153) 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", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 153], ["updated_at", Sat, 24 Aug 2013 13:06:01 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" = 207 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 207 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", #], ["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 207], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/207/payments/new" for 127.0.0.1 at 2013-08-24 15:06:01 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"207"} Organism Load (0.5ms) 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", "207"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 207 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 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 19ms (Views: 10.1ms | ActiveRecord: 2.1ms) Started POST "/adherent/members/207/payments" for 127.0.0.1 at 2013-08-24 15:06:01 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"207"} 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", "207"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 207], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 207 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 207 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 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", 80], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["payment_id", 32], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/207/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/207/adhesions" for 127.0.0.1 at 2013-08-24 15:06:01 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"207"} 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", "207"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 207 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 207  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 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.4ms | ActiveRecord: 1.3ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 207 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 208 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 208 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", #], ["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 208], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 209 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 209 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", #], ["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 209], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/32/reglements/new" for 127.0.0.1 at 2013-08-24 15:06:01 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"32"} Organism Load (0.4ms) 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", "32"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 207 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32 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" = 80  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 81  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 82 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 208 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 81 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 209 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 82 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (79.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 111ms (Views: 96.2ms | ActiveRecord: 3.7ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 207 ORDER BY to_date  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 207 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32  (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 (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:01 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" = 154) 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", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 154], ["updated_at", Sat, 24 Aug 2013 13:06:01 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" = 154) 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", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 154], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]]  (0.0ms) 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" = 154) 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", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 154], ["updated_at", Sat, 24 Aug 2013 13:06:01 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" = 210 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 210 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", #], ["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 210], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/210/payments/new" for 127.0.0.1 at 2013-08-24 15:06:01 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"210"} 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", "210"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 210 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 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: 8.5ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/210/payments" for 127.0.0.1 at 2013-08-24 15:06:01 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"210"} 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", "210"]]  (0.7ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 210], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 210 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 210 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 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", 83], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["payment_id", 33], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/210/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/210/adhesions" for 127.0.0.1 at 2013-08-24 15:06:01 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"210"} 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", "210"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 210 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 210  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 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 11ms (Views: 7.7ms | ActiveRecord: 1.3ms) Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 210 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 211 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 211 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", #], ["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 211], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:01 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" = 212 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 212 ORDER BY to_date DESC LIMIT 1  (0.7ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 212], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/33/reglements/new" for 127.0.0.1 at 2013-08-24 15:06:01 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"33"} 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", "33"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 210 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 84  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 85 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 211 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 84 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 212 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 85 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 24ms (Views: 13.0ms | ActiveRecord: 3.5ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:01 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" = 155) 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", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 155], ["updated_at", Sat, 24 Aug 2013 13:06:01 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" = 155) 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", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 155], ["updated_at", Sat, 24 Aug 2013 13:06:01 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" = 155) 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", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 155], ["updated_at", Sat, 24 Aug 2013 13:06:01 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" = 213 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 213 ORDER BY to_date DESC LIMIT 1  (0.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 213], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/213/payments/new" for 127.0.0.1 at 2013-08-24 15:06:01 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"213"} 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", "213"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 213 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 86 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 86 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 19ms (Views: 10.2ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/213/payments" for 127.0.0.1 at 2013-08-24 15:06:01 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"213"} 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", "213"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 213], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 213 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 213 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 86 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 86 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", 86], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["payment_id", 34], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/213/adhesions Completed 302 Found in 15ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/213/adhesions" for 127.0.0.1 at 2013-08-24 15:06:01 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"213"} 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", "213"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 213 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 213  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 86 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 86 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 13ms (Views: 8.7ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 213 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 214 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 214 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", #], ["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 214], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:01 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" = 215 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 215 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", #], ["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 215], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/34/reglements/new" for 127.0.0.1 at 2013-08-24 15:06:01 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"34"} 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", "34"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 213 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 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" = 86  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 87  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 88 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 Adherent::Member Load (1.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 214 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 87 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 215 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 88 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (13.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 28ms (Views: 15.9ms | ActiveRecord: 3.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  (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", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:01 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" = 156) 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", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 156], ["updated_at", Sat, 24 Aug 2013 13:06:01 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" = 156) 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", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 156], ["updated_at", Sat, 24 Aug 2013 13:06:01 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" = 156) 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", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 156], ["updated_at", Sat, 24 Aug 2013 13:06:01 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" = 216 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 216 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", #], ["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 216], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/216/payments/new" for 127.0.0.1 at 2013-08-24 15:06:01 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"216"} 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", "216"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 216 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 89 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 89 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.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 19ms (Views: 9.6ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/216/payments" for 127.0.0.1 at 2013-08-24 15:06:01 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"216"} 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", "216"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 216], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 216 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 216 ORDER BY to_date  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 89 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 89 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", 89], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["payment_id", 35], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/216/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/216/adhesions" for 127.0.0.1 at 2013-08-24 15:06:01 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"216"} 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", "216"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 216 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 216  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 89 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 89 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: 7.7ms | ActiveRecord: 2.0ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 216 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 217 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 217 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", #], ["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 217], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:01 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" = 218 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 218 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", #], ["created_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 218], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/35/reglements/new" for 127.0.0.1 at 2013-08-24 15:06:01 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"35"} 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", "35"]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 216 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 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" = 89  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 90  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 91 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 217 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 90 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 218 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 91 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 23ms (Views: 13.1ms | ActiveRecord: 3.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (1.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", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:01 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" = 157) 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", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 157], ["updated_at", Sat, 24 Aug 2013 13:06:01 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" = 157) 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", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 157], ["updated_at", Sat, 24 Aug 2013 13:06:01 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" = 'Adh002' AND "adherent_members"."organism_id" = 157) 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", Sat, 24 Aug 2013 13:06:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 157], ["updated_at", Sat, 24 Aug 2013 13:06:01 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" = 219 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 219 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", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 219], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/219/payments/new" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"219"} Organism Load (0.3ms) 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", "219"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 219 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92 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 19ms (Views: 10.1ms | ActiveRecord: 2.8ms) Started POST "/adherent/members/219/payments" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"219"} 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", "219"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 219], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 219 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 219 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92 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", 92], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["payment_id", 36], ["updated_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/219/adhesions Completed 302 Found in 12ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/219/adhesions" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"219"} 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", "219"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 219 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 219  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92 Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 12ms (Views: 8.3ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 219 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 220 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 220 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (6.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", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 220], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:02 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" = 221 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 221 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", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 221], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00]]  (4.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/36/reglements/new" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"36"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (1.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "36"]] Adherent::Member Load (3.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 219 LIMIT 1 Adherent::Reglement Load (1.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 Adherent::Adhesion Load (3.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 93  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 94 Adherent::Reglement Load (0.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 Adherent::Member Load (5.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 220 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 93 Adherent::Member Load (2.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 221 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 94 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (20.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 50ms (Views: 23.0ms | ActiveRecord: 19.4ms) Started POST "/adherent/payments/36/reglements" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"93"}, "commit"=>"Enregistrer", "payment_id"=>"36"} Organism Load (1.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (1.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "36"]] Adherent::Adhesion Load (2.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "93"]] Adherent::Reglement Load (0.9ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 93  (1.9ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 93], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["payment_id", 36], ["updated_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (2.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 219 LIMIT 1 Redirected to http://www.example.com/adherent/members/219/payments Completed 302 Found in 26ms (ActiveRecord: 12.8ms) Started GET "/adherent/members/219/payments" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"219"} Organism Load (5.0ms) 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"."id" = $1 LIMIT 1 [["id", "219"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 219 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 93 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 220 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 92 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 219 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 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 37ms (Views: 24.2ms | ActiveRecord: 8.6ms) Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 92 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 219 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:02 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" = 158) 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", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 158], ["updated_at", Sat, 24 Aug 2013 13:06:02 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" = 158) 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", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 158], ["updated_at", Sat, 24 Aug 2013 13:06:02 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" = 158) 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", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 158], ["updated_at", Sat, 24 Aug 2013 13:06:02 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" = 222 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 222 ORDER BY to_date DESC LIMIT 1  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 222], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/222/payments/new" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"222"} Organism Load (0.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", "222"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 222 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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 18ms (Views: 10.1ms | ActiveRecord: 1.9ms) Started POST "/adherent/members/222/payments" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"222"} 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", "222"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 222], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 222 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 222 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 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", 95], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["payment_id", 37], ["updated_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/222/adhesions Completed 302 Found in 15ms (ActiveRecord: 3.1ms) Started GET "/adherent/members/222/adhesions" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"222"} 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", "222"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 222 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 222  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 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: 7.5ms | ActiveRecord: 1.3ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 222 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 223 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 223 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", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 223], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:02 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" = 224 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 224 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", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 224], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/37/reglements/new" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"37"} Organism Load (0.0ms) 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", "37"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 222 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 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" = 95  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 97 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 223 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 224 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 97 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 23ms (Views: 12.9ms | ActiveRecord: 2.6ms) Started POST "/adherent/payments/37/reglements" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"96"}, "commit"=>"Enregistrer", "payment_id"=>"37"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.9ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "37"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "96"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96  (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", 96], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["payment_id", 37], ["updated_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 222 LIMIT 1 Redirected to http://www.example.com/adherent/members/222/payments Completed 302 Found in 17ms (ActiveRecord: 3.6ms) Started GET "/adherent/members/222/payments" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"222"} 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", "222"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 222 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 96 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 223 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 95 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 222 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 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.6ms | ActiveRecord: 3.1ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements"   (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.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", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:02 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" = 159) 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", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 159], ["updated_at", Sat, 24 Aug 2013 13:06:02 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" = 159) 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", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 159], ["updated_at", Sat, 24 Aug 2013 13:06:02 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" = 159) 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", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 159], ["updated_at", Sat, 24 Aug 2013 13:06:02 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" = 225 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 225 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", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 225], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/225/payments/new" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"225"} 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", "225"]] Adherent::Adhesion Load (2.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 225 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 98 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 98 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 19ms (Views: 9.6ms | ActiveRecord: 2.8ms) Started POST "/adherent/members/225/payments" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"225"} 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", "225"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 225], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 225 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 225 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 98 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 98 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", 98], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["payment_id", 38], ["updated_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/225/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/225/adhesions" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"225"} 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", "225"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 225 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 225  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 98 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 98 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 11ms (Views: 6.4ms | ActiveRecord: 1.4ms) Adherent::Payment Load (1.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 225 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 226 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 226 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", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 226], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:02 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" = 227 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 227 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", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 227], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/38/reglements/new" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"38"} 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", "38"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 225 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38 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" = 98  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 99  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 100 Adherent::Reglement Load (0.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 226 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 99 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 227 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 100 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.0ms) Completed 200 OK in 23ms (Views: 12.8ms | ActiveRecord: 2.6ms) Started POST "/adherent/payments/38/reglements" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"99"}, "commit"=>"Enregistrer", "payment_id"=>"38"} 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", "38"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "99"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 99  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 99], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["payment_id", 38], ["updated_at", Sat, 24 Aug 2013 13:06:02 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" = 225 LIMIT 1 Redirected to http://www.example.com/adherent/members/225/payments Completed 302 Found in 11ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/225/payments" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"225"} 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", "225"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 225 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 99 LIMIT 1 Adherent::Member Load (1.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 226 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 98 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 225 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38 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: 12.3ms | ActiveRecord: 4.2ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 226 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 99  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 99  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) 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", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:02 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" = 160) 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", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 160], ["updated_at", Sat, 24 Aug 2013 13:06:02 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" = 'Adh001' AND "adherent_members"."organism_id" = 160) 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", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 160], ["updated_at", Sat, 24 Aug 2013 13:06:02 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" = 160) 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", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 160], ["updated_at", Sat, 24 Aug 2013 13:06:02 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" = 228 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 228 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 228], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/228/payments/new" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"228"} 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", "228"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 228 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 101 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 101 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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: 9.9ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/228/payments" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"228"} 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", "228"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 228], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 228 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 228 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 101 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 101 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", 101], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["payment_id", 39], ["updated_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/228/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/228/adhesions" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"228"} 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", "228"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 228 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 228  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 101 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 101 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: 7.1ms | ActiveRecord: 1.3ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 228 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 229 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 229 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 229], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:02 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" = 230 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 230 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", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 230], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/39/reglements/new" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"39"} Organism Load (0.4ms) 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", "39"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 228 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39 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" = 101  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 102  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 103 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 229 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 102 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 230 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 103 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_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 23ms (Views: 13.0ms | ActiveRecord: 3.5ms) Started POST "/adherent/payments/39/reglements" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"102"}, "commit"=>"Enregistrer", "payment_id"=>"39"} 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", "39"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "102"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 102  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 102], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["payment_id", 39], ["updated_at", Sat, 24 Aug 2013 13:06:02 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" = 228 LIMIT 1 Redirected to http://www.example.com/adherent/members/228/payments Completed 302 Found in 13ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/228/payments" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"228"} 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", "228"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 228 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 102 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 229 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 101 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 228 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39 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.8ms) Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" ORDER BY "adherent_reglements"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 102 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 229 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) COMMIT  (0.0ms) 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", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:02 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" = 161) 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", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 161], ["updated_at", Sat, 24 Aug 2013 13:06:02 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" = 161) 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", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 161], ["updated_at", Sat, 24 Aug 2013 13:06:02 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" = 161) 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", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 161], ["updated_at", Sat, 24 Aug 2013 13:06:02 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" = 231 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 231 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", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 231], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/231/payments/new" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"231"} 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", "231"]] Adherent::Adhesion Load (1.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 231 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 104 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 104 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 18ms (Views: 9.4ms | ActiveRecord: 2.9ms) Started POST "/adherent/members/231/payments" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"231"} 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", "231"]]  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 231], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 231 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 231 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 104 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 104 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", 104], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["payment_id", 40], ["updated_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/231/adhesions Completed 302 Found in 13ms (ActiveRecord: 3.2ms) Started GET "/adherent/members/231/adhesions" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"231"} 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", "231"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 231 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 231  (1.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 104 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 104 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: 7.2ms | ActiveRecord: 2.6ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 231 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 232 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 232 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", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 232], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 233 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 233 ORDER BY to_date DESC LIMIT 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", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 233], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/40/reglements/new" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"40"} 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", "40"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 231 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 40  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 40 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" = 104  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 105  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 106 Adherent::Reglement Load (0.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 40 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 40 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 232 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 105 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 233 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 106 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 23ms (Views: 14.1ms | ActiveRecord: 2.9ms) Started POST "/adherent/payments/40/reglements" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"105"}, "commit"=>"Enregistrer", "payment_id"=>"40"} 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", "40"]] Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "105"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 40  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 40  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 105  (0.7ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 105], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00], ["payment_id", 40], ["updated_at", Sat, 24 Aug 2013 13:06:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 231 LIMIT 1 Redirected to http://www.example.com/adherent/members/231/payments Completed 302 Found in 20ms (ActiveRecord: 4.4ms) Started GET "/adherent/members/231/payments" for 127.0.0.1 at 2013-08-24 15:06:02 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"231"} 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", "231"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 231 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 40 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 105 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 232 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 104 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 231 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 40  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 40 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 40 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 40 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.3ms | ActiveRecord: 2.5ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:03 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" = 162) 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 162], ["updated_at", Sat, 24 Aug 2013 13:06:03 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" = 162) 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 162], ["updated_at", Sat, 24 Aug 2013 13:06:03 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" = 162) 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 162], ["updated_at", Sat, 24 Aug 2013 13:06:03 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" = 234 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 234 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", #], ["created_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 234], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/234/payments/new" for 127.0.0.1 at 2013-08-24 15:06:03 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"234"} Organism Load (3.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (5.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "234"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 234 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 107 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 107 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (12.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 33ms (Views: 18.6ms | ActiveRecord: 9.2ms) Started POST "/adherent/members/234/payments" for 127.0.0.1 at 2013-08-24 15:06:03 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"234"} 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", "234"]]  (0.7ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 234], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 234 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 234 ORDER BY to_date  (1.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 107 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 107 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 107], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["payment_id", 41], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/234/adhesions Completed 302 Found in 13ms (ActiveRecord: 3.8ms) Started GET "/adherent/members/234/adhesions" for 127.0.0.1 at 2013-08-24 15:06:03 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"234"} Organism Load (4.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "234"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 234 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 234  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 107 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 107 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 22ms (Views: 10.8ms | ActiveRecord: 6.9ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 234 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 107  (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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:03 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" = 163) 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 163], ["updated_at", Sat, 24 Aug 2013 13:06:03 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" = 163) 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 163], ["updated_at", Sat, 24 Aug 2013 13:06:03 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" = 163) 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 163], ["updated_at", Sat, 24 Aug 2013 13:06:03 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" = 237 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 237 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", #], ["created_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 237], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/237/payments/new" for 127.0.0.1 at 2013-08-24 15:06:03 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"237"} 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", "237"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 237 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 108 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 108 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 18ms (Views: 9.3ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/237/payments" for 127.0.0.1 at 2013-08-24 15:06:03 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"237"} 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", "237"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 237], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 237 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 237 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 108 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 108 SQL (1.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 108], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["payment_id", 42], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/237/adhesions Completed 302 Found in 13ms (ActiveRecord: 3.6ms) Started GET "/adherent/members/237/adhesions" for 127.0.0.1 at 2013-08-24 15:06:03 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"237"} 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", "237"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 237 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 237  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 108 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 108 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: 7.5ms | ActiveRecord: 1.4ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 237 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 108  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 108  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:03 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" = 164) 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 164], ["updated_at", Sat, 24 Aug 2013 13:06:03 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" = 164) 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 164], ["updated_at", Sat, 24 Aug 2013 13:06:03 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" = 164) 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 164], ["updated_at", Sat, 24 Aug 2013 13:06:03 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" = 240 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 240 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", #], ["created_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 240], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/240/payments/new" for 127.0.0.1 at 2013-08-24 15:06:03 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"240"} 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", "240"]] Adherent::Adhesion Load (1.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 240 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 109 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 109 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 19ms (Views: 8.8ms | ActiveRecord: 2.1ms) Started POST "/adherent/members/240/payments" for 127.0.0.1 at 2013-08-24 15:06:03 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"240"} 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", "240"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 240], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 240 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 240 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 109 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 109 SQL (1.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 109], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["payment_id", 43], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/240/adhesions Completed 302 Found in 14ms (ActiveRecord: 3.4ms) Started GET "/adherent/members/240/adhesions" for 127.0.0.1 at 2013-08-24 15:06:03 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"240"} 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", "240"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 240 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 240  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 109 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 109 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: 8.9ms | ActiveRecord: 1.4ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 240 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 109  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:03 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" = 165) 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 165], ["updated_at", Sat, 24 Aug 2013 13:06:03 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" = 165) 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 165], ["updated_at", Sat, 24 Aug 2013 13:06:03 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" = 165) 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 165], ["updated_at", Sat, 24 Aug 2013 13:06:03 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" = 243 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 243 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", #], ["created_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 243], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/243/payments/new" for 127.0.0.1 at 2013-08-24 15:06:03 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"243"} 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", "243"]] Adherent::Adhesion Load (6.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 243 ORDER BY to_date  (1.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 110 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 110 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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 23ms (Views: 9.4ms | ActiveRecord: 8.0ms) Started POST "/adherent/members/243/payments" for 127.0.0.1 at 2013-08-24 15:06:03 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"243"} Organism Load (0.8ms) 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", "243"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 243], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 243 LIMIT 1 Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 243 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 110 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 110 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", 110], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["payment_id", 44], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/243/adhesions Completed 302 Found in 14ms (ActiveRecord: 3.7ms) Started GET "/adherent/members/243/adhesions" for 127.0.0.1 at 2013-08-24 15:06:03 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"243"} 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", "243"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 243 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 243  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 110 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 110 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.2ms | ActiveRecord: 1.3ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 243 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 44  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 44  (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 1.9ms | ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1001"} 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (1.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 8ms (ActiveRecord: 3.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1002"} 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 1.1ms)  (0.1ms) 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.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:03 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" = 'A001' AND "adherent_members"."organism_id" = 171) 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 171], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/246/coord/new Completed 302 Found in 9ms (ActiveRecord: 1.7ms)  (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 (1.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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:03 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" = 'A001' AND "adherent_members"."organism_id" = 172) 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", Mon, 06 Jun 1955], ["created_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 172], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/247/coord/new Completed 302 Found in 11ms (ActiveRecord: 3.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (4.2ms) 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:03 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" = 'A001' AND "adherent_members"."organism_id" = 173) 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 173], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/248/coord/new Completed 302 Found in 63ms (ActiveRecord: 6.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.3ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) 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 (1.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1007"} 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1007 Completed 302 Found in 6ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1008"} 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1008 Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1009"} Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.6ms) 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 15ms (Views: 2.4ms | ActiveRecord: 3.9ms)  (1.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1010"} Organism Load (1.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.5ms) 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1010 Completed 302 Found in 9ms (ActiveRecord: 4.1ms)  (2.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (1.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.5ms) 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (2.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 181 Completed 200 OK in 15ms (Views: 2.4ms | ActiveRecord: 7.2ms)  (0.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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) 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.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.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:03 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" = 111  (0.7ms) 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", 111], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 13:06:03 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" = 111  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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", #], ["created_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 112  (0.3ms) 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", 112], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (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", #], ["created_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:03 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" = 113  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 113], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 113  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 113  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1014"} 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1016"} 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1016/adhesions Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1018"} Organism Load (0.8ms) 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1020"} 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", Sat, 24 Aug 2013 13:06:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1020/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1022", "id"=>"1"} Organism Load (1.2ms) 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.8ms | ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1024", "id"=>"1"} Organism Load (1.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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.3ms | ActiveRecord: 2.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1026", "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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1028", "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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1030"} 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1031"} Organism Load (1.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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.0ms | ActiveRecord: 1.8ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1032", "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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1032/payments/1033 Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1034", "id"=>"1"} 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 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::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1036", "id"=>"1"} 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1038", "id"=>"1"} 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1038/payments/1039 Completed 302 Found in 5ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1040", "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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1042", "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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1044"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1046", "id"=>"1"} 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1046/adhesions Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1048", "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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1050", "id"=>"1"} 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1052", "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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1052/adhesions Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1054"} 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1054/adhesions Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1056"} 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1058"} 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1058/adhesions Completed 302 Found in 6ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1060"} 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1061"} 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1062"} 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1062/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 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" = 210) 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 210], ["updated_at", Sat, 24 Aug 2013 13:06:04 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/249/adhesions/new" for 127.0.0.1 at 2013-08-24 15:06:04 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"249"} 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", "249"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 249 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 249 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 18ms (Views: 13.0ms | ActiveRecord: 1.0ms)  (0.5ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 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" = 211) 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 211], ["updated_at", Sat, 24 Aug 2013 13:06:04 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/250/adhesions/new" for 127.0.0.1 at 2013-08-24 15:06:04 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"250"} 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", "250"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 250 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 250 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (6.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: 11.3ms | ActiveRecord: 1.1ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 250 Started POST "/adherent/members/250/adhesions" for 127.0.0.1 at 2013-08-24 15:06:04 +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"=>"250"} 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", "250"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 250], ["to_date", Thu, 31 Jul 2014], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/250/adhesions Completed 302 Found in 7ms (ActiveRecord: 1.3ms) Started GET "/adherent/members/250/adhesions" for 127.0.0.1 at 2013-08-24 15:06:04 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"250"} 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", "250"]]  (0.8ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 250 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 250  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 114 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 114 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: 11.0ms | ActiveRecord: 1.8ms)  (2.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 250  (3.0ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (3.8ms) 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 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" = 212) 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 212], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (2.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 251], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/251/adhesions" for 127.0.0.1 at 2013-08-24 15:06:04 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"251"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "251"]]  (0.6ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 251 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 251  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 115 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 115 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 14ms (Views: 8.0ms | ActiveRecord: 3.4ms)  (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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 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" = 213) 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 213], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (0.3ms) SAVEPOINT active_record_1 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", #], ["created_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 252], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/252/adhesions" for 127.0.0.1 at 2013-08-24 15:06:04 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"252"} 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", "252"]]  (1.7ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 252 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 252  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 116 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 116 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: 11.4ms | ActiveRecord: 3.5ms) Started GET "/adherent/members/252/adhesions/116/edit" for 127.0.0.1 at 2013-08-24 15:06:04 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"252", "id"=>"116"} 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", "252"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 252 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "116"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (5.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 12ms (Views: 9.2ms | ActiveRecord: 0.9ms)  (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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 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" = 'Adh000' AND "adherent_members"."organism_id" = 214) 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 214], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (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", #], ["created_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 253], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/253/adhesions" for 127.0.0.1 at 2013-08-24 15:06:04 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"253"} Organism Load (0.0ms) 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", "253"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 253 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 253  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 117 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 117 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 14ms (Views: 9.4ms | ActiveRecord: 1.0ms) Started GET "/adherent/members/253/payments/new" for 127.0.0.1 at 2013-08-24 15:06:04 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"253"} 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", "253"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 253 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 117 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 117 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.9ms) Rendered layouts/adherent/_header.html.haml (0.7ms) 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: 10.2ms | ActiveRecord: 1.0ms)  (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.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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 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" = 215) 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 215], ["updated_at", Sat, 24 Aug 2013 13:06:04 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" = 'Adh001' AND "adherent_members"."organism_id" = 215) 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 215], ["updated_at", Sat, 24 Aug 2013 13:06:04 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" = 215) 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 215], ["updated_at", Sat, 24 Aug 2013 13:06:04 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" = 'Adh003' AND "adherent_members"."organism_id" = 215) 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 215], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.0ms) 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" = 215) 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 215], ["updated_at", Sat, 24 Aug 2013 13:06:04 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" for 127.0.0.1 at 2013-08-24 15:06:04 +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" = 215 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 254 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 254 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 255 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 255 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 256 ORDER BY to_date Adherent::Coord Load (0.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 256 LIMIT 1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 257 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 257 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 258 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 258 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 99ms (Views: 91.0ms | ActiveRecord: 5.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  (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 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 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" = 216) 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 216], ["updated_at", Sat, 24 Aug 2013 13:06:04 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" = 216) 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 216], ["updated_at", Sat, 24 Aug 2013 13:06:04 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" = 216) 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 216], ["updated_at", Sat, 24 Aug 2013 13:06:04 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" = 216) 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 216], ["updated_at", Sat, 24 Aug 2013 13:06:04 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" = 'Adh004' AND "adherent_members"."organism_id" = 216) 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 216], ["updated_at", Sat, 24 Aug 2013 13:06:04 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-24 15:06:04 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.8ms) 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" = 216 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 259 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 259 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 260 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 260 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 261 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 261 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 262 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 262 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 263 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 263 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 32ms (Views: 24.1ms | ActiveRecord: 4.4ms)  (0.3ms) 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.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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:04 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" = 217) 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 217], ["updated_at", Sat, 24 Aug 2013 13:06:04 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" = 217) 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 217], ["updated_at", Sat, 24 Aug 2013 13:06:04 UTC +00:00]]  (0.4ms) 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" = 217) 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 217], ["updated_at", Sat, 24 Aug 2013 13:06:04 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" = 217) 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 217], ["updated_at", Sat, 24 Aug 2013 13:06:04 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" = 'Adh004' AND "adherent_members"."organism_id" = 217) 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", Sat, 24 Aug 2013 13:06:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 217], ["updated_at", Sat, 24 Aug 2013 13:06:04 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-24 15:06:04 +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" = 217 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 264 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 264 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 265 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 265 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 266 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 266 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 267 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 267 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 268 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 268 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 32ms (Views: 24.4ms | ActiveRecord: 3.5ms) Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/264/adhesions" for 127.0.0.1 at 2013-08-24 15:06:04 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"264"} 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", "264"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 264 Redirected to http://www.example.com/adherent/members/264/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET "/adherent/members/264/adhesions/new" for 127.0.0.1 at 2013-08-24 15:06:04 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"264"} 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", "264"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 264 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 264 ORDER BY to_date DESC LIMIT 1 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: 8.1ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.2ms) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 'Adh000' AND "adherent_members"."organism_id" = 218) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 218], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 218) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 218], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 218) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 218], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 218) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 218], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 218) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 218], ["updated_at", Sat, 24 Aug 2013 13:06:05 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-24 15:06:05 +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" = 218 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 269 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 269 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 270 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 270 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 271 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 271 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 272 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 272 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 273 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 273 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 32ms (Views: 25.3ms | ActiveRecord: 3.8ms) Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-24 15:06:05 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (10.5ms) Rendered layouts/adherent/_header.html.haml (0.4ms) 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 19ms (Views: 15.7ms | ActiveRecord: 0.4ms)  (0.1ms) 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.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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 219) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 219], ["updated_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00]]  (0.0ms) 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" = 219) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 219], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 219) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 219], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 219) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 219], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 219) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 219], ["updated_at", Sat, 24 Aug 2013 13:06:05 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-24 15:06:05 +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 (1.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 219 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 274 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 274 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 275 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 275 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 276 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 276 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 277 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 277 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 278 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 278 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 39ms (Views: 31.3ms | ActiveRecord: 5.1ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (1.2ms) SAVEPOINT active_record_1 SQL (4.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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 274], ["office", nil], ["tel", nil], ["updated_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["zip", nil]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 274 LIMIT 1 Started GET "/adherent/members/274/coord" for 127.0.0.1 at 2013-08-24 15:06:05 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"274"} Organism Load (2.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", "274"]] Adherent::Coord Load (1.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 274 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.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 25ms (Views: 16.5ms | ActiveRecord: 3.7ms)  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 220) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 220], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 220) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 220], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 220) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 220], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 220) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 220], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 220) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 220], ["updated_at", Sat, 24 Aug 2013 13:06:05 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-24 15:06:05 +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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 220 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 279 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 279 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 280 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 280 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 281 ORDER BY to_date Adherent::Coord Load (1.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 281 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 282 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 282 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 283 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 283 LIMIT 1 Rendered layouts/adherent/_header.html.haml (1.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 33ms (Views: 22.9ms | ActiveRecord: 4.9ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/279/payments" for 127.0.0.1 at 2013-08-24 15:06:05 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"279"} 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", "279"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 279 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 7ms (Views: 5.0ms | ActiveRecord: 0.8ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 221) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 221], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 221) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 221], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 221) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 221], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 221) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 221], ["updated_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00]]  (0.4ms) 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" = 221) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 221], ["updated_at", Sat, 24 Aug 2013 13:06:05 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-24 15:06:05 +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" = 221 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 284 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 284 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 285 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 285 LIMIT 1 Adherent::Adhesion Load (5.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 286 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 286 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 287 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 287 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 288 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 288 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 90ms (Views: 75.6ms | ActiveRecord: 9.2ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 284 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 284 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", #], ["created_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 284], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/284/adhesions" for 127.0.0.1 at 2013-08-24 15:06:05 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"284"} 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", "284"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 284 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 284  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 118 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 118 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.2ms | ActiveRecord: 1.4ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 222) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 222], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 222) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 222], ["updated_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00]]  (0.1ms) 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" = 'Adh002' AND "adherent_members"."organism_id" = 222) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 222], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 222) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 222], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 222) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 222], ["updated_at", Sat, 24 Aug 2013 13:06:05 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-24 15:06:05 +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" = 222 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 289 ORDER BY to_date Adherent::Coord Load (0.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 289 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 290 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 290 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 291 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 291 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 292 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 292 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 293 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 293 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 33ms (Views: 24.9ms | ActiveRecord: 4.1ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/289/edit" for 127.0.0.1 at 2013-08-24 15:06:05 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"289"} 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", "289"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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 13ms (Views: 10.0ms | ActiveRecord: 0.5ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00]]  (0.1ms) 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" = 223) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 223], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 223) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 223], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 223) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 223], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 223) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 223], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 223) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 223], ["updated_at", Sat, 24 Aug 2013 13:06:05 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-24 15:06:05 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (2.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"."organism_id" = 223 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 294 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 294 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 295 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 295 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 296 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 296 LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 297 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 297 LIMIT 1 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 298 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298 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 33ms (Views: 23.9ms | ActiveRecord: 6.2ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/294/coord" for 127.0.0.1 at 2013-08-24 15:06:05 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"294"} 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", "294"]] Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 294 LIMIT 1 Redirected to http://www.example.com/adherent/members/294/coord/new Completed 302 Found in 3ms (ActiveRecord: 0.7ms) Started GET "/adherent/members/294/coord/new" for 127.0.0.1 at 2013-08-24 15:06:05 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"294"} 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", "294"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 294 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (14.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 24ms (Views: 19.7ms | ActiveRecord: 0.7ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 224) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 224], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 224) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 224], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 224) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 224], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 224) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 224], ["updated_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 224) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 224], ["updated_at", Sat, 24 Aug 2013 13:06:05 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/new" for 127.0.0.1 at 2013-08-24 15:06:05 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (5.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 14ms (Views: 9.9ms | ActiveRecord: 1.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  Started POST "/adherent/members" for 127.0.0.1 at 2013-08-24 15:06:05 +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.3ms) 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" = 224) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 224], ["updated_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/304/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.8ms) Started GET "/adherent/members/304/coord/new" for 127.0.0.1 at 2013-08-24 15:06:05 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"304"} 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", "304"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 304 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (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 15ms (Views: 11.3ms | ActiveRecord: 0.7ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  (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.0ms) BEGIN Adherent::Member Exists (0.8ms) 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.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.2ms) 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.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Tue, 06 Jun 1944], ["created_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.7ms) 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.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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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) 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.0ms) 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.0ms) BEGIN Adherent::Adhesion Load (0.2ms) 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.2ms) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 308 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 308 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 308], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 308 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 308 ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 309 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 309 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", #], ["created_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 309], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 309 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 309 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 310 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 310 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", #], ["created_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 310], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:05 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" = 310 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 310 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1063"} 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1065"} Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1065/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1067"} 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:05 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::CoordsController#show as HTML Parameters: {"member_id"=>"1069"} 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1071"} 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1073"} Organism Load (0.5ms) 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 2.1ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1075"} Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1077"} 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", Sat, 24 Aug 2013 13:06:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 232 Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1078"} 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", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1079"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1079/coord Completed 302 Found in 5ms (ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1081"} 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", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1083"} Organism Load (1.0ms) 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", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1085"} 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", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1085/coord Completed 302 Found in 11ms (ActiveRecord: 1.1ms)  (0.2ms) 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.0ms) BEGIN  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:06 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" = 238) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 238], ["updated_at", Sat, 24 Aug 2013 13:06:06 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/311/coord/new" for 127.0.0.1 at 2013-08-24 15:06:06 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"311"} 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", "311"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 311 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (12.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 21ms (Views: 16.6ms | ActiveRecord: 0.8ms)  (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 (1.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:06 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" = 239) 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", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 239], ["updated_at", Sat, 24 Aug 2013 13:06:06 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/312/coord/new" for 127.0.0.1 at 2013-08-24 15:06:06 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"312"} 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", "312"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 312 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (9.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 16ms (Views: 12.4ms | ActiveRecord: 0.8ms) Started POST "/adherent/members/312/coord" for 127.0.0.1 at 2013-08-24 15:06:06 +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"=>"312"} 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", "312"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 312 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", ""], ["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 312], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/312/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 1.5ms) Started GET "/adherent/members/312/adhesions/new" for 127.0.0.1 at 2013-08-24 15:06:06 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"312"} 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", "312"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 312 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 312 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 14ms (Views: 8.4ms | ActiveRecord: 1.1ms)  (0.2ms) 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", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:06 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" = 240) 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", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 240], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members/313/coord/new" for 127.0.0.1 at 2013-08-24 15:06:06 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"313"} 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", "313"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 313 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.0ms) Rendered layouts/adherent/_header.html.haml (0.7ms) 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: 13.1ms | ActiveRecord: 0.5ms) Started POST "/adherent/members/313/coord" for 127.0.0.1 at 2013-08-24 15:06:06 +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"=>"313"} 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", "313"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 313 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", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 313], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/313/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 1.3ms) Started GET "/adherent/members/313/adhesions/new" for 127.0.0.1 at 2013-08-24 15:06:06 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"313"} 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", "313"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 313 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 313 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.0ms) Completed 200 OK in 14ms (Views: 9.4ms | ActiveRecord: 1.1ms) Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 313 LIMIT 1  (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", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:06 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" = 241) 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", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 241], ["updated_at", Sat, 24 Aug 2013 13:06:06 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/314/coord/new" for 127.0.0.1 at 2013-08-24 15:06:06 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"314"} 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", "314"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 314 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.1ms) Rendered layouts/adherent/_header.html.haml (0.3ms) 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: 0.7ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  Started POST "/adherent/members/314/coord" for 127.0.0.1 at 2013-08-24 15:06:06 +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"=>"314"} Organism Load (3.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "314"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 314 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", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 314], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["zip", ""]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/314/adhesions/new Completed 302 Found in 12ms (ActiveRecord: 5.7ms) Started GET "/adherent/members/314/adhesions/new" for 127.0.0.1 at 2013-08-24 15:06:06 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"314"} 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", "314"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 314 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 314 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (6.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 14ms (Views: 9.7ms | ActiveRecord: 0.8ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) 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" = 'Adh1' 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", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", nil], ["city", "Lille"], ["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 315], ["office", nil], ["tel", nil], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 315 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 11]] SQL (0.2ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 315]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (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 (0.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:06 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" = 242) 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", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 242], ["updated_at", Sat, 24 Aug 2013 13:06:06 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" = 316 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 316 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", #], ["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 316], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/316/payments/new" for 127.0.0.1 at 2013-08-24 15:06:06 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"316"} 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", "316"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 316 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 122 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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 16ms (Views: 9.9ms | ActiveRecord: 1.1ms)  (0.1ms) 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.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:06 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" = 243) 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", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 243], ["updated_at", Sat, 24 Aug 2013 13:06:06 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" = 317 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 317 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", #], ["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 317], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/317/payments/new" for 127.0.0.1 at 2013-08-24 15:06:06 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"317"} 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", "317"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 317 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 123 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (9.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.0ms) Completed 200 OK in 18ms (Views: 12.4ms | ActiveRecord: 1.0ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 317 Started POST "/adherent/members/317/payments" for 127.0.0.1 at 2013-08-24 15:06:06 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"317"} 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", "317"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 317], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 317 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 317 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 123  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/317/adhesions Completed 302 Found in 10ms (ActiveRecord: 2.0ms) Started GET "/adherent/members/317/adhesions" for 127.0.0.1 at 2013-08-24 15:06:06 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"317"} 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", "317"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 317 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 317  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 123 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 123 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 12ms (Views: 7.4ms | ActiveRecord: 1.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 317  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]]  (0.0ms) 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" = 244) 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", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 244], ["updated_at", Sat, 24 Aug 2013 13:06:06 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" = 318 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 318 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", #], ["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 318], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:06 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", #], ["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 318], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 318 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 318 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 124  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/318/payments" for 127.0.0.1 at 2013-08-24 15:06:06 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"318"} 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", "318"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 318 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46 Rendered layouts/adherent/_header.html.haml (1.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 17ms (Views: 12.0ms | ActiveRecord: 1.8ms)  (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 (0.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:06 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" = 245) 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", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 245], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]]  (0.2ms) 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" = 319 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 319 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", #], ["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 319], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 319], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 319 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 319 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 125  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/319/payments" for 127.0.0.1 at 2013-08-24 15:06:06 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"319"} 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", "319"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 319 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 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 14ms (Views: 9.5ms | ActiveRecord: 1.6ms) Started GET "/adherent/payments/47/reglements/new" for 127.0.0.1 at 2013-08-24 15:06:06 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"47"} 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", "47"]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 319 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 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" = 125 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (4.8ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 19ms (Views: 9.5ms | ActiveRecord: 2.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1090"} Organism Load (1.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.6ms) 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", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (2.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" Completed 200 OK in 14ms (Views: 2.8ms | ActiveRecord: 6.8ms)  (0.8ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1093"} Organism Load (1.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (2.3ms) 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", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  Completed 200 OK in 13ms (Views: 1.0ms | ActiveRecord: 6.9ms)  (1.3ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1096"} 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", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1095/payments Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) 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.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.2ms) 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.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", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 320], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 13:06:06 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" = 320 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 320 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", #], ["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 320], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]]  (0.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 320], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 320 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 320 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 126  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 127  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 126 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", 126], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["payment_id", 48], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 127 SQL (0.1ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 127], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["payment_id", 48], ["updated_at", Sat, 24 Aug 2013 13:06:06 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.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", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 321], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 321 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 321 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", #], ["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 321], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 321], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 321 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 321 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 128  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 129  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 128 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", 128], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["payment_id", 49], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 129 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", 129], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["payment_id", 49], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 49  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 49  (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.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", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 322], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 13:06:06 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" = 322 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 322 ORDER BY to_date DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 322], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 13:06:06 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", #], ["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 322], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 322 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 322 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 130  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 131  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 130 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", 130], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00], ["payment_id", 50], ["updated_at", Sat, 24 Aug 2013 13:06:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1001"} Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (0.3ms) Completed 200 OK in 31ms (Views: 6.8ms | ActiveRecord: 10.4ms)  (0.6ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1002"} 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", Sat, 24 Aug 2013 13:06:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1002/adhesions/new Completed 302 Found in 6ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1003"} 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", Sat, 24 Aug 2013 13:06:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1004", "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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1004/adhesions Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1006", "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", Sat, 24 Aug 2013 13:06:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:33 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1006/adhesions Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1008", "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", Sat, 24 Aug 2013 13:06:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1010", "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", Sat, 24 Aug 2013 13:06:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 2.3ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1012", "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", Sat, 24 Aug 2013 13:06:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1014", "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", Sat, 24 Aug 2013 13:06:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1016"} 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", Sat, 24 Aug 2013 13:06:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1016/adhesions Completed 302 Found in 6ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1018"} 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", Sat, 24 Aug 2013 13:06:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1018/adhesions Completed 302 Found in 8ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1020"} 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", Sat, 24 Aug 2013 13:06:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1022"} 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", Sat, 24 Aug 2013 13:06:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.0ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' 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", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) 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", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 323], ["office", nil], ["tel", nil], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 323 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 12]] SQL (0.2ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 323]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "adherent_coords"   (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1026"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 2.6ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1027"} 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", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.6ms | ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1028", "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", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1030", "id"=>"1"} Organism Load (0.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", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1032"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.8ms)  (0.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1034", "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.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1034/payments/1035 Completed 302 Found in 5ms (ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1036", "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", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1036/payments/1037 Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1038", "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", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1040", "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", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1042", "id"=>"1"} 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", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.4ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1044", "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", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.2ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1046"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1046/adhesions Completed 302 Found in 5ms (ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1048"} 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", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1048/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1050"} 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", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (1.1ms) 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", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 276 Completed 200 OK in 16ms (Views: 2.0ms | ActiveRecord: 2.2ms)  (0.2ms) 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 (0.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1052"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (5.9ms) 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 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 12ms (ActiveRecord: 6.9ms)  (2.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1053"} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (4.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 14ms (ActiveRecord: 5.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} 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", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) 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.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", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1056"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1056 Completed 302 Found in 6ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1057"} 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", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1057 Completed 302 Found in 4ms (ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1058"} 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", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1058 Completed 302 Found in 7ms (ActiveRecord: 0.9ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1059"} 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", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.8ms)  (0.1ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} 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", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 1.1ms)  (0.3ms) ROLLBACK  (0.0ms) 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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.9ms) 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", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 'A001' AND "adherent_members"."organism_id" = 289) 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", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 289], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/324/coord/new Completed 302 Found in 12ms (ActiveRecord: 2.3ms)  (0.1ms) 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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.9ms)  (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.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", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 'A001' AND "adherent_members"."organism_id" = 291) 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", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 291], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/325/coord/new Completed 302 Found in 9ms (ActiveRecord: 1.6ms)  (0.1ms) 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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 'A001' AND "adherent_members"."organism_id" = 292) 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", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 292], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/326/coord/new Completed 302 Found in 12ms (ActiveRecord: 1.9ms)  (0.2ms) 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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 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" = 'Adh000' AND "adherent_members"."organism_id" = 293) 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", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 293], ["updated_at", Sat, 24 Aug 2013 13:06:34 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/327/coord/new" for 127.0.0.1 at 2013-08-24 15:06:34 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"327"} Organism Load (0.8ms) 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", "327"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 327 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (81.7ms) Rendered layouts/adherent/_header.html.haml (0.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (1.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (2.3ms) Completed 200 OK in 103ms (Views: 98.3ms | ActiveRecord: 1.4ms)  (0.4ms) 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", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00]]  (0.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" = 'Adh000' AND "adherent_members"."organism_id" = 294) 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", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 294], ["updated_at", Sat, 24 Aug 2013 13:06:34 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/328/coord/new" for 127.0.0.1 at 2013-08-24 15:06:34 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"328"} 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", "328"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 328 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (9.5ms) 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 18ms (Views: 13.3ms | ActiveRecord: 1.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  Started POST "/adherent/members/328/coord" for 127.0.0.1 at 2013-08-24 15:06:34 +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"=>"328"} 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", "328"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 328 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) 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", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 328], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 13:06:34 UTC +00:00], ["zip", ""]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/328/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/328/adhesions/new" for 127.0.0.1 at 2013-08-24 15:06:34 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"328"} Organism Load (0.3ms) 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", "328"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 328 Adherent::Adhesion Load (1.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 328 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (19.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 60ms (Views: 24.9ms | ActiveRecord: 8.6ms)  (1.8ms) SELECT COUNT(*) FROM "adherent_coords"  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 'Adh000' AND "adherent_members"."organism_id" = 295) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 295], ["updated_at", Sat, 24 Aug 2013 13:06:35 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/329/coord/new" for 127.0.0.1 at 2013-08-24 15:06:35 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"329"} Organism Load (1.0ms) 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", "329"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 329 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.8ms) Rendered layouts/adherent/_header.html.haml (0.3ms) 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.3ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/329/coord" for 127.0.0.1 at 2013-08-24 15:06:35 +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"=>"329"} 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", "329"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 329 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", ""], ["created_at", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 329], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/329/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 1.7ms) Started GET "/adherent/members/329/adhesions/new" for 127.0.0.1 at 2013-08-24 15:06:35 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"329"} 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", "329"]] Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 329 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 329 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 15ms (Views: 8.4ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.5ms) 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 13:06:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:35 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" = 296) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 296], ["updated_at", Sat, 24 Aug 2013 13:06:35 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/330/coord/new" for 127.0.0.1 at 2013-08-24 15:06:35 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"330"} Organism Load (0.1ms) 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"."id" = $1 LIMIT 1 [["id", "330"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 330 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.0ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 18ms (Views: 13.8ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/330/coord" for 127.0.0.1 at 2013-08-24 15:06:35 +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"=>"330"} 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", "330"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 330 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.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", ""], ["city", "Oklahoma city"], ["created_at", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 330], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/330/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 1.6ms) Started GET "/adherent/members/330/adhesions/new" for 127.0.0.1 at 2013-08-24 15:06:35 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"330"} 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", "330"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 330 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 330 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 14ms (Views: 8.8ms | ActiveRecord: 1.0ms) Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 330 LIMIT 1  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:35 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" = 297) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 297], ["updated_at", Sat, 24 Aug 2013 13:06:35 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" = 'Adh001' AND "adherent_members"."organism_id" = 297) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 297], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 297) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 297], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 'Adh003' AND "adherent_members"."organism_id" = 297) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 297], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 'Adh004' AND "adherent_members"."organism_id" = 297) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 297], ["updated_at", Sat, 24 Aug 2013 13:06:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 15:06:35 +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" = 297 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 331 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 331 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 332 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 332 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 333 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 333 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 334 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 334 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 335 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 335 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 37ms (Views: 27.9ms | ActiveRecord: 4.0ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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" = 298) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 298], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 'Adh001' AND "adherent_members"."organism_id" = 298) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 298], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 298) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 298], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 'Adh003' AND "adherent_members"."organism_id" = 298) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 298], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 'Adh004' AND "adherent_members"."organism_id" = 298) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 298], ["updated_at", Sat, 24 Aug 2013 13:06:35 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-24 15:06:35 +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 (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 298 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 336 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 336 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 337 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 337 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 338 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 338 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 339 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 339 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 340 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 340 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 36ms (Views: 27.5ms | ActiveRecord: 4.0ms)  (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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 'Adh000' AND "adherent_members"."organism_id" = 299) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 299], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 'Adh001' AND "adherent_members"."organism_id" = 299) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 299], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 299) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 299], ["updated_at", Sat, 24 Aug 2013 13:06:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 299) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 299], ["updated_at", Sat, 24 Aug 2013 13:06:35 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" = 'Adh004' AND "adherent_members"."organism_id" = 299) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 299], ["updated_at", Sat, 24 Aug 2013 13:06:35 UTC +00:00]]  (0.7ms) 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-24 15:06:35 +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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 299 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 341 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 341 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 342 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 342 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 343 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 343 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 344 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 344 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 345 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 345 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 31ms (Views: 24.4ms | ActiveRecord: 3.6ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/341/coord" for 127.0.0.1 at 2013-08-24 15:06:35 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"341"} 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", "341"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 341 LIMIT 1 Redirected to http://www.example.com/adherent/members/341/coord/new Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET "/adherent/members/341/coord/new" for 127.0.0.1 at 2013-08-24 15:06:35 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"341"} 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", "341"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 341 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.3ms) Rendered layouts/adherent/_header.html.haml (1.8ms) 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: 12.0ms | ActiveRecord: 0.7ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 'Adh000' AND "adherent_members"."organism_id" = 300) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 300], ["updated_at", Sat, 24 Aug 2013 13:06:35 UTC +00:00]]  (0.0ms) 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" = 300) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 300], ["updated_at", Sat, 24 Aug 2013 13:06:35 UTC +00:00]]  (1.4ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 300) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 300], ["updated_at", Sat, 24 Aug 2013 13:06:35 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" = 300) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 300], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 'Adh004' AND "adherent_members"."organism_id" = 300) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 300], ["updated_at", Sat, 24 Aug 2013 13:06:35 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-24 15:06:35 +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" = 300 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 346 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 346 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 347 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 347 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 348 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 348 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 349 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 349 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 350 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 350 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 32ms (Views: 24.0ms | ActiveRecord: 4.1ms) Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-24 15:06:35 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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 14ms (Views: 10.4ms | ActiveRecord: 0.5ms)  (0.8ms) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 'Adh000' AND "adherent_members"."organism_id" = 301) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 301], ["updated_at", Sat, 24 Aug 2013 13:06:35 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" = 'Adh001' AND "adherent_members"."organism_id" = 301) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 301], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 301) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 301], ["updated_at", Sat, 24 Aug 2013 13:06:35 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" = 301) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 301], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 'Adh004' AND "adherent_members"."organism_id" = 301) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 301], ["updated_at", Sat, 24 Aug 2013 13:06:35 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" for 127.0.0.1 at 2013-08-24 15:06:35 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (5.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 301 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 351 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 351 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 352 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 352 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 353 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 353 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 354 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 354 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 355 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 355 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 42ms (Views: 28.8ms | ActiveRecord: 9.9ms) Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 351 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 351 ORDER BY to_date DESC LIMIT 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", #], ["created_at", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 351], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/351/adhesions" for 127.0.0.1 at 2013-08-24 15:06:35 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"351"} 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", "351"]]  (0.5ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 351 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 351  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 132 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 132 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: 18.7ms | ActiveRecord: 3.8ms)  (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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 'Adh000' AND "adherent_members"."organism_id" = 302) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 302], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 'Adh001' AND "adherent_members"."organism_id" = 302) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 302], ["updated_at", Sat, 24 Aug 2013 13:06:35 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" = 'Adh002' AND "adherent_members"."organism_id" = 302) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 302], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 'Adh003' AND "adherent_members"."organism_id" = 302) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 302], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 'Adh004' AND "adherent_members"."organism_id" = 302) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 302], ["updated_at", Sat, 24 Aug 2013 13:06:35 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-24 15:06:35 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.0ms) 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" = 302 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 356 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 356 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 357 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 357 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 358 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 358 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 359 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 359 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 360 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 360 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: 24.6ms | ActiveRecord: 4.3ms) Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/356/edit" for 127.0.0.1 at 2013-08-24 15:06:35 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"356"} 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", "356"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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 13ms (Views: 9.8ms | ActiveRecord: 0.6ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 'Adh000' AND "adherent_members"."organism_id" = 303) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 303], ["updated_at", Sat, 24 Aug 2013 13:06:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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" = 303) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 303], ["updated_at", Sat, 24 Aug 2013 13:06:35 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" = 303) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 303], ["updated_at", Sat, 24 Aug 2013 13:06:35 UTC +00:00]]  (0.1ms) 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" = 'Adh003' AND "adherent_members"."organism_id" = 303) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 303], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 'Adh004' AND "adherent_members"."organism_id" = 303) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 303], ["updated_at", Sat, 24 Aug 2013 13:06:35 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-24 15:06:35 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 303 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 361 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 361 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 362 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 362 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 363 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 363 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 364 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 364 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 365 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 365 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 33ms (Views: 23.9ms | ActiveRecord: 4.9ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/361/adhesions" for 127.0.0.1 at 2013-08-24 15:06:35 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"361"} 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", "361"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 361 Redirected to http://www.example.com/adherent/members/361/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET "/adherent/members/361/adhesions/new" for 127.0.0.1 at 2013-08-24 15:06:35 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"361"} 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", "361"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 361 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 361 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (5.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 14ms (Views: 9.4ms | ActiveRecord: 0.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  (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 13:06:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 'Adh000' AND "adherent_members"."organism_id" = 304) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 304], ["updated_at", Sat, 24 Aug 2013 13:06:35 UTC +00:00]]  (0.5ms) 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" = 304) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 304], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 304) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 304], ["updated_at", Sat, 24 Aug 2013 13:06:35 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" = 'Adh003' AND "adherent_members"."organism_id" = 304) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 304], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 'Adh004' AND "adherent_members"."organism_id" = 304) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 304], ["updated_at", Sat, 24 Aug 2013 13:06:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 15:06:35 +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" = 304 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 366 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 366 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 367 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 367 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 368 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 368 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 369 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 369 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 370 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 370 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.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 33ms (Views: 23.6ms | ActiveRecord: 3.4ms) Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" 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", nil], ["city", "Marseille"], ["created_at", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 366], ["office", nil], ["tel", nil], ["updated_at", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["zip", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 366 LIMIT 1 Started GET "/adherent/members/366/coord" for 127.0.0.1 at 2013-08-24 15:06:35 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"366"} 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", "366"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 366 LIMIT 1 Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 20ms (Views: 7.1ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) COMMIT  (0.1ms) BEGIN Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.9ms) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:35 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" = 'Adh000' AND "adherent_members"."organism_id" = 305) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 305], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 'Adh001' AND "adherent_members"."organism_id" = 305) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 305], ["updated_at", Sat, 24 Aug 2013 13:06:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 305) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 305], ["updated_at", Sat, 24 Aug 2013 13:06: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" = 'Adh003' AND "adherent_members"."organism_id" = 305) LIMIT 1 SQL (1.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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 305], ["updated_at", Sat, 24 Aug 2013 13:06:35 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" = 'Adh004' AND "adherent_members"."organism_id" = 305) 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", Sat, 24 Aug 2013 13:06:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 305], ["updated_at", Sat, 24 Aug 2013 13:06:35 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-24 15:06:35 +0200 Processing by Adherent::MembersController#index as HTML 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"."organism_id" = 305 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 371 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 371 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 372 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 372 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 373 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 373 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 374 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 374 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 375 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 375 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 30ms (Views: 23.1ms | ActiveRecord: 3.7ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/371/payments" for 127.0.0.1 at 2013-08-24 15:06:36 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"371"} 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", "371"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 371 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.2ms) Completed 200 OK in 23ms (Views: 18.5ms | ActiveRecord: 2.5ms)  (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", Sat, 24 Aug 2013 13:06:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:36 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" = 306) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 13:06:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 306], ["updated_at", Sat, 24 Aug 2013 13:06:36 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" = 306) 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", Sat, 24 Aug 2013 13:06:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 306], ["updated_at", Sat, 24 Aug 2013 13:06:36 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" = 306) 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", Sat, 24 Aug 2013 13:06:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 306], ["updated_at", Sat, 24 Aug 2013 13:06:36 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" = 306) 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", Sat, 24 Aug 2013 13:06:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 306], ["updated_at", Sat, 24 Aug 2013 13:06:36 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" = 306) 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", Sat, 24 Aug 2013 13:06:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 306], ["updated_at", Sat, 24 Aug 2013 13:06:36 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/new" for 127.0.0.1 at 2013-08-24 15:06:36 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (1.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (6.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 15ms (Views: 10.8ms | ActiveRecord: 1.5ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_members" Started POST "/adherent/members" for 127.0.0.1 at 2013-08-24 15:06:36 +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.3ms) 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" = 306) 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", Sat, 24 Aug 2013 13:06:36 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 306], ["updated_at", Sat, 24 Aug 2013 13:06:36 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/381/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.3ms) Started GET "/adherent/members/381/coord/new" for 127.0.0.1 at 2013-08-24 15:06:36 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"381"} 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", "381"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 381 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (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.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 16ms (Views: 12.9ms | ActiveRecord: 0.7ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"   (0.0ms) 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.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:36 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" = 307) 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", Sat, 24 Aug 2013 13:06:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 307], ["updated_at", Sat, 24 Aug 2013 13:06: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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 382 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 382 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", #], ["created_at", Sat, 24 Aug 2013 13:06:36 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 382], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/382/payments/new" for 127.0.0.1 at 2013-08-24 15:06:36 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"382"} 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", "382"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 382 ORDER BY to_date  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 133 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (13.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 38ms (Views: 21.3ms | ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.2ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:36 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" = 308) 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", Sat, 24 Aug 2013 13:06:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 308], ["updated_at", Sat, 24 Aug 2013 13:06: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.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 383 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 383 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", #], ["created_at", Sat, 24 Aug 2013 13:06:36 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 383], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/383/payments/new" for 127.0.0.1 at 2013-08-24 15:06:36 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"383"} 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", "383"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 383 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 134 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (9.2ms) Rendered layouts/adherent/_header.html.haml (0.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 21ms (Views: 16.3ms | ActiveRecord: 1.0ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 383 Started POST "/adherent/members/383/payments" for 127.0.0.1 at 2013-08-24 15:06:36 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"383"} 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", "383"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 13:06:36 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 383], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:06:36 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 383 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 383 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 134  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/383/adhesions Completed 302 Found in 18ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/383/adhesions" for 127.0.0.1 at 2013-08-24 15:06:36 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"383"} 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", "383"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 383 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 383  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 134 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 134 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 11ms (Views: 7.5ms | ActiveRecord: 1.5ms)  (0.1ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 383  (0.6ms) 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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:36 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" = 309) 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", Sat, 24 Aug 2013 13:06:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 309], ["updated_at", Sat, 24 Aug 2013 13:06: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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 384 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 384 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", #], ["created_at", Sat, 24 Aug 2013 13:06:36 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 384], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:36 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", #], ["created_at", Sat, 24 Aug 2013 13:06:36 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 384], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:06:36 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 384 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 384 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 135  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/384/payments" for 127.0.0.1 at 2013-08-24 15:06:36 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"384"} 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", "384"]] Adherent::Payment Load (0.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 384 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 52 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 52  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 52 Adherent::Reglement Load (0.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 52 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 52 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 22ms (Views: 14.6ms | ActiveRecord: 2.7ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:36 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" = 310) 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", Sat, 24 Aug 2013 13:06:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 310], ["updated_at", Sat, 24 Aug 2013 13:06:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 385 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 385 ORDER BY to_date DESC LIMIT 1  (0.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:06:36 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 385], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:06:36 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 385], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:06:36 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 385 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 385 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 136  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/385/payments" for 127.0.0.1 at 2013-08-24 15:06:36 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"385"} 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", "385"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 385 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53 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: 1.8ms) Started GET "/adherent/payments/53/reglements/new" for 127.0.0.1 at 2013-08-24 15:06:36 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"53"} Organism Load (1.0ms) 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", "53"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 385 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 136 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.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 32ms (Views: 16.3ms | ActiveRecord: 2.9ms)  (0.1ms) ROLLBACK Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN 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 13:06:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:36 UTC +00:00]]  (5.7ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (7.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 311) 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", Sat, 24 Aug 2013 13:06:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 311], ["updated_at", Sat, 24 Aug 2013 13:06:36 UTC +00:00]]  (2.0ms) 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" = 311) 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", Sat, 24 Aug 2013 13:06:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 311], ["updated_at", Sat, 24 Aug 2013 13:06:36 UTC +00:00]]  (0.7ms) COMMIT  (0.0ms) BEGIN Adherent::Member Exists (3.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 311) 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", Sat, 24 Aug 2013 13:06:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 311], ["updated_at", Sat, 24 Aug 2013 13:06:36 UTC +00:00]]  (1.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" = 311) 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", Sat, 24 Aug 2013 13:06:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 311], ["updated_at", Sat, 24 Aug 2013 13:06:36 UTC +00:00]]  (1.1ms) 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" = 311) 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", Sat, 24 Aug 2013 13:06:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 311], ["updated_at", Sat, 24 Aug 2013 13:06:36 UTC +00:00]]  (1.1ms) COMMIT Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 15:06:52 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 311 Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 386 ORDER BY to_date Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 386 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 387 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 387 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 388 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 388 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 389 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 389 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 390 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 390 LIMIT 1 Rendered layouts/adherent/_header.html.haml (0.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 65ms (Views: 31.5ms | ActiveRecord: 26.4ms) Started GET "/assets/adherent/application.css" for 127.0.0.1 at 2013-08-24 15:06:52 +0200 Served asset /adherent/application.css - 200 OK (210ms) Started GET "/assets/adherent/application.js" for 127.0.0.1 at 2013-08-24 15:06:52 +0200 Served asset /adherent/application.js - 200 OK (220ms) Started GET "/assets/adherent/icones/navigation90.png" for 127.0.0.1 at 2013-08-24 15:06:52 +0200 Served asset /adherent/icones/navigation90.png - 200 OK (69ms) Started GET "/assets/adherent/icones/nouveau.png" for 127.0.0.1 at 2013-08-24 15:06:52 +0200 Served asset /adherent/icones/nouveau.png - 200 OK (4ms) Started GET "/assets/adherent/icones/modifier.png" for 127.0.0.1 at 2013-08-24 15:06:52 +0200 Served asset /adherent/icones/modifier.png - 200 OK (2ms) Started GET "/assets/adherent/icones/payment.png" for 127.0.0.1 at 2013-08-24 15:06:52 +0200 Served asset /adherent/icones/payment.png - 200 OK (9ms) Started GET "/assets/adherent/icones/afficher.png" for 127.0.0.1 at 2013-08-24 15:06:52 +0200 Served asset /adherent/icones/afficher.png - 200 OK (3ms) Started GET "/assets/adherent/icones/detail.png" for 127.0.0.1 at 2013-08-24 15:06:52 +0200 Served asset /adherent/icones/detail.png - 200 OK (2ms) Started GET "/assets/adherent/icones/supprimer.png" for 127.0.0.1 at 2013-08-24 15:06:52 +0200 Served asset /adherent/icones/supprimer.png - 200 OK (4ms) Started DELETE "/adherent/members/386" for 127.0.0.1 at 2013-08-24 15:06:55 +0200 Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"386"} Organism Load (4.9ms) 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"."id" = $1 LIMIT 1 [["id", "386"]]  (0.1ms) BEGIN Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 386 LIMIT 1 SQL (9.6ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 386]]  (87.5ms) COMMIT Redirected to http://127.0.0.1:39120/adherent/members Completed 302 Found in 113ms (ActiveRecord: 103.4ms) Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 15:06:55 +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.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 311 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 387 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 387 LIMIT 1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 388 ORDER BY to_date Adherent::Coord Load (1.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 388 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 389 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 389 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 390 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 390 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 36ms (Views: 29.6ms | ActiveRecord: 4.6ms)  (1.0ms) SELECT COUNT(*) FROM "adherent_members"   (29.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (15.3ms) select table_name from information_schema.views where table_schema = 'adh_test'  (488.8ms) TRUNCATE TABLE "adherent_coords", "adherent_adhesions", "adherent_payments", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" 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 (1.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:57 UTC +00:00]]  (2.1ms) 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.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", Sat, 24 Aug 2013 13:06:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:06:57 UTC +00:00]]  (1.2ms) COMMIT  (0.1ms) 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 (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", Sat, 24 Aug 2013 13:06:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:06:57 UTC +00:00]]  (1.2ms) 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.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", Sat, 24 Aug 2013 13:06:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:06:57 UTC +00:00]]  (4.0ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.5ms) 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", Sat, 24 Aug 2013 13:06:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:06:57 UTC +00:00]]  (1.0ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 1) 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", Sat, 24 Aug 2013 13:06:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:06:57 UTC +00:00]]  (1.3ms) COMMIT Adherent::Member Load (0.3ms) 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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date DESC LIMIT 1  (0.1ms) BEGIN 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", #], ["created_at", Sat, 24 Aug 2013 13:06:57 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:06:57 UTC +00:00]]  (1.3ms) COMMIT Started GET "/adherent/members/1/adhesions" for 127.0.0.1 at 2013-08-24 15:06:57 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1"} Organism Load (1.3ms) 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"."id" = $1 LIMIT 1 [["id", "1"]]  (0.4ms) 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.2ms) 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.4ms) Completed 200 OK in 31ms (Views: 20.1ms | ActiveRecord: 5.7ms) Started DELETE "/adherent/members/1/adhesions/1" for 127.0.0.1 at 2013-08-24 15:06:58 +0200 Processing by Adherent::AdhesionsController#destroy as HTML Parameters: {"member_id"=>"1", "id"=>"1"} Organism Load (3.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", "1"]] Adherent::Adhesion Load (13.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]]  (1.1ms) BEGIN SQL (6.3ms) DELETE FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 [["id", 1]]  (110.3ms) COMMIT Redirected to http://127.0.0.1:39120/adherent/members/1/adhesions Completed 302 Found in 156ms (ActiveRecord: 135.6ms) Started GET "/adherent/members/1/adhesions" for 127.0.0.1 at 2013-08-24 15:06:58 +0200 Processing by Adherent::AdhesionsController#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"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 Redirected to http://127.0.0.1:39120/adherent/members/1/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 1.0ms) Started GET "/adherent/members/1/adhesions/new" for 127.0.0.1 at 2013-08-24 15:06:58 +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.2ms) 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.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (6.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 16ms (Views: 9.8ms | ActiveRecord: 1.4ms) Started GET "/assets/adherent/cal.gif" for 127.0.0.1 at 2013-08-24 15:06:58 +0200 Served asset /adherent/cal.gif - 200 OK (86ms)  (1.0ms) SELECT COUNT(*) FROM "adherent_adhesions"   (1.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (136.9ms) TRUNCATE TABLE "adherent_coords", "adherent_adhesions", "adherent_payments", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (0.4ms) 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 (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (8.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:06:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:06:59 UTC +00:00]]  (2.6ms) 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" = 1) LIMIT 1 SQL (2.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", Sat, 24 Aug 2013 13:06:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:06:59 UTC +00:00]]  (0.8ms) 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" = 1) LIMIT 1 SQL (4.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", Sat, 24 Aug 2013 13:06:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:06:59 UTC +00:00]]  (1.1ms) COMMIT  (0.2ms) 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.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", Sat, 24 Aug 2013 13:06:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:06:59 UTC +00:00]]  (1.2ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' 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", Sat, 24 Aug 2013 13:06:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:06:59 UTC +00:00]]  (1.0ms) COMMIT  (0.1ms) 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.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", Sat, 24 Aug 2013 13:06:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:06:59 UTC +00:00]]  (0.8ms) COMMIT Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members"   (0.1ms) BEGIN 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", #], ["created_at", Sat, 24 Aug 2013 13:06:59 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 1], ["mode", "Chèque"], ["updated_at", Sat, 24 Aug 2013 13:06:59 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 1 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date  (2.2ms) COMMIT Started GET "/adherent/members/1/payments" for 127.0.0.1 at 2013-08-24 15:06:59 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1"} Organism Load (0.8ms) 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"]] Adherent::Payment Load (1.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 1 Adherent::Reglement Load (3.6ms) 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  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id 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 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.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 36ms (Views: 21.5ms | ActiveRecord: 11.9ms) Started GET "/assets/adherent/icones/money-plus.png" for 127.0.0.1 at 2013-08-24 15:06:59 +0200 Served asset /adherent/icones/money-plus.png - 200 OK (72ms) Started DELETE "/adherent/members/1/payments/1" for 127.0.0.1 at 2013-08-24 15:07:00 +0200 Processing by Adherent::PaymentsController#destroy as HTML Parameters: {"member_id"=>"1", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] Adherent::Payment Load (4.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 1 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "1"]]  (0.2ms) BEGIN Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1 SQL (8.4ms) DELETE FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 [["id", 1]]  (93.8ms) COMMIT Redirected to http://127.0.0.1:39120/adherent/members/1/payments Completed 302 Found in 154ms (ActiveRecord: 110.8ms) Started GET "/adherent/members/1/payments" for 127.0.0.1 at 2013-08-24 15:07:00 +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 (1.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_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 12ms (Views: 5.6ms | ActiveRecord: 2.2ms)  (1.1ms) SELECT COUNT(*) FROM "adherent_payments"   (2.7ms) 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  (141.4ms) TRUNCATE TABLE "adherent_coords", "adherent_adhesions", "adherent_payments", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (0.9ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (12.8ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (5.7ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.4ms) 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.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", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 13:07:01 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" = 1 Adherent::Adhesion Load (0.8ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 1], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 1], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 1 LIMIT 1 Adherent::Adhesion Load (18.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 2  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 1 SQL (0.8ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 2 SQL (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.3ms) 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", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 2], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 13:07:01 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" = 2 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 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", #], ["created_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 2], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 2], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 2 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 3  (0.4ms) 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" = 3 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", 3], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["payment_id", 2], ["updated_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.3ms) ROLLBACK  (0.0ms) BEGIN 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  (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.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", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 3], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 13:07:01 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" = 3 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 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", #], ["created_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 3], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 13:07:01 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", #], ["created_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 3], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 3 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 5  (2.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 6  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 5 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", 5], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["payment_id", 3], ["updated_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 6 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", 6], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["payment_id", 3], ["updated_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 3  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 3  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.4ms) ROLLBACK  (1.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:01 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" = 7  (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", 7], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 7  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:01 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" = 8  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 8], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:01 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" = 9  (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", 9], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.6ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (4.2ms) 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.0ms) BEGIN Adherent::Member Exists (4.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" IS NULL AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.1ms) ROLLBACK  (1.4ms) BEGIN Adherent::Member Exists (5.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Tue, 06 Jun 1944], ["created_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.0ms) 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.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", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00]]  (0.1ms) RELEASE 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" = 2) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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 Adherent::Adhesion Load (1.7ms) 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.4ms) 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.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", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:07:01 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" = 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.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 7], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:01 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" = 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) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 8 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 8 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", #], ["created_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 8], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 8 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 8 ORDER BY to_date DESC LIMIT 1  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) 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", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:07:01 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" = 9 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 9 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", #], ["created_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 9], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 9 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 9 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1065"} 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", Sat, 24 Aug 2013 13:07:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 1 Completed 200 OK in 38ms (Views: 33.3ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1066"} Organism Load (6.2ms) 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", Sat, 24 Aug 2013 13:07:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 0.9ms | ActiveRecord: 7.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1067"} 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", Sat, 24 Aug 2013 13:07:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 16ms (Views: 11.5ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1069"} 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", Sat, 24 Aug 2013 13:07:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 2.5ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1071"} Organism Load (1.2ms) 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", Sat, 24 Aug 2013 13:07:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.9ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1073"} Organism Load (0.4ms) 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", Sat, 24 Aug 2013 13:07:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1073/coord Completed 302 Found in 12ms (ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1075"} Organism Load (0.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", Sat, 24 Aug 2013 13:07:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1075/coord Completed 302 Found in 12ms (ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1077"} Organism Load (1.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", Sat, 24 Aug 2013 13:07:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 2.3ms | ActiveRecord: 2.1ms)  (2.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1079"} Organism Load (0.2ms) 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", Sat, 24 Aug 2013 13:07:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1081"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1083"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 2.7ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1085"} 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", Sat, 24 Aug 2013 13:07:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1085/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1087"} Organism Load (3.6ms) 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", Sat, 24 Aug 2013 13:07:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.9ms | ActiveRecord: 4.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1090"} Organism Load (1.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", Sat, 24 Aug 2013 13:07:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:03 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 9ms (Views: 2.8ms | ActiveRecord: 2.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1093"} 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", Sat, 24 Aug 2013 13:07:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  Completed 200 OK in 63ms (Views: 1.0ms | ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1096"} Organism Load (0.3ms) 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", Sat, 24 Aug 2013 13:07:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1095/payments Completed 302 Found in 8ms (ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.7ms) 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", Sat, 24 Aug 2013 13:07:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:03 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" = 17) 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", Sat, 24 Aug 2013 13:07:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 17], ["updated_at", Sat, 24 Aug 2013 13:07:03 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/10/adhesions/new" for 127.0.0.1 at 2013-08-24 15:07:03 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"10"} Organism Load (0.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", "10"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 10 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 10 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (7.2ms) 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 21ms (Views: 13.7ms | ActiveRecord: 1.8ms)  (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", Sat, 24 Aug 2013 13:07:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:03 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 18) 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", Sat, 24 Aug 2013 13:07:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 18], ["updated_at", Sat, 24 Aug 2013 13:07:03 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/11/adhesions/new" for 127.0.0.1 at 2013-08-24 15:07:03 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"11"} 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", "11"]] Adherent::Adhesion Load (0.5ms) 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 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 18ms (Views: 10.6ms | ActiveRecord: 1.6ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 11 Started POST "/adherent/members/11/adhesions" for 127.0.0.1 at 2013-08-24 15:07:03 +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"=>"11"} 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", "11"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:03 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 11], ["to_date", Thu, 31 Jul 2014], ["updated_at", Sat, 24 Aug 2013 13:07:03 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/11/adhesions Completed 302 Found in 7ms (ActiveRecord: 1.4ms) Started GET "/adherent/members/11/adhesions" for 127.0.0.1 at 2013-08-24 15:07:03 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"11"} 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", "11"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 11 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 11  (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 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.4ms | ActiveRecord: 1.5ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 11  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (2.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", Sat, 24 Aug 2013 13:07:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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" = 19) 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", Sat, 24 Aug 2013 13:07:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 19], ["updated_at", Sat, 24 Aug 2013 13:07:03 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (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", #], ["created_at", Sat, 24 Aug 2013 13:07:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 12], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 13:07:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/12/adhesions" for 127.0.0.1 at 2013-08-24 15:07:03 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"12"} 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", "12"]]  (0.2ms) SELECT COUNT(*) 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  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 14 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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: 10.0ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (1.0ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Sat, 24 Aug 2013 13:07:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:03 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" = 20) LIMIT 1 SQL (2.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", Sat, 24 Aug 2013 13:07:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 20], ["updated_at", Sat, 24 Aug 2013 13:07:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (0.2ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Sat, 24 Aug 2013 13:07:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 13], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 13:07:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/13/adhesions" for 127.0.0.1 at 2013-08-24 15:07:03 +0200 Processing by Adherent::AdhesionsController#index 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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "13"]]  (0.5ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 13 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 13  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 15 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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 15ms (Views: 9.3ms | ActiveRecord: 1.7ms) Started GET "/adherent/members/13/adhesions/15/edit" for 127.0.0.1 at 2013-08-24 15:07:03 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"13", "id"=>"15"} 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", "13"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 13 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "15"]] 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.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 16ms (Views: 10.7ms | 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 (1.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:03 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" = 'Adh000' AND "adherent_members"."organism_id" = 21) 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", Sat, 24 Aug 2013 13:07:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 21], ["updated_at", Sat, 24 Aug 2013 13:07:03 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (1.6ms) SELECT "adherent_members".* FROM "adherent_members"  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 14], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 13:07:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/14/adhesions" for 127.0.0.1 at 2013-08-24 15:07:03 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"14"} Organism Load (1.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "14"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 14 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 14  (0.2ms) 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 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.2ms | ActiveRecord: 3.5ms) Started GET "/adherent/members/14/payments/new" for 127.0.0.1 at 2013-08-24 15:07:03 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"14"} 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", "14"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 14 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 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.6ms) 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: 10.2ms | ActiveRecord: 1.2ms)  (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.3ms) 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", Sat, 24 Aug 2013 13:07:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.8ms) 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" = 22) 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", Sat, 24 Aug 2013 13:07:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 22], ["updated_at", Sat, 24 Aug 2013 13:07:03 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" = 'Adh001' AND "adherent_members"."organism_id" = 22) 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", Sat, 24 Aug 2013 13:07:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 22], ["updated_at", Sat, 24 Aug 2013 13:07:03 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" = 22) 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", Sat, 24 Aug 2013 13:07:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 22], ["updated_at", Sat, 24 Aug 2013 13:07:03 UTC +00:00]]  (0.4ms) 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" = 15 Adherent::Adhesion Load (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 15], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:03 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 15 Started GET "/adherent/members/15/payments/new" for 127.0.0.1 at 2013-08-24 15:07:03 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"15"} 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", "15"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 15 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 17 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 17 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 18ms (Views: 11.2ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/15/payments" for 127.0.0.1 at 2013-08-24 15:07:03 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"15"} Organism Load (1.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", "15"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 15], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 15 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 15 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 17 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 17 SQL (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["payment_id", 4], ["updated_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/15/adhesions Completed 302 Found in 16ms (ActiveRecord: 3.9ms) Started GET "/adherent/members/15/adhesions" for 127.0.0.1 at 2013-08-24 15:07:04 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"15"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "15"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 15 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 15  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 17 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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 13ms (Views: 7.8ms | ActiveRecord: 2.3ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 15  (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  (1.0ms) 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", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:04 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" = 23) 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", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 23], ["updated_at", Sat, 24 Aug 2013 13:07:04 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" = 23) 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", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 23], ["updated_at", Sat, 24 Aug 2013 13:07:04 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" = 23) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 23], ["updated_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.4ms) 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.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", #], ["created_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 18], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements" Started GET "/adherent/members/18/payments/new" for 127.0.0.1 at 2013-08-24 15:07:04 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"18"} 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", "18"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 18 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 18 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/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 16ms (Views: 10.1ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/18/payments" for 127.0.0.1 at 2013-08-24 15:07:04 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"18"} 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", "18"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 18], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 18 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 18 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 18 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 18 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", 18], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["payment_id", 5], ["updated_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/18/adhesions Completed 302 Found in 15ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/18/adhesions" for 127.0.0.1 at 2013-08-24 15:07:04 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"18"} 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", "18"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 18 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 18  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 18 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 18 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 12ms (Views: 7.9ms | ActiveRecord: 1.8ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"  (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  (2.5ms) 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", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 24) LIMIT 1 SQL (4.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", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 24], ["updated_at", Sat, 24 Aug 2013 13:07:04 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" = 24) 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", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 24], ["updated_at", Sat, 24 Aug 2013 13:07:04 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" = 24) 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", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 24], ["updated_at", Sat, 24 Aug 2013 13:07:04 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" = 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", #], ["created_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 21], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/21/payments/new" for 127.0.0.1 at 2013-08-24 15:07:04 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"21"} Organism Load (0.7ms) 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", "21"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 21 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 (5.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 15ms (Views: 9.2ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/21/payments" for 127.0.0.1 at 2013-08-24 15:07:04 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"21"} 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", "21"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 21], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 21 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 21 ORDER BY to_date  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["payment_id", 6], ["updated_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/21/adhesions Completed 302 Found in 15ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/21/adhesions" for 127.0.0.1 at 2013-08-24 15:07:04 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"21"} 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", "21"]]  (0.2ms) SELECT COUNT(*) 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  (0.3ms) 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 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: 7.8ms | ActiveRecord: 1.7ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 21 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 19  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (1.9ms) 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", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 25) LIMIT 1 SQL (3.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", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 25], ["updated_at", Sat, 24 Aug 2013 13:07:04 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" = 25) 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", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 25], ["updated_at", Sat, 24 Aug 2013 13:07:04 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" = 25) 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", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 25], ["updated_at", Sat, 24 Aug 2013 13:07:04 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" = 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 (1.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 24], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/24/payments/new" for 127.0.0.1 at 2013-08-24 15:07:04 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"24"} 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", "24"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 24 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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 17ms (Views: 10.1ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/24/payments" for 127.0.0.1 at 2013-08-24 15:07:04 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"24"} 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", "24"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 24], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 24 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 24 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20 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", 20], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["payment_id", 7], ["updated_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/24/adhesions Completed 302 Found in 17ms (ActiveRecord: 3.3ms) Started GET "/adherent/members/24/adhesions" for 127.0.0.1 at 2013-08-24 15:07:04 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"24"} 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", "24"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 24 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 24  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20 Rendered layouts/adherent/_header.html.haml (0.4ms) 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: 7.8ms | ActiveRecord: 1.9ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 24 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:04 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" = 'Adh000' AND "adherent_members"."organism_id" = 26) 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", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 26], ["updated_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (5.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" = 26) 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", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 26], ["updated_at", Sat, 24 Aug 2013 13:07:04 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" = 26) 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", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 26], ["updated_at", Sat, 24 Aug 2013 13:07:04 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" = 27 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27 ORDER BY to_date DESC LIMIT 1  (0.8ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 27], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/27/payments/new" for 127.0.0.1 at 2013-08-24 15:07:04 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"27"} Organism Load (0.0ms) 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", "27"]] Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 21 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/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 16ms (Views: 8.8ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/27/payments" for 127.0.0.1 at 2013-08-24 15:07:04 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"27"} 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", "27"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 27], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 27 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 21 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 21 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", 21], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["payment_id", 8], ["updated_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/27/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/27/adhesions" for 127.0.0.1 at 2013-08-24 15:07:04 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"27"} 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", "27"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 21 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 21 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 14ms (Views: 9.8ms | ActiveRecord: 1.6ms) Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 27 ORDER BY "adherent_payments"."id" DESC 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  (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 (0.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:04 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" = 27) 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", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 27], ["updated_at", Sat, 24 Aug 2013 13:07:04 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" = 27) 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", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 27], ["updated_at", Sat, 24 Aug 2013 13:07:04 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" = 27) 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", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 27], ["updated_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (1.4ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30 Adherent::Adhesion Load (1.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", #], ["created_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 30], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/30/payments/new" for 127.0.0.1 at 2013-08-24 15:07:04 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"30"} 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", "30"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30 ORDER BY to_date  (0.3ms) 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 (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.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 20ms (Views: 9.6ms | ActiveRecord: 1.6ms) Started POST "/adherent/members/30/payments" for 127.0.0.1 at 2013-08-24 15:07:04 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"30"} 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", "30"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 30], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 30 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30 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 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", #], ["created_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["payment_id", 9], ["updated_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/30/adhesions Completed 302 Found in 15ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/30/adhesions" for 127.0.0.1 at 2013-08-24 15:07:04 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"30"} 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", "30"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30  (0.3ms) 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 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: 7.9ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 30 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 31 Adherent::Adhesion Load (1.2ms) 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.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", #], ["created_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 31], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.7ms) 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.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", #], ["created_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 32], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:04 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-24 15:07:04 +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.3ms) 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" = 30 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::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" = 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.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 31 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.0ms) 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" = 24 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (15.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 30ms (Views: 19.9ms | ActiveRecord: 3.0ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 22 Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 30 ORDER BY "adherent_payments"."id" DESC LIMIT 1 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.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 (2.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:04 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" = 28) 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", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 28], ["updated_at", Sat, 24 Aug 2013 13:07:04 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" = 28) 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", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 28], ["updated_at", Sat, 24 Aug 2013 13:07:04 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" = 28) 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", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 28], ["updated_at", Sat, 24 Aug 2013 13:07:04 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" = 33 Adherent::Adhesion Load (0.3ms) 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 (1.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 33], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/33/payments/new" for 127.0.0.1 at 2013-08-24 15:07:04 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"33"} 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", "33"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 33 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 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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: 10.0ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/33/payments" for 127.0.0.1 at 2013-08-24 15:07:04 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"33"} 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", "33"]]  (0.5ms) SAVEPOINT active_record_1 SQL (3.4ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 33], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00]] Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 33 LIMIT 1 Adherent::Adhesion Load (4.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 33 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 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", 25], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["payment_id", 10], ["updated_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/33/adhesions Completed 302 Found in 24ms (ActiveRecord: 10.2ms) Started GET "/adherent/members/33/adhesions" for 127.0.0.1 at 2013-08-24 15:07:04 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"33"} 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", "33"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 33 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 33  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 25 CACHE (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 25 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: 8.6ms | ActiveRecord: 1.5ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 33 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 Adherent::Adhesion Load (0.2ms) 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 (1.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:04 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 34], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:04 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" = 35 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.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", #], ["created_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 35], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:05 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-24 15:07:05 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"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::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 33 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::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.2ms) 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" = 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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 34 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" = 35 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 (8.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 24ms (Views: 14.5ms | ActiveRecord: 3.0ms)  (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.5ms) SAVEPOINT active_record_1 SQL (7.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:05 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" = 29) 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", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 29], ["updated_at", Sat, 24 Aug 2013 13:07:05 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" = 'Adh001' AND "adherent_members"."organism_id" = 29) 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", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 29], ["updated_at", Sat, 24 Aug 2013 13:07:05 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" = 29) 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", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 29], ["updated_at", Sat, 24 Aug 2013 13:07:05 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" = 36 Adherent::Adhesion Load (0.2ms) 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 (1.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 36], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/36/payments/new" for 127.0.0.1 at 2013-08-24 15:07:05 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"36"} 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", "36"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 36 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 (6.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 18ms (Views: 10.6ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/36/payments" for 127.0.0.1 at 2013-08-24 15:07:05 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"36"} 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", "36"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 36], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 36 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 36 ORDER BY to_date  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["payment_id", 11], ["updated_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/36/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/36/adhesions" for 127.0.0.1 at 2013-08-24 15:07:05 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"36"} Organism Load (0.9ms) 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", "36"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 36 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 36  (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 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: 8.0ms | ActiveRecord: 2.0ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 36 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.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.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", #], ["created_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 37], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 38 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 38 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", #], ["created_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 38], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:05 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-24 15:07:05 +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" = 36 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 28  (0.0ms) 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.3ms) 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.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 37 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 (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 38 LIMIT 1 CACHE (0.0ms) 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 (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.1ms | ActiveRecord: 3.6ms)  (0.7ms) 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  (2.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", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.9ms) 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" = 30) 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", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 30], ["updated_at", Sat, 24 Aug 2013 13:07:05 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" = 30) 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", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 30], ["updated_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 30) 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", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 30], ["updated_at", Sat, 24 Aug 2013 13:07:05 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" = 39 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39 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", #], ["created_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 39], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/39/payments/new" for 127.0.0.1 at 2013-08-24 15:07:05 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"39"} 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", "39"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39 ORDER BY to_date  (0.4ms) 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.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 17ms (Views: 9.6ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/39/payments" for 127.0.0.1 at 2013-08-24 15:07:05 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"39"} 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", "39"]]  (3.6ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 39], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 39 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39 ORDER BY to_date  (0.6ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["payment_id", 12], ["updated_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/39/adhesions Completed 302 Found in 17ms (ActiveRecord: 6.2ms) Started GET "/adherent/members/39/adhesions" for 127.0.0.1 at 2013-08-24 15:07:05 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"39"} 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", "39"]]  (0.7ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39  (0.3ms) 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 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.9ms | ActiveRecord: 1.8ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 39 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 40 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 40 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", #], ["created_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 40], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:05 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" = 41 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 41 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", #], ["created_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 41], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:05 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-24 15:07:05 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"12"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "12"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 39 LIMIT 1 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 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" = 31  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 32  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 33 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 Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 40 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 32 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 41 LIMIT 1 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/reglements/_form.html.haml (11.0ms) 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 26ms (Views: 14.5ms | ActiveRecord: 4.1ms)  (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.5ms) SAVEPOINT active_record_1 SQL (2.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Adherent::Member Exists (9.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 31) 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", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 31], ["updated_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00]]  (1.0ms) 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" = 'Adh001' AND "adherent_members"."organism_id" = 31) 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", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 31], ["updated_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (4.3ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 31) 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", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 31], ["updated_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 42 Adherent::Adhesion Load (2.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 42 ORDER BY to_date DESC LIMIT 1  (1.6ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 42], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/42/payments/new" for 127.0.0.1 at 2013-08-24 15:07:05 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"42"} Organism Load (0.5ms) 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", "42"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 42 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.0ms) 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 (6.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 18ms (Views: 10.1ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/42/payments" for 127.0.0.1 at 2013-08-24 15:07:05 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"42"} 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", "42"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 42], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 42 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 42 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.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 34 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", 34], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["payment_id", 13], ["updated_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/42/adhesions Completed 302 Found in 15ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/42/adhesions" for 127.0.0.1 at 2013-08-24 15:07:05 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"42"} 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", "42"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 42 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 42  (0.2ms) 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 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: 7.8ms | ActiveRecord: 1.3ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 42 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 43 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 43 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", #], ["created_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 43], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:05 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" = 44 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 44 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", #], ["created_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 44], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/13/reglements/new" for 127.0.0.1 at 2013-08-24 15:07:05 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"13"} 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", "13"]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 42 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 13  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 13 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" = 34  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 35  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36 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 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 43 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 35 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 44 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (13.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 30ms (Views: 17.9ms | ActiveRecord: 3.1ms) Started POST "/adherent/payments/13/reglements" for 127.0.0.1 at 2013-08-24 15:07:05 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"35"}, "commit"=>"Enregistrer", "payment_id"=>"13"} 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", "13"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "35"]] 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  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 35  (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", 35], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["payment_id", 13], ["updated_at", Sat, 24 Aug 2013 13:07:05 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" = 42 LIMIT 1 Redirected to http://www.example.com/adherent/members/42/payments Completed 302 Found in 12ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/42/payments" for 127.0.0.1 at 2013-08-24 15:07:05 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"42"} 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", "42"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 42 Adherent::Reglement Load (0.3ms) 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" = 35 LIMIT 1 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"."id" = 34 LIMIT 1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 42 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 13  (0.2ms) 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.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.0ms) Completed 200 OK in 24ms (Views: 20.0ms | ActiveRecord: 3.0ms)  (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  (2.6ms) 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", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (2.0ms) 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" = 32) 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", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 32], ["updated_at", Sat, 24 Aug 2013 13:07:05 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" = 'Adh001' AND "adherent_members"."organism_id" = 32) 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", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 32], ["updated_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 32) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 32], ["updated_at", Sat, 24 Aug 2013 13:07:05 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" = 45 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 45 ORDER BY to_date DESC LIMIT 1  (2.9ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 45], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/45/payments/new" for 127.0.0.1 at 2013-08-24 15:07:05 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"45"} Organism Load (3.0ms) 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", "45"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 45 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (10.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 28ms (Views: 15.9ms | ActiveRecord: 3.9ms) Started POST "/adherent/members/45/payments" for 127.0.0.1 at 2013-08-24 15:07:05 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"45"} 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", "45"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 45], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 45 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 45 ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37 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", #], ["created_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["payment_id", 14], ["updated_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/45/adhesions Completed 302 Found in 12ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/45/adhesions" for 127.0.0.1 at 2013-08-24 15:07:05 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"45"} Organism Load (0.5ms) 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"."id" = $1 LIMIT 1 [["id", "45"]]  (0.5ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 45 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 45  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37 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.8ms | ActiveRecord: 2.5ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 45 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 46 Adherent::Adhesion Load (0.2ms) 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.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", #], ["created_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 46], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:05 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" = 47 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 47 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", #], ["created_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 47], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/14/reglements/new" for 127.0.0.1 at 2013-08-24 15:07:05 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"14"} 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", "14"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 45 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::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" = 37  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 38  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 39 Adherent::Reglement Load (5.9ms) 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 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 46 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 38 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 47 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 39 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 94ms (Views: 78.1ms | ActiveRecord: 8.8ms) Started POST "/adherent/payments/14/reglements" for 127.0.0.1 at 2013-08-24 15:07:06 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"38"}, "commit"=>"Enregistrer", "payment_id"=>"14"} 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", "14"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "38"]] 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  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 38  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 38], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["payment_id", 14], ["updated_at", Sat, 24 Aug 2013 13:07:06 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" = 45 LIMIT 1 Redirected to http://www.example.com/adherent/members/45/payments Completed 302 Found in 9ms (ActiveRecord: 2.0ms) Started GET "/adherent/members/45/payments" for 127.0.0.1 at 2013-08-24 15:07:06 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"45"} 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", "45"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 45 Adherent::Reglement Load (0.1ms) 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" = 38 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 46 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 37 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 45 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 17ms (Views: 13.2ms | ActiveRecord: 2.6ms) Adherent::Adhesion Load (0.6ms) 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" = 38  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 38  (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.0ms) SAVEPOINT active_record_1 SQL (3.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 33) 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", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 33], ["updated_at", Sat, 24 Aug 2013 13:07:06 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" = 'Adh001' AND "adherent_members"."organism_id" = 33) 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", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 33], ["updated_at", Sat, 24 Aug 2013 13:07:06 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" = 33) LIMIT 1 SQL (1.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", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 33], ["updated_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 48 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 48 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", #], ["created_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 48], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/48/payments/new" for 127.0.0.1 at 2013-08-24 15:07:06 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"48"} 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", "48"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 48 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 40 CACHE (0.0ms) 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.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: 8.7ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/48/payments" for 127.0.0.1 at 2013-08-24 15:07:06 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"48"} Organism Load (0.4ms) 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", "48"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 48], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 48 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 48 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 40 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 40 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", 40], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["payment_id", 15], ["updated_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/48/adhesions Completed 302 Found in 14ms (ActiveRecord: 3.3ms) Started GET "/adherent/members/48/adhesions" for 127.0.0.1 at 2013-08-24 15:07:06 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"48"} 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", "48"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 48 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 48  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 40 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 40 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 11ms (Views: 6.8ms | ActiveRecord: 1.9ms) Adherent::Payment Load (1.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 48 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 49 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 49 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", #], ["created_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 49], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) 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.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", #], ["created_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 50], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/15/reglements/new" for 127.0.0.1 at 2013-08-24 15:07:06 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"15"} 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", "15"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 48 LIMIT 1 Adherent::Reglement Load (0.4ms) 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::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" = 40  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 41  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 42 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 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 49 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 41 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 50 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 42 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 24ms (Views: 12.9ms | ActiveRecord: 3.4ms) Started POST "/adherent/payments/15/reglements" for 127.0.0.1 at 2013-08-24 15:07:06 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"41"}, "commit"=>"Enregistrer", "payment_id"=>"15"} 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", "15"]] Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "41"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 15  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id 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"."adhesion_id" = 41  (0.2ms) 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", 41], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["payment_id", 15], ["updated_at", Sat, 24 Aug 2013 13:07:06 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" = 48 LIMIT 1 Redirected to http://www.example.com/adherent/members/48/payments Completed 302 Found in 11ms (ActiveRecord: 3.1ms) Started GET "/adherent/members/48/payments" for 127.0.0.1 at 2013-08-24 15:07:06 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"48"} 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", "48"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 48 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" = 41 LIMIT 1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 49 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 40 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 48 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.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 19ms (Views: 13.8ms | ActiveRecord: 3.0ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 40 LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 48 LIMIT 1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00]]  (0.2ms) 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" = 34) 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", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 34], ["updated_at", Sat, 24 Aug 2013 13:07:06 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" = 'Adh001' AND "adherent_members"."organism_id" = 34) 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", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 34], ["updated_at", Sat, 24 Aug 2013 13:07:06 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" = 34) 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", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 34], ["updated_at", Sat, 24 Aug 2013 13:07:06 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" = 51 Adherent::Adhesion Load (0.3ms) 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.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", #], ["created_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 51], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/51/payments/new" for 127.0.0.1 at 2013-08-24 15:07:06 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"51"} 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", "51"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 51 ORDER BY to_date  (0.2ms) 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 /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.8ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/51/payments" for 127.0.0.1 at 2013-08-24 15:07:06 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "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"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 51], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:06 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.2ms) 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 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", 43], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["payment_id", 16], ["updated_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/51/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/51/adhesions" for 127.0.0.1 at 2013-08-24 15:07:06 +0200 Processing by Adherent::AdhesionsController#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"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 51 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 51  (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.1ms) Completed 200 OK in 12ms (Views: 8.1ms | ActiveRecord: 1.3ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 51 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 52 Adherent::Adhesion Load (0.3ms) 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.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", #], ["created_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 52], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:06 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" = 53 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 53 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", #], ["created_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 53], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/16/reglements/new" for 127.0.0.1 at 2013-08-24 15:07:06 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"16"} 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", "16"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 51 LIMIT 1 Adherent::Reglement Load (0.2ms) 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::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 43  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 44  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 45 Adherent::Reglement Load (0.3ms) 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 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 52 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 44 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 53 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 45 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 24ms (Views: 13.2ms | ActiveRecord: 2.9ms) Started POST "/adherent/payments/16/reglements" for 127.0.0.1 at 2013-08-24 15:07:06 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"44"}, "commit"=>"Enregistrer", "payment_id"=>"16"} 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", "16"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "44"]] 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  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 44  (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", 44], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["payment_id", 16], ["updated_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 51 LIMIT 1 Redirected to http://www.example.com/adherent/members/51/payments Completed 302 Found in 10ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/51/payments" for 127.0.0.1 at 2013-08-24 15:07:06 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"51"} 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", "51"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 51 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" = 44 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 52 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 43 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 51 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.3ms) 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 24ms (Views: 19.4ms | ActiveRecord: 2.9ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" ORDER BY "adherent_reglements"."id" DESC LIMIT 1 Adherent::Adhesion Load (3.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 44 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 52 LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) 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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:06 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" = 35) 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", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 35], ["updated_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00]]  (0.2ms) 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" = 'Adh001' AND "adherent_members"."organism_id" = 35) 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", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 35], ["updated_at", Sat, 24 Aug 2013 13:07:06 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" = 35) 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", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 35], ["updated_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00]]  (0.2ms) 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" = 54 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 54 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", #], ["created_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 54], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/54/payments/new" for 127.0.0.1 at 2013-08-24 15:07:06 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"54"} 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", "54"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 54 ORDER BY to_date  (0.3ms) 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 /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (66.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 78ms (Views: 70.4ms | ActiveRecord: 1.0ms) Started POST "/adherent/members/54/payments" for 127.0.0.1 at 2013-08-24 15:07:06 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"54"} 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", "54"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 54], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 54 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 54 ORDER BY to_date  (0.2ms) 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 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", 46], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["payment_id", 17], ["updated_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/54/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/54/adhesions" for 127.0.0.1 at 2013-08-24 15:07:06 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"54"} 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", "54"]]  (0.8ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 54 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 54  (0.3ms) 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 13ms (Views: 8.2ms | ActiveRecord: 1.9ms) Adherent::Payment Load (1.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 54 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 55 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 55 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", #], ["created_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 55], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 56 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 56 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", #], ["created_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 56], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/17/reglements/new" for 127.0.0.1 at 2013-08-24 15:07:06 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"17"} Organism Load (0.5ms) 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", "17"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 54 LIMIT 1 Adherent::Reglement Load (0.2ms) 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::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" = 46  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 47  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 48 Adherent::Reglement Load (0.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 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 55 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 47 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 56 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 48 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 25ms (Views: 13.9ms | ActiveRecord: 3.9ms) Started POST "/adherent/payments/17/reglements" for 127.0.0.1 at 2013-08-24 15:07:06 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"47"}, "commit"=>"Enregistrer", "payment_id"=>"17"} 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", "17"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "47"]] Adherent::Reglement Load (0.4ms) 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  (1.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 47  (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", 47], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["payment_id", 17], ["updated_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 54 LIMIT 1 Redirected to http://www.example.com/adherent/members/54/payments Completed 302 Found in 12ms (ActiveRecord: 3.5ms) Started GET "/adherent/members/54/payments" for 127.0.0.1 at 2013-08-24 15:07:06 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"54"} 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", "54"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 54 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 17 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 47 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 55 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 46 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 54 LIMIT 1 Adherent::Reglement Load (1.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 17  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 17 Adherent::Reglement Load (0.2ms) 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 (1.4ms) 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 20ms (Views: 14.8ms | ActiveRecord: 3.4ms) Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* 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  (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", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (1.3ms) 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" = 36) 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", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 36], ["updated_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 36) 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", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 36], ["updated_at", Sat, 24 Aug 2013 13:07:06 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" = 36) 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", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 36], ["updated_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 57 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 57 ORDER BY to_date DESC LIMIT 1  (0.5ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 57], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/57/payments/new" for 127.0.0.1 at 2013-08-24 15:07:06 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"57"} 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", "57"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 57 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 49 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 49 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 16ms (Views: 10.1ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/57/payments" for 127.0.0.1 at 2013-08-24 15:07:06 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"57"} 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", "57"]]  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 57], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 57 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 57 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 49 CACHE (0.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["payment_id", 18], ["updated_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/57/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/57/adhesions" for 127.0.0.1 at 2013-08-24 15:07:06 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"57"} 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", "57"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 57 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 57  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 49 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 49 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.6ms | ActiveRecord: 1.1ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 57 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 49  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) COMMIT  (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", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:06 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" = 37) 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", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 37], ["updated_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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" = 37) LIMIT 1 SQL (5.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", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 37], ["updated_at", Sat, 24 Aug 2013 13:07:06 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" = 37) 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", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 37], ["updated_at", Sat, 24 Aug 2013 13:07:06 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" = 60 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 60 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", #], ["created_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 60], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/60/payments/new" for 127.0.0.1 at 2013-08-24 15:07:06 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"60"} 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", "60"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 60 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 50 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 50 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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 16ms (Views: 9.0ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/60/payments" for 127.0.0.1 at 2013-08-24 15:07:06 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"60"} 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", "60"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:07 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 60], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:07 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 60 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 60 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 50 CACHE (0.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:07 UTC +00:00], ["payment_id", 19], ["updated_at", Sat, 24 Aug 2013 13:07:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/60/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/60/adhesions" for 127.0.0.1 at 2013-08-24 15:07:07 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"60"} 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", "60"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 60 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 60  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 50 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 50 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: 7.9ms | ActiveRecord: 1.4ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 60 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 50  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 50  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1002"} Organism Load (1.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (29.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/new.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 96ms (Views: 38.8ms | ActiveRecord: 41.9ms)  (1.6ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1005"} Organism Load (0.6ms) 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", Sat, 24 Aug 2013 13:07:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:38 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 6ms (Views: 1.9ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1008"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.6ms) 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 13:07:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1007/payments Completed 302 Found in 7ms (ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} 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", Sat, 24 Aug 2013 13:07:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 67ms (Views: 63.2ms | ActiveRecord: 0.8ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Sat, 24 Aug 2013 13:07:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:38 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 1.8ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} 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", Sat, 24 Aug 2013 13:07:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 18ms (Views: 13.7ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) 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", Sat, 24 Aug 2013 13:07:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.8ms)  (0.1ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 45) 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", Sat, 24 Aug 2013 13:07:38 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 45], ["updated_at", Sat, 24 Aug 2013 13:07:38 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/63/coord/new Completed 302 Found in 106ms (ActiveRecord: 5.4ms)  (0.4ms) ROLLBACK  (0.0ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:38 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" = 'A001' AND "adherent_members"."organism_id" = 46) 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", Sat, 24 Aug 2013 13:07:38 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 46], ["updated_at", Sat, 24 Aug 2013 13:07:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/64/coord/new Completed 302 Found in 9ms (ActiveRecord: 1.7ms)  (0.1ms) 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.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", Sat, 24 Aug 2013 13:07:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:38 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" = 'A001' AND "adherent_members"."organism_id" = 47) 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", Sat, 24 Aug 2013 13:07:38 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 47], ["updated_at", Sat, 24 Aug 2013 13:07:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/65/coord/new Completed 302 Found in 73ms (ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.0ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 2.2ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 49 Completed 200 OK in 17ms (Views: 12.3ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) 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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1013"} 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", Sat, 24 Aug 2013 13:07:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.0ms) ROLLBACK  (0.8ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1014"} 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", Sat, 24 Aug 2013 13:07:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1015"} 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", Sat, 24 Aug 2013 13:07:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1016"} 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", Sat, 24 Aug 2013 13:07:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1016 Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1017"} Organism Load (0.3ms) 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", Sat, 24 Aug 2013 13:07:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1017 Completed 302 Found in 5ms (ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1018"} 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", Sat, 24 Aug 2013 13:07:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1018 Completed 302 Found in 8ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML 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", Sat, 24 Aug 2013 13:07:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (1.2ms) 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", Sat, 24 Aug 2013 13:07:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:38 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" = 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", Sat, 24 Aug 2013 13:07:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 58], ["updated_at", Sat, 24 Aug 2013 13:07:38 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/66/adhesions/new" for 127.0.0.1 at 2013-08-24 15:07:38 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"66"} 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"."id" = $1 LIMIT 1 [["id", "66"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 66 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 66 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (67.7ms) Rendered layouts/adherent/_header.html.haml (0.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 203ms (Views: 185.0ms | ActiveRecord: 2.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.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:39 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" = 59) 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", Sat, 24 Aug 2013 13:07:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 59], ["updated_at", Sat, 24 Aug 2013 13:07:39 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/67/adhesions/new" for 127.0.0.1 at 2013-08-24 15:07:39 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"67"} 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", "67"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 67 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 67 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.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.2ms) Completed 200 OK in 15ms (Views: 8.9ms | ActiveRecord: 1.1ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 67 Started POST "/adherent/members/67/adhesions" for 127.0.0.1 at 2013-08-24 15:07:39 +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"=>"67"} 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", "67"]]  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:39 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 67], ["to_date", Thu, 31 Jul 2014], ["updated_at", Sat, 24 Aug 2013 13:07:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/67/adhesions Completed 302 Found in 9ms (ActiveRecord: 1.5ms) Started GET "/adherent/members/67/adhesions" for 127.0.0.1 at 2013-08-24 15:07:39 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"67"} 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", "67"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 67 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 67  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 51 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 51 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 49ms (Views: 42.5ms | ActiveRecord: 3.4ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 67  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.5ms) 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 13:07:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:39 UTC +00:00]]  (1.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" = 60) 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", Sat, 24 Aug 2013 13:07:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 60], ["updated_at", Sat, 24 Aug 2013 13:07:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:39 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 68], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 13:07:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/68/adhesions" for 127.0.0.1 at 2013-08-24 15:07:39 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"68"} 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", "68"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 68 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 68  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 52 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 52 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 16ms (Views: 10.6ms | ActiveRecord: 1.6ms)  (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", Sat, 24 Aug 2013 13:07:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:39 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" = 61) 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", Sat, 24 Aug 2013 13:07:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 61], ["updated_at", Sat, 24 Aug 2013 13:07:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:39 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 69], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 13:07:39 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/69/adhesions" for 127.0.0.1 at 2013-08-24 15:07:39 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"69"} 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", "69"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 69 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 69  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 53 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 53 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: 11.7ms | ActiveRecord: 2.4ms) Started GET "/adherent/members/69/adhesions/53/edit" for 127.0.0.1 at 2013-08-24 15:07:39 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"69", "id"=>"53"} 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", "69"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 69 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "53"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (6.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 26ms (Views: 22.5ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:39 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" = 'Adh000' AND "adherent_members"."organism_id" = 62) 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", Sat, 24 Aug 2013 13:07:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 62], ["updated_at", Sat, 24 Aug 2013 13:07:39 UTC +00:00]]  (2.9ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members"   (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", #], ["created_at", Sat, 24 Aug 2013 13:07:39 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 70], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 13:07:39 UTC +00:00]]  (4.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/70/adhesions" for 127.0.0.1 at 2013-08-24 15:07:39 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"70"} 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", "70"]]  (0.9ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 70 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 70  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 54 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 54 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 13ms (Views: 8.4ms | ActiveRecord: 2.2ms) Started GET "/adherent/members/70/payments/new" for 127.0.0.1 at 2013-08-24 15:07:39 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"70"} 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", "70"]] Adherent::Adhesion Load (2.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 70 ORDER BY to_date  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 54 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 54 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (12.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 62ms (Views: 36.9ms | ActiveRecord: 4.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1019", "id"=>"1"} Organism Load (0.1ms) 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", Sat, 24 Aug 2013 13:07:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.4ms | ActiveRecord: 1.2ms)  (1.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1023", "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", Sat, 24 Aug 2013 13:07:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:39 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 2.0ms | ActiveRecord: 0.9ms)  (0.0ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1025", "id"=>"1"} 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", Sat, 24 Aug 2013 13:07:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 1.7ms)  (0.0ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1027"} 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", Sat, 24 Aug 2013 13:07:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1029"} 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", Sat, 24 Aug 2013 13:07:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 2.7ms | ActiveRecord: 0.8ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1030"} 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", Sat, 24 Aug 2013 13:07:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1031"} 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", Sat, 24 Aug 2013 13:07:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1031/adhesions Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1033"} 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", Sat, 24 Aug 2013 13:07:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1033/adhesions Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (1.2ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "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.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1037", "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", Sat, 24 Aug 2013 13:07:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1039", "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", Sat, 24 Aug 2013 13:07:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1039/payments/1040 Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1041", "id"=>"1"} 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1043", "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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1043/payments/1044 Completed 302 Found in 6ms (ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1045"} Organism Load (0.8ms) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 2.9ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"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.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1049"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 19ms (Views: 14.9ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1051"} 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 1.2ms)  (0.3ms) ROLLBACK  (0.6ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1053"} Organism Load (6.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.7ms) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 30ms (Views: 11.3ms | ActiveRecord: 7.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 82 Completed 200 OK in 9ms (Views: 1.2ms | ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#index as HTML Parameters: {"member_id"=>"1056"} Organism Load (0.3ms) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1057"} Organism Load (0.8ms) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1057/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1059"} Organism Load (0.0ms) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1061"} Organism Load (0.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.1ms | ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1063"} 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1063/coord Completed 302 Found in 6ms (ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1065"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.0ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1067"} 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1067/coord Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.3ms) 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 (0.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 90) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 90], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 90], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 90) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 90], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 90) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 90], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 90) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 90], ["updated_at", Sat, 24 Aug 2013 13:07:40 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-24 15:07:40 +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" = 90 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 71 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 71 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 72 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 72 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 73 ORDER BY to_date Adherent::Coord Load (0.3ms) 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.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 75 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 75 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 54ms (Views: 45.5ms | ActiveRecord: 5.8ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 91], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 91) LIMIT 1 SQL (1.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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 91], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 91], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 91) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 91], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 91], ["updated_at", Sat, 24 Aug 2013 13:07:40 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-24 15:07:40 +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" = 91 Adherent::Adhesion Load (0.8ms) 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 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 77 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 77 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 78 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 78 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 79 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 79 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 80 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 80 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 31ms (Views: 24.2ms | ActiveRecord: 4.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 92) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 92], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 92) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 92], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 92) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 92], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 92) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 92], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 92) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 92], ["updated_at", Sat, 24 Aug 2013 13:07:40 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-24 15:07:40 +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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 92 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 81 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 81 LIMIT 1 Adherent::Adhesion Load (0.3ms) 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.5ms) 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.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 84 LIMIT 1 Adherent::Adhesion Load (3.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 85 ORDER BY to_date Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 85 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 88ms (Views: 75.6ms | ActiveRecord: 8.0ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 81 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 81 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", #], ["created_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 81], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/81/adhesions" for 127.0.0.1 at 2013-08-24 15:07:40 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"81"} Organism Load (1.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", "81"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 81 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 81  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 55 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 55 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: 7.3ms | ActiveRecord: 2.1ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.5ms) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:40 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.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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 93], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 93) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 93], ["updated_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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" = 93) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 93], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 93) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 93], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 93) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 93], ["updated_at", Sat, 24 Aug 2013 13:07:40 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-24 15:07:40 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.9ms) 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" = 93 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 86 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 86 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 87 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 87 LIMIT 1 Adherent::Adhesion Load (0.3ms) 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 (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 89 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 89 LIMIT 1 Adherent::Adhesion Load (0.7ms) 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 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 33ms (Views: 24.4ms | ActiveRecord: 4.6ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 86], ["office", nil], ["tel", nil], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 86 LIMIT 1 Started GET "/adherent/members/86/coord" for 127.0.0.1 at 2013-08-24 15:07:40 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"86"} 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", "86"]] Adherent::Coord Load (0.2ms) 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 9ms (Views: 5.1ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 94) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 94], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 94) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 94], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 94) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 94], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 94) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 94], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 94) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 94], ["updated_at", Sat, 24 Aug 2013 13:07:40 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-24 15:07:40 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.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" = 94 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 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 92 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 92 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 93 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 93 LIMIT 1 Adherent::Adhesion Load (0.3ms) 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.3ms) 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 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: 24.5ms | ActiveRecord: 4.6ms) Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/91/payments" for 127.0.0.1 at 2013-08-24 15:07:40 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"91"} 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", "91"]] Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 91 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 11ms (Views: 8.1ms | ActiveRecord: 1.1ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 95) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 95], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 95) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 95], ["updated_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00]]  (0.0ms) 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" = 95) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 95], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 'Adh003' AND "adherent_members"."organism_id" = 95) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 95], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 95) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 95], ["updated_at", Sat, 24 Aug 2013 13:07:40 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-24 15:07:40 +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" = 95 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 Adherent::Adhesion Load (0.3ms) 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 98 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 98 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 99 ORDER BY to_date Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 99 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 100 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 100 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 33ms (Views: 25.9ms | ActiveRecord: 4.0ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/96/coord" for 127.0.0.1 at 2013-08-24 15:07:40 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"96"} 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", "96"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 96 LIMIT 1 Redirected to http://www.example.com/adherent/members/96/coord/new Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET "/adherent/members/96/coord/new" for 127.0.0.1 at 2013-08-24 15:07:40 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"96"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "96"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 96 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 39ms (Views: 34.9ms | ActiveRecord: 1.7ms)  (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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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" = 96) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 96], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 96) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 96], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 96) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 96], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 96) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 96], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" = 96) 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", Sat, 24 Aug 2013 13:07:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 96], ["updated_at", Sat, 24 Aug 2013 13:07:40 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" for 127.0.0.1 at 2013-08-24 15:07:40 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.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" = 96 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 101 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 101 LIMIT 1 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.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 102 LIMIT 1 Adherent::Adhesion Load (0.3ms) 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.4ms) 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 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: 24.9ms | ActiveRecord: 4.6ms) Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-24 15:07:40 +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 (7.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 14ms (Views: 12.0ms | ActiveRecord: 0.3ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:41 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" = 'Adh000' AND "adherent_members"."organism_id" = 97) 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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 97], ["updated_at", Sat, 24 Aug 2013 13:07:41 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" = 97) 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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 97], ["updated_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00]]  (0.0ms) 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" = 97) 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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 97], ["updated_at", Sat, 24 Aug 2013 13:07:41 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" = 97) 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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 97], ["updated_at", Sat, 24 Aug 2013 13:07:41 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" = 97) 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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 97], ["updated_at", Sat, 24 Aug 2013 13:07:41 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-24 15:07:41 +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 (2.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 97 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 106 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 106 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 107 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 107 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 108 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 108 LIMIT 1 Adherent::Adhesion Load (7.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 109 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 109 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 110 ORDER BY to_date Adherent::Coord Load (9.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 110 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 132ms (Views: 108.5ms | ActiveRecord: 21.1ms) Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/106/edit" for 127.0.0.1 at 2013-08-24 15:07:41 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"106"} 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", "106"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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 14ms (Views: 11.8ms | ActiveRecord: 0.5ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:41 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" = 98) 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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 98], ["updated_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 98) 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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 98], ["updated_at", Sat, 24 Aug 2013 13:07:41 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" = 98) 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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 98], ["updated_at", Sat, 24 Aug 2013 13:07:41 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" = 98) 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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 98], ["updated_at", Sat, 24 Aug 2013 13:07:41 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" = 'Adh004' AND "adherent_members"."organism_id" = 98) LIMIT 1 SQL (2.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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 98], ["updated_at", Sat, 24 Aug 2013 13:07:41 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-24 15:07:41 +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" = 98 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 111 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 111 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 112 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 112 LIMIT 1 Adherent::Adhesion Load (1.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 113 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 113 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 114 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 114 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 115 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 115 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 29ms (Views: 22.0ms | ActiveRecord: 4.6ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/111/adhesions" for 127.0.0.1 at 2013-08-24 15:07:41 +0200 Processing by Adherent::AdhesionsController#index 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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "111"]]  (1.0ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 111 Redirected to http://www.example.com/adherent/members/111/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 1.5ms) Started GET "/adherent/members/111/adhesions/new" for 127.0.0.1 at 2013-08-24 15:07:41 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"111"} 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", "111"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 111 Adherent::Adhesion Load (0.3ms) 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.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 14ms (Views: 8.7ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (1.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:41 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" = 99) 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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 99], ["updated_at", Sat, 24 Aug 2013 13:07:41 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" = 99) 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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 99], ["updated_at", Sat, 24 Aug 2013 13:07:41 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" = 'Adh002' AND "adherent_members"."organism_id" = 99) 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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 99], ["updated_at", Sat, 24 Aug 2013 13:07:41 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" = 99) 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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 99], ["updated_at", Sat, 24 Aug 2013 13:07:41 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" = 99) 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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 99], ["updated_at", Sat, 24 Aug 2013 13:07:41 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/new" for 127.0.0.1 at 2013-08-24 15:07:41 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (0.8ms) 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.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: 8.8ms | ActiveRecord: 0.8ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_members"  Started POST "/adherent/members" for 127.0.0.1 at 2013-08-24 15:07:41 +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.4ms) 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" = 99) 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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 99], ["updated_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/121/coord/new Completed 302 Found in 7ms (ActiveRecord: 1.5ms) Started GET "/adherent/members/121/coord/new" for 127.0.0.1 at 2013-08-24 15:07:41 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"121"} Organism Load (0.0ms) 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", "121"]] Adherent::Coord Load (0.2ms) 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 (7.5ms) Rendered layouts/adherent/_header.html.haml (0.6ms) 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 14ms (Views: 10.9ms | ActiveRecord: 0.4ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  (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.0ms) 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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:07:41 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", #], ["created_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 122], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 13:07:41 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" = 122 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 122 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", #], ["created_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 122], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 122], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 122 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 122 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 56  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 57  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 56 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 56], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["payment_id", 20], ["updated_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) 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.0ms) 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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:07:41 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", #], ["created_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 123], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 13:07:41 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" = 123 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 123 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", #], ["created_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 123], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 13:07:41 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", #], ["created_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 123], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 123 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 123 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) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 59  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 58 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", 58], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["payment_id", 21], ["updated_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 59 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", 59], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["payment_id", 21], ["updated_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.1ms) 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.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:07:41 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", #], ["created_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 124], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 13:07:41 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" = 124 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 124 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 124], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 13:07:41 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", #], ["created_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 124], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 124 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 124 ORDER BY to_date  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 60  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 61  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 60 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", 60], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["payment_id", 22], ["updated_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 61 SQL (1.0ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 61], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["payment_id", 22], ["updated_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22  (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.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (0.1ms) ROLLBACK  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:41 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" = 100) 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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 100], ["updated_at", Sat, 24 Aug 2013 13:07:41 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/125/coord/new" for 127.0.0.1 at 2013-08-24 15:07:41 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"125"} 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", "125"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 125 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.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 16ms (Views: 11.8ms | ActiveRecord: 0.9ms) Started POST "/adherent/members/125/coord" for 127.0.0.1 at 2013-08-24 15:07:41 +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"=>"125"} 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", "125"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 125 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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 125], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/125/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 1.5ms) Started GET "/adherent/members/125/adhesions/new" for 127.0.0.1 at 2013-08-24 15:07:41 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"125"} 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", "125"]] Adherent::Adhesion Load (0.2ms) 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 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 16ms (Views: 8.5ms | ActiveRecord: 1.5ms) Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 125 LIMIT 1  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:41 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" = 101) 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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 101], ["updated_at", Sat, 24 Aug 2013 13:07:41 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/126/coord/new" for 127.0.0.1 at 2013-08-24 15:07:41 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"126"} Organism Load (0.1ms) 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", "126"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 126 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (64.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 72ms (Views: 68.2ms | ActiveRecord: 1.2ms)  (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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:41 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" = 102) 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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 102], ["updated_at", Sat, 24 Aug 2013 13:07:41 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/127/coord/new" for 127.0.0.1 at 2013-08-24 15:07:41 +0200 Processing by Adherent::CoordsController#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.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "127"]] Adherent::Coord Load (0.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 127 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (9.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: 13.6ms | ActiveRecord: 2.2ms) Started POST "/adherent/members/127/coord" for 127.0.0.1 at 2013-08-24 15:07:41 +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"=>"127"} 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", "127"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 127 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 127], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/127/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 1.4ms) Started GET "/adherent/members/127/adhesions/new" for 127.0.0.1 at 2013-08-24 15:07:41 +0200 Processing by Adherent::AdhesionsController#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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "127"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 127 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 127 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 (4.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)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Organism Load (5.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.9ms) 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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 103) 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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 103], ["updated_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members/128/coord/new" for 127.0.0.1 at 2013-08-24 15:07:41 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"128"} Organism Load (1.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "128"]] Adherent::Coord Load (3.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 128 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (10.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 26ms (Views: 13.5ms | ActiveRecord: 5.8ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_coords"  Started POST "/adherent/members/128/coord" for 127.0.0.1 at 2013-08-24 15:07:41 +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"=>"128"} 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", "128"]] Adherent::Coord Load (1.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 128 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 128], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/128/adhesions/new Completed 302 Found in 9ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/128/adhesions/new" for 127.0.0.1 at 2013-08-24 15:07:41 +0200 Processing by Adherent::AdhesionsController#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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "128"]] 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 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 14ms (Views: 8.3ms | ActiveRecord: 1.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 62  (0.6ms) 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", 62], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 13:07:41 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" = 62  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 62  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 63  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 63], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 63  (0.1ms) ROLLBACK  (0.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:41 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" = 64  (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", 64], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1072", "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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1074", "id"=>"1"} 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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1076"} 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", Sat, 24 Aug 2013 13:07:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1078"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1078/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1080"} 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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1080/adhesions Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1082"} Organism Load (1.0ms) 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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1084"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.5ms) 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 13:07:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1084/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 1.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1085"} 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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1086"} Organism Load (0.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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1087", "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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1089", "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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1089/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"=>"1091", "id"=>"1"} Organism Load (0.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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1093", "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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1093/adhesions Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (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.0ms) 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.0ms) BEGIN Adherent::Member Exists (0.9ms) 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.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  (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.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", Tue, 06 Jun 1944], ["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.1ms) RELEASE 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  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) 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.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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 2) LIMIT 1  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) 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.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.0ms) 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.0ms) BEGIN  (0.2ms) 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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 132 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 132 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", #], ["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 132], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:42 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" = 132 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 132 ORDER BY to_date DESC LIMIT 1  (0.3ms) ROLLBACK  (0.2ms) 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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:07:42 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" = 133 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 133 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 133], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:42 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" = 133 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 133 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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:07:42 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" = 134 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 134 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", #], ["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 134], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 134 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 134 ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 117) 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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 117], ["updated_at", Sat, 24 Aug 2013 13:07:42 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" = 135 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 135 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", #], ["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 135], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/135/payments/new" for 127.0.0.1 at 2013-08-24 15:07:42 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"135"} 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", "135"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 135 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 68 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.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.0ms)  (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.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 118) 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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 118], ["updated_at", Sat, 24 Aug 2013 13:07:42 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.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 136 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 136 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 136], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/136/payments/new" for 127.0.0.1 at 2013-08-24 15:07:42 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"136"} 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", "136"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 136 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 69 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.5ms) Completed 200 OK in 15ms (Views: 10.0ms | ActiveRecord: 1.1ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 136 Started POST "/adherent/members/136/payments" for 127.0.0.1 at 2013-08-24 15:07:42 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"136"} 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", "136"]]  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 136], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 136 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 136 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 69  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/136/adhesions Completed 302 Found in 11ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/136/adhesions" for 127.0.0.1 at 2013-08-24 15:07:42 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"136"} 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", "136"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 136 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 136  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 69 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 69 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: 7.8ms | ActiveRecord: 1.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 136  (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.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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 119) 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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 119], ["updated_at", Sat, 24 Aug 2013 13:07:42 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.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 137 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 137 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", #], ["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 137], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:42 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", #], ["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 137], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 137 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 137 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 70  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/137/payments" for 127.0.0.1 at 2013-08-24 15:07:42 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"137"} 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", "137"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 137 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 24 Adherent::Reglement Load (0.2ms) 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.2ms) 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 15ms (Views: 10.4ms | ActiveRecord: 1.8ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 120) 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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 120], ["updated_at", Sat, 24 Aug 2013 13:07:42 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.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 138 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 138 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", #], ["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 138], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:42 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", #], ["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 138], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 138 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 138 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 71  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/138/payments" for 127.0.0.1 at 2013-08-24 15:07:42 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"138"} Organism Load (0.3ms) 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", "138"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 138 Adherent::Reglement Load (0.2ms) 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.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 15ms (Views: 10.5ms | ActiveRecord: 2.0ms) Started GET "/adherent/payments/25/reglements/new" for 127.0.0.1 at 2013-08-24 15:07:42 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"25"} 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", "25"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 138 LIMIT 1 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::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" = 71 Adherent::Reglement Load (0.1ms) 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 /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_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.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 30ms (Views: 22.7ms | ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (4.5ms) ROLLBACK  (0.1ms) BEGIN  (1.6ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' 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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.1ms) 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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 139], ["office", nil], ["tel", nil], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 139 LIMIT 1  (1.6ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 5]] SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 139]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.6ms) 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" = 121) 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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 121], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 121) 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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 121], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 121) 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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 121], ["updated_at", Sat, 24 Aug 2013 13:07:42 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" = 140 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 140 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", #], ["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 140], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/140/payments/new" for 127.0.0.1 at 2013-08-24 15:07:42 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"140"} 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", "140"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 140 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 72 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 72 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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.5ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/140/payments" for 127.0.0.1 at 2013-08-24 15:07:42 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"140"} 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", "140"]]  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 140], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 140 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 140 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 72 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 72 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", 72], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["payment_id", 26], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/140/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/140/adhesions" for 127.0.0.1 at 2013-08-24 15:07:42 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"140"} 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", "140"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 140 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 140  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 72 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 72 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.0ms | ActiveRecord: 1.3ms) Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 140 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 72  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.7ms) 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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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" = 122) 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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 122], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 'Adh001' AND "adherent_members"."organism_id" = 122) 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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 122], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 122) 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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 122], ["updated_at", Sat, 24 Aug 2013 13:07:42 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" = 143 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 143 ORDER BY to_date DESC LIMIT 1  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 143], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/143/payments/new" for 127.0.0.1 at 2013-08-24 15:07:42 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"143"} 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", "143"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 143 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 73 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 73 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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.0ms) Completed 200 OK in 18ms (Views: 9.2ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/143/payments" for 127.0.0.1 at 2013-08-24 15:07:42 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"143"} 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", "143"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 143], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 143 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 143 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 73 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 73 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", 73], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["payment_id", 27], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/143/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/143/adhesions" for 127.0.0.1 at 2013-08-24 15:07:42 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"143"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "143"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 143 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 143  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 73 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 73 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: 7.7ms | ActiveRecord: 2.3ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 143 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 73  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 73  (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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 123) 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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 123], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 123) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 123], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 'Adh002' AND "adherent_members"."organism_id" = 123) 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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 123], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 146 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 146 ORDER BY to_date DESC LIMIT 1  (1.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 146], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  Started GET "/adherent/members/146/payments/new" for 127.0.0.1 at 2013-08-24 15:07:42 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"146"} 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", "146"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 146 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 74 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 74 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 18ms (Views: 8.8ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/146/payments" for 127.0.0.1 at 2013-08-24 15:07:42 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"146"} 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", "146"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 146], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 146 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 146 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 74 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 74 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", 74], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["payment_id", 28], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/146/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/146/adhesions" for 127.0.0.1 at 2013-08-24 15:07:42 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"146"} 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", "146"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 146 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 146  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 74 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 74 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.2ms | ActiveRecord: 1.4ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (1.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 124) 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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 124], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 'Adh001' AND "adherent_members"."organism_id" = 124) 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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 124], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 124) 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", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 124], ["updated_at", Sat, 24 Aug 2013 13:07:42 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" = 149 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 149 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", #], ["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 149], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 149 Started GET "/adherent/members/149/payments/new" for 127.0.0.1 at 2013-08-24 15:07:42 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"149"} 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", "149"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 149 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 75 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 75 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.0ms) Completed 200 OK in 18ms (Views: 8.9ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/149/payments" for 127.0.0.1 at 2013-08-24 15:07:42 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"149"} 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", "149"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 149], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 149 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 149 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 75 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 75 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 75], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00], ["payment_id", 29], ["updated_at", Sat, 24 Aug 2013 13:07:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/149/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/149/adhesions" for 127.0.0.1 at 2013-08-24 15:07:42 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"149"} 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", "149"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 149 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 149  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 75 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 75 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 11ms (Views: 7.1ms | ActiveRecord: 1.6ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 149  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 'Adh000' AND "adherent_members"."organism_id" = 125) 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", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 125], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 'Adh001' AND "adherent_members"."organism_id" = 125) 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", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 125], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 125) 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", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 125], ["updated_at", Sat, 24 Aug 2013 13:07:43 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" = 152 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 152 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", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 152], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/152/payments/new" for 127.0.0.1 at 2013-08-24 15:07:43 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"152"} 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", "152"]] Adherent::Adhesion Load (3.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 152 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 76 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 76 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 19ms (Views: 8.6ms | ActiveRecord: 4.7ms) Started POST "/adherent/members/152/payments" for 127.0.0.1 at 2013-08-24 15:07:43 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"152"} 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", "152"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 152], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 152 LIMIT 1 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 152 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 76 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 76 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", 76], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["payment_id", 30], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/152/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/152/adhesions" for 127.0.0.1 at 2013-08-24 15:07:43 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"152"} 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", "152"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 152 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 152  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 76 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 76 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 12ms (Views: 7.7ms | ActiveRecord: 1.5ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 152 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 76  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (0.0ms) 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" = 126) 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", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 126], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 'Adh001' AND "adherent_members"."organism_id" = 126) 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", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 126], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 126) 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", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 126], ["updated_at", Sat, 24 Aug 2013 13:07:43 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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 155 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 155 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", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 155], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/155/payments/new" for 127.0.0.1 at 2013-08-24 15:07:43 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"155"} 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", "155"]] Adherent::Adhesion Load (1.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 155 ORDER BY to_date  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 77 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 77 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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 19ms (Views: 8.7ms | ActiveRecord: 3.1ms) Started POST "/adherent/members/155/payments" for 127.0.0.1 at 2013-08-24 15:07:43 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"155"} 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", "155"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 155], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 155 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 155 ORDER BY to_date  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 77 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 77 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", 77], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["payment_id", 31], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/155/adhesions Completed 302 Found in 12ms (ActiveRecord: 2.1ms) Started GET "/adherent/members/155/adhesions" for 127.0.0.1 at 2013-08-24 15:07:43 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"155"} 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", "155"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 155 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 155  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 77 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 77 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 22ms (Views: 17.8ms | ActiveRecord: 1.5ms) Adherent::Payment Load (2.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 155 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (5.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 156 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 156 ORDER BY to_date DESC LIMIT 1  (1.5ms) SAVEPOINT active_record_1 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", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 156], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (3.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 157 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 157 ORDER BY to_date DESC LIMIT 1  (1.8ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 157], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/31/reglements/new" for 127.0.0.1 at 2013-08-24 15:07:43 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"31"} 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", "31"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 155 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31  (1.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31 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" = 77  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 78  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 79 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 156 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 78 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 157 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 79 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (69.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 86ms (Views: 73.7ms | ActiveRecord: 4.8ms)  (0.4ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 'Adh000' AND "adherent_members"."organism_id" = 127) 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", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 127], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 127) 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", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 127], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 127) 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", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 127], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 158 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 158 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", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 158], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/158/payments/new" for 127.0.0.1 at 2013-08-24 15:07:43 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"158"} 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", "158"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 158 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.3ms) 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 17ms (Views: 9.3ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/158/payments" for 127.0.0.1 at 2013-08-24 15:07:43 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"158"} Organism Load (0.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", "158"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 158], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 158 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 158 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 SQL (0.1ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 80], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["payment_id", 32], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/158/adhesions Completed 302 Found in 16ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/158/adhesions" for 127.0.0.1 at 2013-08-24 15:07:43 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"158"} 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", "158"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 158 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 158  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 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: 8.7ms | ActiveRecord: 1.7ms) Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 158 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 159 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 159 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", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 159], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:43 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" = 160 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 160 ORDER BY to_date DESC LIMIT 1  (0.6ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 160], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/32/reglements/new" for 127.0.0.1 at 2013-08-24 15:07:43 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"32"} 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", "32"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 158 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32 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" = 80  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 81  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 82 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32 CACHE (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 159 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 81 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 160 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 82 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 24ms (Views: 12.9ms | ActiveRecord: 3.9ms) Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 158 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 158 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (1.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 'Adh000' AND "adherent_members"."organism_id" = 128) 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", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 128], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 'Adh001' AND "adherent_members"."organism_id" = 128) 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", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 128], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 'Adh002' AND "adherent_members"."organism_id" = 128) 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", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 128], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (0.3ms) 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" = 161 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 161 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", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 161], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/161/payments/new" for 127.0.0.1 at 2013-08-24 15:07:43 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"161"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "161"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 161 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 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.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 17ms (Views: 8.2ms | ActiveRecord: 2.0ms) Started POST "/adherent/members/161/payments" for 127.0.0.1 at 2013-08-24 15:07:43 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"161"} 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", "161"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 161], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 161 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 161 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 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", 83], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["payment_id", 33], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/161/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/161/adhesions" for 127.0.0.1 at 2013-08-24 15:07:43 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"161"} 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", "161"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 161 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 161  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 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 11ms (Views: 7.2ms | ActiveRecord: 1.2ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 161 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 162 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 162 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", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 162], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:43 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" = 163 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 163 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", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 163], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/33/reglements/new" for 127.0.0.1 at 2013-08-24 15:07:43 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"33"} 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", "33"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 161 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 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" = 83  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 84  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 85 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 162 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 84 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 163 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 85 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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.0ms) Completed 200 OK in 23ms (Views: 12.8ms | ActiveRecord: 3.1ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 129) 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", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 129], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 129) 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", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 129], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 'Adh002' AND "adherent_members"."organism_id" = 129) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 129], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (0.2ms) 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" = 164 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 164 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", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 164], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/164/payments/new" for 127.0.0.1 at 2013-08-24 15:07:43 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"164"} Organism Load (1.0ms) 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", "164"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 164 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 86 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 86 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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 20ms (Views: 11.2ms | ActiveRecord: 1.9ms) Started POST "/adherent/members/164/payments" for 127.0.0.1 at 2013-08-24 15:07:43 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"164"} 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", "164"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 164], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 164 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 164 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 86 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 86 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", 86], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["payment_id", 34], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/164/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/164/adhesions" for 127.0.0.1 at 2013-08-24 15:07:43 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"164"} Organism Load (0.5ms) 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", "164"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 164 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 164  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 86 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 86 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: 1.3ms) Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 164 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 165 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 165 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", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 165], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 166 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 166 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", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 166], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/34/reglements/new" for 127.0.0.1 at 2013-08-24 15:07:43 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"34"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (1.0ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "34"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 164 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 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" = 86  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 87  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 88 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 165 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 87 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 166 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 88 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 23ms (Views: 13.3ms | ActiveRecord: 3.8ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 'Adh000' AND "adherent_members"."organism_id" = 130) 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", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 130], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 'Adh001' AND "adherent_members"."organism_id" = 130) 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", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 130], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 130) 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", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 130], ["updated_at", Sat, 24 Aug 2013 13:07:43 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" = 167 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 167 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 167], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/167/payments/new" for 127.0.0.1 at 2013-08-24 15:07:43 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"167"} 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", "167"]] Adherent::Adhesion Load (1.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 167 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 89 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 89 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 19ms (Views: 9.6ms | ActiveRecord: 2.6ms) Started POST "/adherent/members/167/payments" for 127.0.0.1 at 2013-08-24 15:07:43 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"167"} 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", "167"]]  (0.6ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 167], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]] Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 167 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 167 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 89 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 89 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", 89], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["payment_id", 35], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/167/adhesions Completed 302 Found in 14ms (ActiveRecord: 3.5ms) Started GET "/adherent/members/167/adhesions" for 127.0.0.1 at 2013-08-24 15:07:43 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"167"} 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", "167"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 167 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 167  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 89 CACHE (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 89 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: 10.0ms | ActiveRecord: 2.1ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 167 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 168 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 168 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 168], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 169 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 169 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", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 169], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (1.3ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/35/reglements/new" for 127.0.0.1 at 2013-08-24 15:07:43 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"35"} 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", "35"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 167 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 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" = 89  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 90  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 91 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 168 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 90 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 169 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 91 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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.0ms) Completed 200 OK in 23ms (Views: 13.1ms | ActiveRecord: 3.0ms) Started POST "/adherent/payments/35/reglements" for 127.0.0.1 at 2013-08-24 15:07:43 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"90"}, "commit"=>"Enregistrer", "payment_id"=>"35"} 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", "35"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "90"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 90  (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", 90], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["payment_id", 35], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 167 LIMIT 1 Redirected to http://www.example.com/adherent/members/167/payments Completed 302 Found in 10ms (ActiveRecord: 2.1ms) Started GET "/adherent/members/167/payments" for 127.0.0.1 at 2013-08-24 15:07:43 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"167"} 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", "167"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 167 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 90 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 168 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 89 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 167 LIMIT 1 Adherent::Reglement Load (0.9ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 Adherent::Reglement Load (0.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 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: 18.4ms | ActiveRecord: 3.9ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 89 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 167 LIMIT 1  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (1.1ms) 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", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 'Adh000' AND "adherent_members"."organism_id" = 131) 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", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 131], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 'Adh001' AND "adherent_members"."organism_id" = 131) 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", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 131], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 131) 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", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 131], ["updated_at", Sat, 24 Aug 2013 13:07:43 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" = 170 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 170 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", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 170], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/170/payments/new" for 127.0.0.1 at 2013-08-24 15:07:43 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"170"} 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", "170"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 170 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92 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 16ms (Views: 9.4ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/170/payments" for 127.0.0.1 at 2013-08-24 15:07:43 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"170"} 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", "170"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 170], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 170 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 170 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92 SQL (1.0ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 92], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00], ["payment_id", 36], ["updated_at", Sat, 24 Aug 2013 13:07:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/170/adhesions Completed 302 Found in 18ms (ActiveRecord: 3.2ms) Started GET "/adherent/members/170/adhesions" for 127.0.0.1 at 2013-08-24 15:07:43 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"170"} 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", "170"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 170 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 170  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92 CACHE (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92 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 14ms (Views: 8.2ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 170 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 171 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 171 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", #], ["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 171], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:44 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" = 172 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 172 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", #], ["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 172], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/36/reglements/new" for 127.0.0.1 at 2013-08-24 15:07:44 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"36"} 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", "36"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 170 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 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" = 92  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 93  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 94 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 171 LIMIT 1 CACHE (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 93 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 172 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 94 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 24ms (Views: 12.1ms | ActiveRecord: 4.3ms) Started POST "/adherent/payments/36/reglements" for 127.0.0.1 at 2013-08-24 15:07:44 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"93"}, "commit"=>"Enregistrer", "payment_id"=>"36"} 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", "36"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "93"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 93  (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", 93], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["payment_id", 36], ["updated_at", Sat, 24 Aug 2013 13:07:44 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" = 170 LIMIT 1 Redirected to http://www.example.com/adherent/members/170/payments Completed 302 Found in 11ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/170/payments" for 127.0.0.1 at 2013-08-24 15:07:44 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"170"} 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", "170"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 170 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 93 LIMIT 1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 171 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 92 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 170 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 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.3ms) Completed 200 OK in 24ms (Views: 19.4ms | ActiveRecord: 3.1ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (3.5ms) 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" = 132) 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", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 132], ["updated_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.8ms) 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" = 132) 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", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 132], ["updated_at", Sat, 24 Aug 2013 13:07:44 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" = 'Adh002' AND "adherent_members"."organism_id" = 132) 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", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 132], ["updated_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 173 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 173 ORDER BY to_date DESC LIMIT 1  (1.3ms) SAVEPOINT active_record_1 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", #], ["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 173], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/173/payments/new" for 127.0.0.1 at 2013-08-24 15:07:44 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"173"} 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", "173"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 173 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 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.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.2ms) Completed 200 OK in 17ms (Views: 10.9ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/173/payments" for 127.0.0.1 at 2013-08-24 15:07:44 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"173"} 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", "173"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 173], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 173 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 173 ORDER BY to_date  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 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", 95], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["payment_id", 37], ["updated_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/173/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/173/adhesions" for 127.0.0.1 at 2013-08-24 15:07:44 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"173"} 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", "173"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 173 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 173  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 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: 6.7ms | ActiveRecord: 1.3ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 173 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 174 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 174 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", #], ["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 174], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:44 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" = 175 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 175 ORDER BY to_date DESC LIMIT 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", #], ["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 175], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/37/reglements/new" for 127.0.0.1 at 2013-08-24 15:07:44 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"37"} 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", "37"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 173 LIMIT 1 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 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" = 95  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 97 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 174 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 175 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 97 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 28ms (Views: 15.6ms | ActiveRecord: 3.5ms) Started POST "/adherent/payments/37/reglements" for 127.0.0.1 at 2013-08-24 15:07:44 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"96"}, "commit"=>"Enregistrer", "payment_id"=>"37"} 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", "37"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "96"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96  (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", 96], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["payment_id", 37], ["updated_at", Sat, 24 Aug 2013 13:07:44 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" = 173 LIMIT 1 Redirected to http://www.example.com/adherent/members/173/payments Completed 302 Found in 9ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/173/payments" for 127.0.0.1 at 2013-08-24 15:07:44 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"173"} 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", "173"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 173 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 96 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 174 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 95 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 173 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 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 18ms (Views: 13.5ms | ActiveRecord: 3.1ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" ORDER BY "adherent_reglements"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 96 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 174 LIMIT 1  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 'Adh000' AND "adherent_members"."organism_id" = 133) 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", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 133], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 133) 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", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 133], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 'Adh002' AND "adherent_members"."organism_id" = 133) 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", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 133], ["updated_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (6.9ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 176 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 176 ORDER BY to_date DESC LIMIT 1  (0.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", #], ["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 176], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/176/payments/new" for 127.0.0.1 at 2013-08-24 15:07:44 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"176"} 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", "176"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 176 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 98 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 98 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 17ms (Views: 9.4ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/176/payments" for 127.0.0.1 at 2013-08-24 15:07:44 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"176"} Organism Load (2.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", "176"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 176], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 176 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 176 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 98 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 98 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", 98], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["payment_id", 38], ["updated_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/176/adhesions Completed 302 Found in 16ms (ActiveRecord: 5.1ms) Started GET "/adherent/members/176/adhesions" for 127.0.0.1 at 2013-08-24 15:07:44 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"176"} 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", "176"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 176 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 176  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 98 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 98 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.1ms | ActiveRecord: 1.3ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 176 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 177 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 177 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", #], ["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 177], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:44 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" = 178 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 178 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", #], ["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 178], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/38/reglements/new" for 127.0.0.1 at 2013-08-24 15:07:44 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"38"} Organism Load (0.5ms) 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", "38"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 176 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 98  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 99  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 100 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 177 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 99 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 178 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 100 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.1ms) 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.0ms) Completed 200 OK in 25ms (Views: 12.3ms | ActiveRecord: 3.5ms) Started POST "/adherent/payments/38/reglements" for 127.0.0.1 at 2013-08-24 15:07:44 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"99"}, "commit"=>"Enregistrer", "payment_id"=>"38"} 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", "38"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "99"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 99  (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", 99], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["payment_id", 38], ["updated_at", Sat, 24 Aug 2013 13:07:44 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" = 176 LIMIT 1 Redirected to http://www.example.com/adherent/members/176/payments Completed 302 Found in 10ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/176/payments" for 127.0.0.1 at 2013-08-24 15:07:44 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"176"} 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", "176"]] Adherent::Payment Load (0.9ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 176 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 99 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 177 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 98 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 176 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38 Rendered layouts/adherent/_header.html.haml (0.4ms) 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.2ms) Completed 200 OK in 19ms (Views: 13.8ms | ActiveRecord: 3.2ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 'Adh000' AND "adherent_members"."organism_id" = 134) 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", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 134], ["updated_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 134) 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", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 134], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 'Adh002' AND "adherent_members"."organism_id" = 134) 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", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 134], ["updated_at", Sat, 24 Aug 2013 13:07:44 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" = 179 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 179 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", #], ["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 179], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/179/payments/new" for 127.0.0.1 at 2013-08-24 15:07:44 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"179"} Organism Load (0.9ms) 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", "179"]] Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 179 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 101 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 101 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 19ms (Views: 8.6ms | ActiveRecord: 2.7ms) Started POST "/adherent/members/179/payments" for 127.0.0.1 at 2013-08-24 15:07:44 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"179"} 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", "179"]]  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 179], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 179 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 179 ORDER BY to_date  (1.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 101 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 101 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", 101], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["payment_id", 39], ["updated_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/179/adhesions Completed 302 Found in 17ms (ActiveRecord: 4.3ms) Started GET "/adherent/members/179/adhesions" for 127.0.0.1 at 2013-08-24 15:07:44 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"179"} 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", "179"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 179 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 179  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 101 CACHE (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 101 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 11ms (Views: 7.1ms | ActiveRecord: 1.8ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 179 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 180 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 180 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.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", #], ["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 180], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:44 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" = 181 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 181 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", #], ["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 181], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/39/reglements/new" for 127.0.0.1 at 2013-08-24 15:07:44 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"39"} 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", "39"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 179 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 101  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 102  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 103 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39 Adherent::Member Load (1.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 180 LIMIT 1 CACHE (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 102 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 181 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 103 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 23ms (Views: 12.2ms | ActiveRecord: 4.3ms) Started POST "/adherent/payments/39/reglements" for 127.0.0.1 at 2013-08-24 15:07:44 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"102"}, "commit"=>"Enregistrer", "payment_id"=>"39"} 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", "39"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "102"]] Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 102  (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", 102], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["payment_id", 39], ["updated_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 179 LIMIT 1 Redirected to http://www.example.com/adherent/members/179/payments Completed 302 Found in 10ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/179/payments" for 127.0.0.1 at 2013-08-24 15:07:44 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"179"} Organism Load (0.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", "179"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 179 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 102 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 180 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 101 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 179 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39 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: 12.8ms | ActiveRecord: 2.8ms) Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 180 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 102  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 102  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.2ms) BEGIN 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", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07:44 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" = 'Adh000' AND "adherent_members"."organism_id" = 135) 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", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 135], ["updated_at", Sat, 24 Aug 2013 13:07:44 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" = 'Adh001' AND "adherent_members"."organism_id" = 135) 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", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 135], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 'Adh002' AND "adherent_members"."organism_id" = 135) 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", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 135], ["updated_at", Sat, 24 Aug 2013 13:07:44 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" = 182 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 182 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", #], ["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 182], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/182/payments/new" for 127.0.0.1 at 2013-08-24 15:07:44 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"182"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "182"]] Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 182 ORDER BY to_date  (1.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 104 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 104 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (13.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 39ms (Views: 25.7ms | ActiveRecord: 4.1ms) Started POST "/adherent/members/182/payments" for 127.0.0.1 at 2013-08-24 15:07:44 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"182"} 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", "182"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 182], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 182 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 182 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 104 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 104 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 104], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["payment_id", 40], ["updated_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/182/adhesions Completed 302 Found in 16ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/182/adhesions" for 127.0.0.1 at 2013-08-24 15:07:44 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"182"} 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", "182"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 182 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 182  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 104 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 104 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.1ms | ActiveRecord: 1.7ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 182 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 104  (0.1ms) ROLLBACK  (0.3ms) 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 (0.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 136) 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", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 136], ["updated_at", Sat, 24 Aug 2013 13:07: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" = 136) 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", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 136], ["updated_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 136) 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", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 136], ["updated_at", Sat, 24 Aug 2013 13:07:44 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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 185 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 185 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", #], ["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 185], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/185/payments/new" for 127.0.0.1 at 2013-08-24 15:07:44 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"185"} 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", "185"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 185 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 105 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 105 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.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 75ms (Views: 67.0ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/185/payments" for 127.0.0.1 at 2013-08-24 15:07:44 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"185"} 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", "185"]]  (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", #], ["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 185], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 185 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 185 ORDER BY to_date  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 105 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 105 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", 105], ["amount", #], ["created_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00], ["payment_id", 41], ["updated_at", Sat, 24 Aug 2013 13:07:44 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/185/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/185/adhesions" for 127.0.0.1 at 2013-08-24 15:07:44 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"185"} 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", "185"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 185 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 185  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 105 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 105 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 14ms (Views: 8.8ms | ActiveRecord: 1.9ms) Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 185 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 41  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 41  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (270.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", #], ["created_at", Sat, 24 Aug 2013 15:38:52 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:38:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (42.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 106  (0.1ms) SAVEPOINT active_record_1 SQL (22.0ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 106], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:38:53 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 15:38:53 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" = 106  (0.4ms) ROLLBACK  (0.0ms) BEGIN  (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", #], ["created_at", Sat, 24 Aug 2013 15:38:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:38:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 107  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 107], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:38:53 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 15:38:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 15:38:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:38:53 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" = 108  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 108], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:38:53 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 15:38:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 108  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 108  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.8ms) ROLLBACK  (0.0ms) BEGIN  (1.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (3.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Sat, 24 Aug 2013 15:38:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:53 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" = 137) LIMIT 1 SQL (1.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", Sat, 24 Aug 2013 15:38:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 137], ["updated_at", Sat, 24 Aug 2013 15:38:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  (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", #], ["created_at", Sat, 24 Aug 2013 15:38:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 188], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 15:38:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/188/adhesions" for 127.0.0.1 at 2013-08-24 17:38:54 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"188"} 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", "188"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 188 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 188  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 109 CACHE (5.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 109 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (49.5ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.3ms) Completed 200 OK in 281ms (Views: 269.0ms | ActiveRecord: 7.0ms)  (1.9ms) ROLLBACK  (0.1ms) BEGIN Organism Load (2.0ms) 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", Sat, 24 Aug 2013 15:38:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:55 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" = 138) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 15:38:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 138], ["updated_at", Sat, 24 Aug 2013 15:38:55 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (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", #], ["created_at", Sat, 24 Aug 2013 15:38:55 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 189], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 15:38:55 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/189/adhesions" for 127.0.0.1 at 2013-08-24 17:38:55 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"189"} 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", "189"]]  (1.0ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 189 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 189  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 110 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 110 Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 26ms (Views: 16.8ms | ActiveRecord: 2.6ms) Started GET "/adherent/members/189/payments/new" for 127.0.0.1 at 2013-08-24 17:38:55 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"189"} 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", "189"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 189 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 110 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 110 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (272.6ms) 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 376ms (Views: 343.9ms | ActiveRecord: 3.9ms)  (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 (0.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:38:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:55 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" = 139) 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", Sat, 24 Aug 2013 15:38:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 139], ["updated_at", Sat, 24 Aug 2013 15:38:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (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", #], ["created_at", Sat, 24 Aug 2013 15:38:55 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 190], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 15:38:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/190/adhesions" for 127.0.0.1 at 2013-08-24 17:38:55 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"190"} Organism Load (2.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", "190"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 190 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 190  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 111 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 111 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.1ms | ActiveRecord: 3.4ms) Started GET "/adherent/members/190/adhesions/111/edit" for 127.0.0.1 at 2013-08-24 17:38:55 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"190", "id"=>"111"} 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", "190"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 190 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "111"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (12.7ms) 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 89ms (Views: 82.1ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN 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", Sat, 24 Aug 2013 15:38:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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" = 140) 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", Sat, 24 Aug 2013 15:38:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 140], ["updated_at", Sat, 24 Aug 2013 15:38:55 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/191/adhesions/new" for 127.0.0.1 at 2013-08-24 17:38:55 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"191"} 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", "191"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 191 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 191 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (9.1ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 35ms (Views: 29.6ms | ActiveRecord: 1.0ms)  (0.9ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 191 Started POST "/adherent/members/191/adhesions" for 127.0.0.1 at 2013-08-24 17:38:55 +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"=>"191"} Organism Load (1.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", "191"]]  (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", #], ["created_at", Sat, 24 Aug 2013 15:38:55 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 191], ["to_date", Thu, 31 Jul 2014], ["updated_at", Sat, 24 Aug 2013 15:38:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/191/adhesions Completed 302 Found in 17ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/191/adhesions" for 127.0.0.1 at 2013-08-24 17:38:55 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"191"} 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", "191"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 191 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 191  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 112 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 112 Rendered layouts/adherent/_header.html.haml (2.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 21ms (Views: 15.5ms | ActiveRecord: 2.4ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 191  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.4ms) 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", Sat, 24 Aug 2013 15:38:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:56 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" = 'Adh000' AND "adherent_members"."organism_id" = 141) 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", Sat, 24 Aug 2013 15:38:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 141], ["updated_at", Sat, 24 Aug 2013 15:38:56 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/192/adhesions/new" for 127.0.0.1 at 2013-08-24 17:38:56 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"192"} 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", "192"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 192 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 192 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 19ms (Views: 12.4ms | ActiveRecord: 1.2ms)  (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" = 'Adh1' 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", Sat, 24 Aug 2013 15:38:56 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:38:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (124.5ms) 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", Sat, 24 Aug 2013 15:38:56 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 193], ["office", nil], ["tel", nil], ["updated_at", Sat, 24 Aug 2013 15:38:56 UTC +00:00], ["zip", 59000]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 193 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 6]] SQL (0.2ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 193]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1006", "id"=>"1"} Organism Load (0.6ms) 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", Sat, 24 Aug 2013 15:38:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 38ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1008", "id"=>"1"} Organism Load (0.0ms) 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", Sat, 24 Aug 2013 15:38:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1010"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:38:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1010/adhesions Completed 302 Found in 10ms (ActiveRecord: 2.2ms)  (0.0ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1012"} Organism Load (1.1ms) 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", Sat, 24 Aug 2013 15:38:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 2.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1014"} Organism Load (0.5ms) 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", Sat, 24 Aug 2013 15:38:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1014/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.2ms)  (0.0ms) ROLLBACK  (0.3ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1016", "id"=>"1"} 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", Sat, 24 Aug 2013 15:38:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1016/payments/1017 Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1018", "id"=>"1"} Organism Load (1.1ms) 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", Sat, 24 Aug 2013 15:38:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1020", "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.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:38:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1020/payments/1021 Completed 302 Found in 5ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1022", "id"=>"1"} Organism Load (0.4ms) 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", Sat, 24 Aug 2013 15:38:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (1.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1024"} 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", Sat, 24 Aug 2013 15:38:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:56 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (2.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1026", "id"=>"1"} Organism Load (6.0ms) 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", Sat, 24 Aug 2013 15:38:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 13ms  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1028", "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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:38:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1030"} Organism Load (0.3ms) 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", Sat, 24 Aug 2013 15:38:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 62ms (Views: 56.1ms | ActiveRecord: 1.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1031"} 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", Sat, 24 Aug 2013 15:38:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.2ms | 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 (1.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:38:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:56 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" = 156) 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", Sat, 24 Aug 2013 15:38:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 156], ["updated_at", Sat, 24 Aug 2013 15:38:56 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/194/coord/new" for 127.0.0.1 at 2013-08-24 17:38:56 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"194"} Organism Load (1.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", "194"]] Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 194 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (23.2ms) 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.2ms) Completed 200 OK in 74ms (Views: 66.8ms | ActiveRecord: 1.4ms)  (0.1ms) 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 (1.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:38:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:56 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" = 'Adh000' AND "adherent_members"."organism_id" = 157) 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", Sat, 24 Aug 2013 15:38:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 157], ["updated_at", Sat, 24 Aug 2013 15:38:56 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/195/coord/new" for 127.0.0.1 at 2013-08-24 17:38:56 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"195"} Organism Load (0.3ms) 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", "195"]] Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 195 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (18.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 37ms (Views: 22.1ms | ActiveRecord: 1.6ms) Started POST "/adherent/members/195/coord" for 127.0.0.1 at 2013-08-24 17:38:56 +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"=>"195"} 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", "195"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 195 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", Sat, 24 Aug 2013 15:38:56 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 195], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 15:38:56 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/195/adhesions/new Completed 302 Found in 13ms (ActiveRecord: 1.7ms) Started GET "/adherent/members/195/adhesions/new" for 127.0.0.1 at 2013-08-24 17:38:56 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"195"} Organism Load (1.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", "195"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 195 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 195 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 21ms (Views: 11.5ms | ActiveRecord: 2.1ms) Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 195 LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 158) 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", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 158], ["updated_at", Sat, 24 Aug 2013 15:38:57 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/196/coord/new" for 127.0.0.1 at 2013-08-24 17:38:57 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"196"} 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", "196"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 196 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (14.4ms) 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: 18.8ms | ActiveRecord: 0.7ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_coords" Started POST "/adherent/members/196/coord" for 127.0.0.1 at 2013-08-24 17:38:57 +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"=>"196"} 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", "196"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 196 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 196], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/196/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 1.6ms) Started GET "/adherent/members/196/adhesions/new" for 127.0.0.1 at 2013-08-24 17:38:57 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"196"} 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", "196"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 196 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 196 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (67.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 77ms (Views: 72.6ms | ActiveRecord: 0.9ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.4ms) 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:38:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:57 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" = 159) 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", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 159], ["updated_at", Sat, 24 Aug 2013 15:38:57 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/197/coord/new" for 127.0.0.1 at 2013-08-24 17:38:57 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"197"} Organism Load (0.9ms) 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", "197"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 197 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (13.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: 17.1ms | ActiveRecord: 1.6ms) Started POST "/adherent/members/197/coord" for 127.0.0.1 at 2013-08-24 17:38:57 +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"=>"197"} 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", "197"]] Adherent::Coord Load (1.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 197 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 197], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/197/adhesions/new Completed 302 Found in 10ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/197/adhesions/new" for 127.0.0.1 at 2013-08-24 17:38:57 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"197"} 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", "197"]] Adherent::Adhesion Load (2.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 197 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 197 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 23ms (Views: 10.0ms | ActiveRecord: 5.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (1.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", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:57 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" = 'A001' AND "adherent_members"."organism_id" = 160) 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", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 160], ["updated_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/198/coord/new Completed 302 Found in 20ms (ActiveRecord: 4.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.6ms) 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", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:57 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" = 'A001' AND "adherent_members"."organism_id" = 161) 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", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 161], ["updated_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/199/coord/new Completed 302 Found in 11ms (ActiveRecord: 1.9ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.6ms) 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", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 30ms (Views: 22.3ms | ActiveRecord: 1.2ms)  (0.1ms) 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.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:57 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" = 'A001' AND "adherent_members"."organism_id" = 163) 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", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 163], ["updated_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/200/coord/new Completed 302 Found in 10ms (ActiveRecord: 2.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1032"} 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", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1032 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"=>"1033"} 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", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 24ms (Views: 19.7ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1034"} 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", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1034 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"=>"1035"} 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", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1035 Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1036"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 6ms (ActiveRecord: 1.1ms)  (3.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (21.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 32ms (Views: 1.0ms | ActiveRecord: 23.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) 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", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) 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", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 1.1ms)  (0.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 (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:38:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 31ms (Views: 19.2ms | ActiveRecord: 0.9ms)  (0.2ms) 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 (0.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 174 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Organism Load (1.0ms) 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", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 22ms (Views: 16.6ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Organism Load (2.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.7ms) 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", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 1.9ms | ActiveRecord: 3.8ms)  (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  (2.1ms) 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", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:57 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" = 177) 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", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 177], ["updated_at", Sat, 24 Aug 2013 15:38:57 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" = 201 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 201 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", #], ["created_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 201], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (15.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 201], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 201 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 201 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 113  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/201/payments" for 127.0.0.1 at 2013-08-24 17:38:57 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"201"} 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", "201"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 201 Adherent::Reglement Load (0.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_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 31ms (Views: 25.3ms | ActiveRecord: 2.7ms)  (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 (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:38:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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" = 178) 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", nil], ["created_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 178], ["updated_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 202 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 202 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", #], ["created_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 202], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 202], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:38:57 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 202 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 202 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 114  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/202/payments" for 127.0.0.1 at 2013-08-24 17:38:57 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"202"} Organism Load (0.6ms) 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", "202"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 202 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43  (1.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43 Adherent::Reglement Load (0.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_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.1ms) Completed 200 OK in 24ms (Views: 16.5ms | ActiveRecord: 3.7ms) Started GET "/adherent/payments/43/reglements/new" for 127.0.0.1 at 2013-08-24 17:38:57 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"43"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "43"]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 202 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43 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" = 114 Adherent::Reglement Load (1.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (10.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 60ms (Views: 44.8ms | ActiveRecord: 3.8ms)  (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 (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:38:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:57 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" = 179) 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", Sat, 24 Aug 2013 15:38:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 179], ["updated_at", Sat, 24 Aug 2013 15:38:57 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.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 203 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 203 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", #], ["created_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 203], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/203/payments/new" for 127.0.0.1 at 2013-08-24 17:38:58 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"203"} Organism Load (2.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "203"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 203 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 115 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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 26ms (Views: 13.0ms | ActiveRecord: 4.5ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 203 Started POST "/adherent/members/203/payments" for 127.0.0.1 at 2013-08-24 17:38:58 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"203"} 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", "203"]]  (0.1ms) SAVEPOINT active_record_1 SQL (11.1ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 203], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 203 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 203 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 115  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/203/adhesions Completed 302 Found in 22ms (ActiveRecord: 12.4ms) Started GET "/adherent/members/203/adhesions" for 127.0.0.1 at 2013-08-24 17:38:58 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"203"} 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", "203"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 203 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 203  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 115 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 115 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.7ms | ActiveRecord: 1.4ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 203  (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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:58 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" = 'Adh000' AND "adherent_members"."organism_id" = 180) 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", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 180], ["updated_at", Sat, 24 Aug 2013 15:38:58 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" = 204 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 204 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", #], ["created_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 204], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/204/payments/new" for 127.0.0.1 at 2013-08-24 17:38:58 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"204"} Organism Load (0.3ms) 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", "204"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 204 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 116 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.4ms) 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 22ms (Views: 13.4ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1042"} Organism Load (1.2ms) 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", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 28ms (Views: 20.8ms | ActiveRecord: 2.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1044"} Organism Load (1.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.4ms) 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:38:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 1.8ms | ActiveRecord: 3.3ms)  (0.7ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1046"} 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", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1048"} Organism Load (2.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.4ms) 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", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1048/adhesions/new Completed 302 Found in 14ms (ActiveRecord: 3.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1050"} Organism Load (2.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", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1050/coord Completed 302 Found in 8ms (ActiveRecord: 3.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1052"} 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", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1054"} 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", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1054/coord Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1056"} Organism Load (0.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", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.0ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1058"} 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", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1060"} Organism Load (0.5ms) 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", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 37ms (Views: 23.0ms | ActiveRecord: 2.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1062"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.0ms) 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", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 0.7ms | ActiveRecord: 3.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (2.3ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.8ms) 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", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00]]  (0.6ms) 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" = 192) 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", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 192], ["updated_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00]]  (0.2ms) 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" = 'Adh001' AND "adherent_members"."organism_id" = 192) 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", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 192], ["updated_at", Sat, 24 Aug 2013 15:38:58 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" = 'Adh002' AND "adherent_members"."organism_id" = 192) 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", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 192], ["updated_at", Sat, 24 Aug 2013 15:38:58 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" = 205 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 205 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", #], ["created_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 205], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 205 Started GET "/adherent/members/205/payments/new" for 127.0.0.1 at 2013-08-24 17:38:58 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"205"} 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", "205"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 205 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 117 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 117 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 29ms (Views: 15.7ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/205/payments" for 127.0.0.1 at 2013-08-24 17:38:58 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"205"} Organism Load (0.7ms) 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", "205"]]  (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", #], ["created_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 205], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 205 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 205 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 117 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 117 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", 117], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["payment_id", 45], ["updated_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/205/adhesions Completed 302 Found in 31ms (ActiveRecord: 3.2ms) Started GET "/adherent/members/205/adhesions" for 127.0.0.1 at 2013-08-24 17:38:58 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"205"} 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", "205"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 205 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 205  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 117 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 117 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 101ms (Views: 91.7ms | ActiveRecord: 1.6ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 205  (0.1ms) ROLLBACK  (0.6ms) BEGIN  (0.2ms) 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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:58 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" = 193) 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", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 193], ["updated_at", Sat, 24 Aug 2013 15:38:58 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" = 193) LIMIT 1 SQL (1.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", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 193], ["updated_at", Sat, 24 Aug 2013 15:38:58 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" = 'Adh002' AND "adherent_members"."organism_id" = 193) 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", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 193], ["updated_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 208 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 208 ORDER BY to_date DESC LIMIT 1  (0.8ms) 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", #], ["created_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 208], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/208/payments/new" for 127.0.0.1 at 2013-08-24 17:38:58 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"208"} 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", "208"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 208 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 118 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 118 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (14.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 28ms (Views: 18.4ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/208/payments" for 127.0.0.1 at 2013-08-24 17:38:58 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"208"} Organism Load (0.9ms) 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", "208"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 208], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 208 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 208 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 118 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 118 SQL (0.8ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 118], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["payment_id", 46], ["updated_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/208/adhesions Completed 302 Found in 14ms (ActiveRecord: 3.8ms) Started GET "/adherent/members/208/adhesions" for 127.0.0.1 at 2013-08-24 17:38:58 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"208"} 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", "208"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 208 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 208  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 118 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 118 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 14ms (Views: 8.5ms | ActiveRecord: 2.1ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 208 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 118  (0.4ms) 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", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:58 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" = 194) 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", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 194], ["updated_at", Sat, 24 Aug 2013 15:38:58 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" = 194) 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", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 194], ["updated_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00]]  (0.0ms) 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" = 194) 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", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 194], ["updated_at", Sat, 24 Aug 2013 15:38:58 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" = 211 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 211 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", #], ["created_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 211], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements" Started GET "/adherent/members/211/payments/new" for 127.0.0.1 at 2013-08-24 17:38:58 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"211"} 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", "211"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 211 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 119 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 119 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 20ms (Views: 12.8ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/211/payments" for 127.0.0.1 at 2013-08-24 17:38:58 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"211"} 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", "211"]]  (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", #], ["created_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 211], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 211 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 211 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 119 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 119 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", 119], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00], ["payment_id", 47], ["updated_at", Sat, 24 Aug 2013 15:38:58 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/211/adhesions Completed 302 Found in 18ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/211/adhesions" for 127.0.0.1 at 2013-08-24 17:38:59 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"211"} 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", "211"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 211 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 211  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 119 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 119 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.2ms | ActiveRecord: 1.9ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.0ms) 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.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", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:59 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" = 195) 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", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 195], ["updated_at", Sat, 24 Aug 2013 15:38:59 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" = 'Adh001' AND "adherent_members"."organism_id" = 195) 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", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 195], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) 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" = 195) 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", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 195], ["updated_at", Sat, 24 Aug 2013 15:38:59 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" = 214 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 214 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 214], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/214/payments/new" for 127.0.0.1 at 2013-08-24 17:38:59 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"214"} 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", "214"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 214 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 120 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 120 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (10.6ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 21ms (Views: 15.1ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/214/payments" for 127.0.0.1 at 2013-08-24 17:38:59 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"214"} 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", "214"]]  (0.1ms) SAVEPOINT active_record_1 SQL (52.5ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 214], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 214 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 214 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 120 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 120 SQL (3.0ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 120], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["payment_id", 48], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/214/adhesions Completed 302 Found in 72ms (ActiveRecord: 57.1ms) Started GET "/adherent/members/214/adhesions" for 127.0.0.1 at 2013-08-24 17:38:59 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"214"} 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", "214"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 214 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 214  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 120 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 120 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.3ms | ActiveRecord: 1.3ms) Adherent::Adhesion Load (1.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 214 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 120  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 120  (0.1ms) ROLLBACK  (3.8ms) 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 (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:38:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]]  (1.6ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 196) 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", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 196], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]]  (0.5ms) 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" = 'Adh001' AND "adherent_members"."organism_id" = 196) LIMIT 1 SQL (3.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", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 196], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 196) 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", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 196], ["updated_at", Sat, 24 Aug 2013 15:38:59 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.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 217 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 217 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", #], ["created_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 217], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/217/payments/new" for 127.0.0.1 at 2013-08-24 17:38:59 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"217"} Organism Load (0.7ms) 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", "217"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 217 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 121 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 121 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.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 20ms (Views: 9.4ms | ActiveRecord: 1.7ms) Started POST "/adherent/members/217/payments" for 127.0.0.1 at 2013-08-24 17:38:59 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"217"} Organism Load (0.5ms) 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", "217"]]  (0.6ms) 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", #], ["created_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 217], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 217 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 217 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 121 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 121 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", 121], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["payment_id", 49], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/217/adhesions Completed 302 Found in 17ms (ActiveRecord: 4.6ms) Started GET "/adherent/members/217/adhesions" for 127.0.0.1 at 2013-08-24 17:38:59 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"217"} 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", "217"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 217 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 217  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 121 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 121 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.4ms | ActiveRecord: 1.5ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 217 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 121  (0.1ms) 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.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:38:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]]  (0.1ms) 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" = 'Adh000' AND "adherent_members"."organism_id" = 197) 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", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 197], ["updated_at", Sat, 24 Aug 2013 15:38:59 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" = 197) 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", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 197], ["updated_at", Sat, 24 Aug 2013 15:38:59 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" = 197) 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", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 197], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 220 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 220 ORDER BY to_date DESC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 220], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/220/payments/new" for 127.0.0.1 at 2013-08-24 17:38:59 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"220"} 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", "220"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 220 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 122 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 122 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.6ms) 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: 12.5ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/220/payments" for 127.0.0.1 at 2013-08-24 17:38:59 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"220"} 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", "220"]]  (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", #], ["created_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 220], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 220 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 220 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 122 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 122 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", 122], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["payment_id", 50], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/220/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/220/adhesions" for 127.0.0.1 at 2013-08-24 17:38:59 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"220"} Organism Load (63.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (6.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "220"]]  (2.5ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 220 Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 220  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 122 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 122 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 92ms (Views: 13.7ms | ActiveRecord: 73.9ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 220 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 50  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 50  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) 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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:59 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" = 198) 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", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 198], ["updated_at", Sat, 24 Aug 2013 15:38:59 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" = 198) 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", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 198], ["updated_at", Sat, 24 Aug 2013 15:38:59 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" = 198) 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", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 198], ["updated_at", Sat, 24 Aug 2013 15:38:59 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" = 223 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 223 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", #], ["created_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 223], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/223/payments/new" for 127.0.0.1 at 2013-08-24 17:38:59 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"223"} Organism Load (0.5ms) 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", "223"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 223 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 123 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 123 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (8.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 23ms (Views: 15.6ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/223/payments" for 127.0.0.1 at 2013-08-24 17:38:59 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"223"} 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", "223"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 223], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 223 LIMIT 1 Adherent::Adhesion Load (1.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 223 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 123 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 123 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", 123], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["payment_id", 51], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/223/adhesions Completed 302 Found in 16ms (ActiveRecord: 4.9ms) Started GET "/adherent/members/223/adhesions" for 127.0.0.1 at 2013-08-24 17:38:59 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"223"} 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", "223"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 223 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 223  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 123 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 123 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: 8.5ms | ActiveRecord: 1.4ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 223 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 123  (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 (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 199) 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", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 199], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]]  (0.0ms) 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" = 199) 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", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 199], ["updated_at", Sat, 24 Aug 2013 15:38:59 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" = 199) 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", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 199], ["updated_at", Sat, 24 Aug 2013 15:38:59 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" = 226 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 226 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 226], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/226/payments/new" for 127.0.0.1 at 2013-08-24 17:38:59 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"226"} 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", "226"]] Adherent::Adhesion Load (4.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 226 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 124 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 124 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (15.2ms) Rendered layouts/adherent/_header.html.haml (0.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 43ms (Views: 22.6ms | ActiveRecord: 6.1ms) Started POST "/adherent/members/226/payments" for 127.0.0.1 at 2013-08-24 17:38:59 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"226"} 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", "226"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 226], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 226 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 226 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 124 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 124 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", 124], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["payment_id", 52], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/226/adhesions Completed 302 Found in 14ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/226/adhesions" for 127.0.0.1 at 2013-08-24 17:38:59 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"226"} 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", "226"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 226 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 226  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 124 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 124 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 16ms (Views: 7.7ms | ActiveRecord: 1.5ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 226 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 227 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 227 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", #], ["created_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 227], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:38:59 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" = 228 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 228 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 228], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/52/reglements/new" for 127.0.0.1 at 2013-08-24 17:38:59 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"52"} 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", "52"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 226 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 52  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 52 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" = 124  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 125  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 126 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 52 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 52 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 227 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 125 Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 228 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 126 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (21.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 35ms (Views: 25.1ms | ActiveRecord: 3.8ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 226 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 124 Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 226 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 52  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 52  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (1.4ms) 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", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:38:59 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" = 200) 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", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 200], ["updated_at", Sat, 24 Aug 2013 15:38:59 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" = 200) 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", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 200], ["updated_at", Sat, 24 Aug 2013 15:38:59 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" = 200) 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", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 200], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 229 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 229 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 229], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/229/payments/new" for 127.0.0.1 at 2013-08-24 17:38:59 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"229"} Organism Load (0.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", "229"]] Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 229 ORDER BY to_date  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 127 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 127 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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 30ms (Views: 12.3ms | ActiveRecord: 2.6ms) Started POST "/adherent/members/229/payments" for 127.0.0.1 at 2013-08-24 17:38:59 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"229"} 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", "229"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 229], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 229 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 229 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 127 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 127 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", 127], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["payment_id", 53], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/229/adhesions Completed 302 Found in 22ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/229/adhesions" for 127.0.0.1 at 2013-08-24 17:38:59 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"229"} 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", "229"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 229 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 229  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 127 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 127 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: 7.5ms | ActiveRecord: 2.1ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 229 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 230 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 230 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 230], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:38:59 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" = 231 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 231 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", #], ["created_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 231], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:38:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/53/reglements/new" for 127.0.0.1 at 2013-08-24 17:38:59 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"53"} 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", "53"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 229 LIMIT 1 Adherent::Reglement Load (1.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53 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" = 127  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 128  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 129 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53 Adherent::Member Load (2.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 230 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 128 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 231 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 129 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (22.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 40ms (Views: 25.8ms | ActiveRecord: 6.2ms)  (0.3ms) 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 (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:39:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:00 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" = 201) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 201], ["updated_at", Sat, 24 Aug 2013 15:39:00 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" = 201) 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", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 201], ["updated_at", Sat, 24 Aug 2013 15:39:00 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" = 'Adh002' AND "adherent_members"."organism_id" = 201) 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", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 201], ["updated_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 232 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 232 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", #], ["created_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 232], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/232/payments/new" for 127.0.0.1 at 2013-08-24 17:39:00 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"232"} 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", "232"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 232 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 130 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 130 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (9.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 20ms (Views: 14.0ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/232/payments" for 127.0.0.1 at 2013-08-24 17:39:00 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"232"} 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", "232"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 232], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 232 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 232 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 130 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 130 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", 130], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["payment_id", 54], ["updated_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/232/adhesions Completed 302 Found in 19ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/232/adhesions" for 127.0.0.1 at 2013-08-24 17:39:00 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"232"} 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", "232"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 232 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 232  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 130 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 130 Rendered layouts/adherent/_header.html.haml (59.5ms) 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 85ms (Views: 80.4ms | ActiveRecord: 1.8ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 232 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 233 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 233 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", #], ["created_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 233], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 234 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 234 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", #], ["created_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 234], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/54/reglements/new" for 127.0.0.1 at 2013-08-24 17:39:00 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"54"} Organism Load (0.4ms) 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", "54"]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 232 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 54  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 54 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" = 130  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 131  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 132 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 54 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 54 Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 233 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 131 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 234 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 132 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (19.8ms) 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 39ms (Views: 23.2ms | ActiveRecord: 3.9ms)  (0.1ms) ROLLBACK  (0.0ms) 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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:00 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" = 202) 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", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 202], ["updated_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 202) 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", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 202], ["updated_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00]]  (0.0ms) 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" = 202) 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", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 202], ["updated_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 235 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 235 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", #], ["created_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 235], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/235/payments/new" for 127.0.0.1 at 2013-08-24 17:39:00 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"235"} Organism Load (0.4ms) 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", "235"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 235 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 133 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 133 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (8.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 33ms (Views: 17.2ms | ActiveRecord: 2.2ms) Started POST "/adherent/members/235/payments" for 127.0.0.1 at 2013-08-24 17:39:00 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"235"} 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", "235"]]  (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", #], ["created_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 235], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 235 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 235 ORDER BY to_date  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 133 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 133 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", 133], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["payment_id", 55], ["updated_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/235/adhesions Completed 302 Found in 20ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/235/adhesions" for 127.0.0.1 at 2013-08-24 17:39:00 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"235"} 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", "235"]]  (1.0ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 235 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 235  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 133 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 133 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 21ms (Views: 9.4ms | ActiveRecord: 2.3ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 235 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 236 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 236 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", #], ["created_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 236], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 237 Adherent::Adhesion Load (2.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 237 ORDER BY to_date DESC LIMIT 1  (0.4ms) 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", #], ["created_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 237], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/55/reglements/new" for 127.0.0.1 at 2013-08-24 17:39:00 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"55"} 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", "55"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 235 LIMIT 1 Adherent::Reglement Load (0.9ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 55  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 55 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 133  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 134  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 135 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 55 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 55 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 236 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 134 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 237 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 135 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (14.4ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 34ms (Views: 20.6ms | ActiveRecord: 4.6ms)  (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 (0.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 203) 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", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 203], ["updated_at", Sat, 24 Aug 2013 15:39:00 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" = 203) 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", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 203], ["updated_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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" = 203) 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", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 203], ["updated_at", Sat, 24 Aug 2013 15:39:00 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" = 238 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 238 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 238], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/238/payments/new" for 127.0.0.1 at 2013-08-24 17:39:00 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"238"} 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", "238"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 238 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 136 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 136 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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 20ms (Views: 11.3ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/238/payments" for 127.0.0.1 at 2013-08-24 17:39:00 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"238"} 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", "238"]]  (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", #], ["created_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 238], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00]] Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 238 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 238 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 136 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 136 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", 136], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["payment_id", 56], ["updated_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/238/adhesions Completed 302 Found in 20ms (ActiveRecord: 3.7ms) Started GET "/adherent/members/238/adhesions" for 127.0.0.1 at 2013-08-24 17:39:00 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"238"} 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", "238"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 238 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 238  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 136 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 136 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.5ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 238 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 239 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 239 ORDER BY to_date DESC LIMIT 1  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 239], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:39:00 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" = 240 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 240 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", #], ["created_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 240], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/56/reglements/new" for 127.0.0.1 at 2013-08-24 17:39:00 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"56"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.0ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "56"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 238 LIMIT 1 Adherent::Reglement Load (2.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 136  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 137  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 138 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 239 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 137 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 240 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 138 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.4ms) Rendered layouts/adherent/_header.html.haml (0.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 32ms (Views: 14.5ms | ActiveRecord: 5.7ms) Started POST "/adherent/payments/56/reglements" for 127.0.0.1 at 2013-08-24 17:39:00 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"137"}, "commit"=>"Enregistrer", "payment_id"=>"56"} Organism Load (1.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", "56"]] Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "137"]] Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 137  (1.0ms) 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", 137], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["payment_id", 56], ["updated_at", Sat, 24 Aug 2013 15:39:00 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" = 238 LIMIT 1 Redirected to http://www.example.com/adherent/members/238/payments Completed 302 Found in 27ms (ActiveRecord: 6.1ms) Started GET "/adherent/members/238/payments" for 127.0.0.1 at 2013-08-24 17:39:00 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"238"} Organism Load (0.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", "238"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 238 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 137 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 239 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 136 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 238 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56 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: 22.4ms | ActiveRecord: 2.8ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 136 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 238 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (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:39:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:00 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" = 'Adh000' AND "adherent_members"."organism_id" = 204) 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", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 204], ["updated_at", Sat, 24 Aug 2013 15:39:00 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" = 204) 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", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 204], ["updated_at", Sat, 24 Aug 2013 15:39:00 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" = 204) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 204], ["updated_at", Sat, 24 Aug 2013 15:39:00 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" = 241 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 241 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 241], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/241/payments/new" for 127.0.0.1 at 2013-08-24 17:39:00 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"241"} 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", "241"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 241 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 139 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 139 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (13.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 24ms (Views: 17.9ms | ActiveRecord: 1.0ms) Started POST "/adherent/members/241/payments" for 127.0.0.1 at 2013-08-24 17:39:00 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"241"} 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", "241"]]  (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", #], ["created_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 241], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 241 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 241 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 139 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 139 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", 139], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["payment_id", 57], ["updated_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/241/adhesions Completed 302 Found in 16ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/241/adhesions" for 127.0.0.1 at 2013-08-24 17:39:00 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"241"} 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", "241"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 241 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 241  (1.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 139 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 139 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 11ms (Views: 6.2ms | ActiveRecord: 2.6ms) Adherent::Payment Load (0.9ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 241 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 242 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 242 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", #], ["created_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 242], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 243 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 243 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.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", #], ["created_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 243], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/57/reglements/new" for 127.0.0.1 at 2013-08-24 17:39:00 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"57"} 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", "57"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 241 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 139  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 140  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 141 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 242 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 140 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 243 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 141 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (90.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 107ms (Views: 94.7ms | ActiveRecord: 3.6ms) Started POST "/adherent/payments/57/reglements" for 127.0.0.1 at 2013-08-24 17:39:00 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"140"}, "commit"=>"Enregistrer", "payment_id"=>"57"} 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", "57"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "140"]] Adherent::Reglement Load (0.8ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 140  (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", 140], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["payment_id", 57], ["updated_at", Sat, 24 Aug 2013 15:39:00 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" = 241 LIMIT 1 Redirected to http://www.example.com/adherent/members/241/payments Completed 302 Found in 15ms (ActiveRecord: 3.1ms) Started GET "/adherent/members/241/payments" for 127.0.0.1 at 2013-08-24 17:39:00 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"241"} 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", "241"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 241 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 140 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 242 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 139 LIMIT 1 Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 241 LIMIT 1 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 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 28ms (Views: 21.6ms | ActiveRecord: 3.3ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements"   (0.1ms) ROLLBACK  (0.3ms) 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 (1.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:00 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" = 'Adh000' AND "adherent_members"."organism_id" = 205) 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", Sat, 24 Aug 2013 15:39:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 205], ["updated_at", Sat, 24 Aug 2013 15:39:00 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" = 205) 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", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 205], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 205) 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", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 205], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 244 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 244 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", #], ["created_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 244], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/244/payments/new" for 127.0.0.1 at 2013-08-24 17:39:01 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"244"} 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", "244"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 244 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 142 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 142 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (7.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 21ms (Views: 11.4ms | ActiveRecord: 1.9ms) Started POST "/adherent/members/244/payments" for 127.0.0.1 at 2013-08-24 17:39:01 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"244"} 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", "244"]]  (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", #], ["created_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 244], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 244 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 244 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 142 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 142 SQL (0.8ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 142], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["payment_id", 58], ["updated_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/244/adhesions Completed 302 Found in 15ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/244/adhesions" for 127.0.0.1 at 2013-08-24 17:39:01 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"244"} Organism Load (0.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", "244"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 244 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 244  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 142 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 142 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: 7.6ms | ActiveRecord: 1.9ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 244 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 245 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 245 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", #], ["created_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 245], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 246 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 246 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", #], ["created_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 246], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/58/reglements/new" for 127.0.0.1 at 2013-08-24 17:39:01 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"58"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "58"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 244 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58 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" = 142  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 143  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 144 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 245 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 143 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 246 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 144 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (10.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 27ms (Views: 14.2ms | ActiveRecord: 3.6ms) Started POST "/adherent/payments/58/reglements" for 127.0.0.1 at 2013-08-24 17:39:01 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"143"}, "commit"=>"Enregistrer", "payment_id"=>"58"} 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", "58"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "143"]] Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 143  (0.2ms) 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", 143], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["payment_id", 58], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 244 LIMIT 1 Redirected to http://www.example.com/adherent/members/244/payments Completed 302 Found in 18ms (ActiveRecord: 4.0ms) Started GET "/adherent/members/244/payments" for 127.0.0.1 at 2013-08-24 17:39:01 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"244"} 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", "244"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 244 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 143 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 245 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 142 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 244 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58 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 22ms (Views: 17.6ms | ActiveRecord: 3.4ms) Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" ORDER BY "adherent_reglements"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 143 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 245 LIMIT 1  (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 (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:39:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 206) 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", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 206], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 206) 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", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 206], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 206) 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", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 206], ["updated_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00]]  (2.4ms) 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" = 247 Adherent::Adhesion Load (3.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 247 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 247], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00]]  (2.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/247/payments/new" for 127.0.0.1 at 2013-08-24 17:39:01 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"247"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "247"]] Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 247 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 145 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 145 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 21ms (Views: 10.1ms | ActiveRecord: 3.5ms) Started POST "/adherent/members/247/payments" for 127.0.0.1 at 2013-08-24 17:39:01 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"247"} 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", "247"]]  (0.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 247], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 247 LIMIT 1 Adherent::Adhesion Load (5.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 247 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 145 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 145 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", 145], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["payment_id", 59], ["updated_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/247/adhesions Completed 302 Found in 21ms (ActiveRecord: 7.8ms) Started GET "/adherent/members/247/adhesions" for 127.0.0.1 at 2013-08-24 17:39:01 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"247"} 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", "247"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 247 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 247  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 145 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 145 Rendered layouts/adherent/_header.html.haml (0.1ms) 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.1ms) Completed 200 OK in 13ms (Views: 9.7ms | ActiveRecord: 1.2ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 247 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 248 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 248 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", #], ["created_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 248], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 249 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 249 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", #], ["created_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 249], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/59/reglements/new" for 127.0.0.1 at 2013-08-24 17:39:01 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"59"} Organism Load (0.8ms) 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", "59"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 247 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 145  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 146  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 147 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 248 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 146 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 249 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 147 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (17.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 33ms (Views: 21.9ms | ActiveRecord: 3.8ms) Started POST "/adherent/payments/59/reglements" for 127.0.0.1 at 2013-08-24 17:39:01 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"146"}, "commit"=>"Enregistrer", "payment_id"=>"59"} Organism Load (1.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", "59"]] Adherent::Adhesion Load (1.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "146"]] Adherent::Reglement Load (0.8ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 146  (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", 146], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["payment_id", 59], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 247 LIMIT 1 Redirected to http://www.example.com/adherent/members/247/payments Completed 302 Found in 29ms (ActiveRecord: 5.6ms) Started GET "/adherent/members/247/payments" for 127.0.0.1 at 2013-08-24 17:39:01 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"247"} 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", "247"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 247 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 146 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 248 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 145 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 247 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59 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: 16.1ms | ActiveRecord: 2.9ms) Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 248 ORDER BY to_date  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 146  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 146  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.5ms) 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:39:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 207) 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", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 207], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 207) LIMIT 1 SQL (2.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", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 207], ["updated_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 207) 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", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 207], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 250 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 250 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", #], ["created_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 250], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/250/payments/new" for 127.0.0.1 at 2013-08-24 17:39:01 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"250"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "250"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 250 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 148 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 148 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 24ms (Views: 15.2ms | ActiveRecord: 2.4ms) Started POST "/adherent/members/250/payments" for 127.0.0.1 at 2013-08-24 17:39:01 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"250"} Organism Load (2.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", "250"]]  (0.1ms) SAVEPOINT active_record_1 SQL (2.3ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 250], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 250 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 250 ORDER BY to_date  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 148 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 148 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", 148], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["payment_id", 60], ["updated_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/250/adhesions Completed 302 Found in 19ms (ActiveRecord: 6.7ms) Started GET "/adherent/members/250/adhesions" for 127.0.0.1 at 2013-08-24 17:39:01 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"250"} 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", "250"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 250 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 250  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 148 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 148 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: 7.8ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 250 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 251 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 251 ORDER BY to_date DESC LIMIT 1  (0.5ms) 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", #], ["created_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 251], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 252 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 252 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 252], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/60/reglements/new" for 127.0.0.1 at 2013-08-24 17:39:01 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"60"} 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", "60"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 250 LIMIT 1 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 60  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 60 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 148  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 149  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 150 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 60 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 60 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 251 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 149 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 252 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 150 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (11.0ms) 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 29ms (Views: 15.3ms | ActiveRecord: 3.4ms) Started POST "/adherent/payments/60/reglements" for 127.0.0.1 at 2013-08-24 17:39:01 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"149"}, "commit"=>"Enregistrer", "payment_id"=>"60"} Organism Load (0.5ms) 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", "60"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "149"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 60  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 60  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 149  (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", 149], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["payment_id", 60], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 250 LIMIT 1 Redirected to http://www.example.com/adherent/members/250/payments Completed 302 Found in 10ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/250/payments" for 127.0.0.1 at 2013-08-24 17:39:01 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"250"} 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", "250"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 250 Adherent::Reglement Load (0.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 60 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 149 LIMIT 1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 251 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 148 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 250 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 60  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 60 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 60 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 60 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: 17.4ms | ActiveRecord: 3.0ms)  (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 (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:39:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 208) 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", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 208], ["updated_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00]]  (0.2ms) 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" = 208) 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", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 208], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 208) 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", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 208], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 208) 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", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 208], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 208) 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", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 208], ["updated_at", Sat, 24 Aug 2013 15:39:01 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-24 17:39:01 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 500 Internal Server Error in 57ms  (0.9ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (1.7ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (20.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 209) 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", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 209], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 209) 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", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 209], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 209) 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", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 209], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 209) 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", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 209], ["updated_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 209) 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", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 209], ["updated_at", Sat, 24 Aug 2013 15:39:01 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-24 17:39:01 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 500 Internal Server Error in 52ms  (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 (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:39:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 210) 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", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 210], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 210) 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", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 210], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 210) 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", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 210], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 'Adh003' AND "adherent_members"."organism_id" = 210) 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", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 210], ["updated_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 210) 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", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 210], ["updated_at", Sat, 24 Aug 2013 15:39:01 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/new" for 127.0.0.1 at 2013-08-24 17:39:01 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 500 Internal Server Error in 53ms  (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 (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:39:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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" = 211) 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", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 211], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 211) 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", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 211], ["updated_at", Sat, 24 Aug 2013 15:39:01 UTC +00:00]]  (0.3ms) 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" = 211) 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", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 211], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 'Adh003' AND "adherent_members"."organism_id" = 211) 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", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 211], ["updated_at", Sat, 24 Aug 2013 15:39:01 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" = 'Adh004' AND "adherent_members"."organism_id" = 211) 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", Sat, 24 Aug 2013 15:39:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 211], ["updated_at", Sat, 24 Aug 2013 15:39:01 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-24 17:39:01 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 500 Internal Server Error in 101ms  (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 (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:39:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:02 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" = 'Adh000' AND "adherent_members"."organism_id" = 212) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 212], ["updated_at", Sat, 24 Aug 2013 15:39:02 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" = 212) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 212], ["updated_at", Sat, 24 Aug 2013 15:39:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.6ms) 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" = 212) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 212], ["updated_at", Sat, 24 Aug 2013 15:39:02 UTC +00:00]]  (0.0ms) 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" = 212) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 212], ["updated_at", Sat, 24 Aug 2013 15:39:02 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" = 212) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 212], ["updated_at", Sat, 24 Aug 2013 15:39:02 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-24 17:39:02 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 500 Internal Server Error in 62ms  (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 (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:39:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:02 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" = 'Adh000' AND "adherent_members"."organism_id" = 213) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 213], ["updated_at", Sat, 24 Aug 2013 15:39:02 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" = 213) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 213], ["updated_at", Sat, 24 Aug 2013 15:39:02 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" = 213) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 213], ["updated_at", Sat, 24 Aug 2013 15:39:02 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" = 213) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 213], ["updated_at", Sat, 24 Aug 2013 15:39:02 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" = 213) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 213], ["updated_at", Sat, 24 Aug 2013 15:39:02 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-24 17:39:02 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 500 Internal Server Error in 136ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.8ms) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:02 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" = 214) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 214], ["updated_at", Sat, 24 Aug 2013 15:39:02 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" = 214) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 214], ["updated_at", Sat, 24 Aug 2013 15:39:02 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" = 214) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 214], ["updated_at", Sat, 24 Aug 2013 15:39:02 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" = 214) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 214], ["updated_at", Sat, 24 Aug 2013 15:39:02 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" = 'Adh004' AND "adherent_members"."organism_id" = 214) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 214], ["updated_at", Sat, 24 Aug 2013 15:39:02 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-24 17:39:02 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 500 Internal Server Error in 54ms  (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 (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:39:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:02 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" = 215) LIMIT 1 SQL (1.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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 215], ["updated_at", Sat, 24 Aug 2013 15:39:02 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" = 215) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 215], ["updated_at", Sat, 24 Aug 2013 15:39:02 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" = 215) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 215], ["updated_at", Sat, 24 Aug 2013 15:39:02 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" = 215) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 215], ["updated_at", Sat, 24 Aug 2013 15:39:02 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" = 'Adh004' AND "adherent_members"."organism_id" = 215) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 215], ["updated_at", Sat, 24 Aug 2013 15:39:02 UTC +00:00]]  (0.8ms) 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-24 17:39:02 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 500 Internal Server Error in 51ms  (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 (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:39:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:02 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" = 216) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 216], ["updated_at", Sat, 24 Aug 2013 15:39:02 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" = 216) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 216], ["updated_at", Sat, 24 Aug 2013 15:39:02 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" = 216) LIMIT 1 SQL (25.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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 216], ["updated_at", Sat, 24 Aug 2013 15:39:02 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" = 216) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 216], ["updated_at", Sat, 24 Aug 2013 15:39:02 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" = 'Adh004' AND "adherent_members"."organism_id" = 216) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 216], ["updated_at", Sat, 24 Aug 2013 15:39:02 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-24 17:39:02 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 500 Internal Server Error in 53ms  (0.3ms) 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.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:39:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:02 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" = 'Adh000' AND "adherent_members"."organism_id" = 217) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 217], ["updated_at", Sat, 24 Aug 2013 15:39:02 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" = 217) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 217], ["updated_at", Sat, 24 Aug 2013 15:39:02 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" = 217) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 217], ["updated_at", Sat, 24 Aug 2013 15:39:02 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" = 217) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 217], ["updated_at", Sat, 24 Aug 2013 15:39:02 UTC +00:00]]  (2.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 217) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 217], ["updated_at", Sat, 24 Aug 2013 15:39:02 UTC +00:00]]  (0.7ms) 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-24 17:39:02 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 500 Internal Server Error in 67ms  (1.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1067"} 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1066/payments Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1069"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:02 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 6ms (Views: 1.1ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1072"} Organism Load (4.2ms) 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", Sat, 24 Aug 2013 15:39:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" Completed 200 OK in 15ms (Views: 5.2ms | ActiveRecord: 6.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (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 (2.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) 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", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 303], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 15:39:03 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" = 303 Adherent::Adhesion Load (2.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 303 ORDER BY to_date DESC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (3.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 303], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 15:39:03 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", #], ["created_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 303], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 303 LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 303 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 151  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 152  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 151 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", 151], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["payment_id", 61], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 152 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", 152], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["payment_id", 61], ["updated_at", Sat, 24 Aug 2013 15:39:03 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.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", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:39:03 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", #], ["created_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 304], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 304 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 304 ORDER BY to_date DESC LIMIT 1  (0.5ms) 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", #], ["created_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 304], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 304], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 304 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 304 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 153  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 154  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 153 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", 153], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["payment_id", 62], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]]  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 154 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", 154], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["payment_id", 62], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.8ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 62  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 62  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (1.4ms) 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.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", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 305], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 305 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 305 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", #], ["created_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 305], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 15:39:03 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", #], ["created_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 305], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 305 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 305 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 155  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 156  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 155 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", 155], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["payment_id", 63], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1074", "id"=>"1"} Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1076", "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.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 4.7ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1078"} 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", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1080"} 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", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1080/adhesions Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1082"} 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", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1084"} Organism Load (0.3ms) 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", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1084/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1086", "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", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1086/adhesions Completed 302 Found in 6ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1088", "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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1090", "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", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1090/adhesions Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1092", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.7ms) 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", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 4.7ms | ActiveRecord: 1.6ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1094"} Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (78.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 87ms (Views: 1.5ms | ActiveRecord: 79.9ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1095"} 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", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1096"} Organism Load (1.0ms) 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", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1096/adhesions/new Completed 302 Found in 12ms (ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) 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.0ms) BEGIN Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) 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.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (3.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", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:39:03 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" = 306 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 306 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", #], ["created_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 306], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:39:03 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" = 306 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 306 ORDER BY to_date DESC LIMIT 1  (0.3ms) ROLLBACK  (0.0ms) 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", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 307 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 307 ORDER BY to_date DESC LIMIT 1  (0.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", #], ["created_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 307], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 307 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 307 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (1.7ms) 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.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", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:39:03 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" = 308 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 308 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", #], ["created_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 308], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:39:03 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" = 308 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 308 ORDER BY to_date DESC 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 (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.2ms) BEGIN 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  (0.1ms) ROLLBACK  (0.0ms) 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.0ms) ROLLBACK  (0.0ms) 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 (1.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", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]]  (0.1ms) RELEASE 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" = 2) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) 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", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]]  (0.5ms) RELEASE 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  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) 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", Tue, 06 Jun 1944], ["created_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:39:03 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1003"} Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (128.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:40:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:40:05 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1003/adhesions/new Completed 302 Found in 223ms (ActiveRecord: 172.5ms)  (1.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1005"} Organism Load (0.4ms) 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", Sat, 24 Aug 2013 15:40:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:40:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 641ms (Views: 635.7ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1007"} Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:40:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:40:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 1.8ms | ActiveRecord: 2.7ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1009"} 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", Sat, 24 Aug 2013 15:40:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:40:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1009/coord Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1011"} 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", Sat, 24 Aug 2013 15:40:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:40:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1011/coord Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1013"} Organism Load (0.2ms) 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", Sat, 24 Aug 2013 15:40:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:40:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 24ms (Views: 20.0ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1015"} 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", Sat, 24 Aug 2013 15:40:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:40:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.9ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1017"} Organism Load (0.6ms) 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", Sat, 24 Aug 2013 15:40:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:40:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1019"} 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", Sat, 24 Aug 2013 15:40:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:40:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1021"} 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", Sat, 24 Aug 2013 15:40:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:40:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1023"} 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", Sat, 24 Aug 2013 15:40:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:40:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1001"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:40:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:40:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 81ms (Views: 21.0ms | ActiveRecord: 9.5ms)  (0.5ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1003"} 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", Sat, 24 Aug 2013 15:40:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:40:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1003/adhesions Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1005"} 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", Sat, 24 Aug 2013 15:40:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:40:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1005/adhesions Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1007"} 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", Sat, 24 Aug 2013 15:40:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:40:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.9ms | ActiveRecord: 1.0ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1008"} 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", Sat, 24 Aug 2013 15:40:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:40:31 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1009"} 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", Sat, 24 Aug 2013 15:40:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:40:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1011", "id"=>"1"} Organism Load (0.6ms) 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", Sat, 24 Aug 2013 15:40:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:40:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 18ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1013", "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.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:40:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:40:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1013/payments/1014 Completed 302 Found in 8ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1015", "id"=>"1"} Organism Load (0.7ms) 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", Sat, 24 Aug 2013 15:40:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:40:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#update as HTML Parameters: {"payment"=>{"mode"=>"Chèque"}, "member_id"=>"1017", "id"=>"1"} Organism Load (1.0ms) 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", Sat, 24 Aug 2013 15:40:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:40:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1017/payments/1018 Completed 302 Found in 6ms (ActiveRecord: 1.5ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#show 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", Sat, 24 Aug 2013 15:40:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:40:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 7ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#show 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", Sat, 24 Aug 2013 15:40:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:40:31 UTC +00:00]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 7ms  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1023", "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.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:40:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:40:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 5ms  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#edit as HTML Parameters: {"member_id"=>"1025", "id"=>"1"} Organism Load (0.3ms) 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", Sat, 24 Aug 2013 15:40:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:40:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 7ms  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1001"} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (44.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:42:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:42:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 71ms (Views: 6.5ms | ActiveRecord: 50.8ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1003"} 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", Sat, 24 Aug 2013 15:42:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:42:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1003/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1005"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:42:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:42:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1005/adhesions Completed 302 Found in 7ms (ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1007"} Organism Load (0.4ms) 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", Sat, 24 Aug 2013 15:42:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:42:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1009"} Organism Load (0.3ms) 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", Sat, 24 Aug 2013 15:42:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:42:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.9ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1010"} 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", Sat, 24 Aug 2013 15:42:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:42:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Organism Load (1.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (5.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:42:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:42:14 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" = 'Adh000' AND "adherent_members"."organism_id" = 265) 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", Sat, 24 Aug 2013 15:42:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 265], ["updated_at", Sat, 24 Aug 2013 15:42:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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" = 265) 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", Sat, 24 Aug 2013 15:42:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 265], ["updated_at", Sat, 24 Aug 2013 15:42:14 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" = 265) 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", Sat, 24 Aug 2013 15:42:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 265], ["updated_at", Sat, 24 Aug 2013 15:42:14 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" = 265) 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", Sat, 24 Aug 2013 15:42:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 265], ["updated_at", Sat, 24 Aug 2013 15:42:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 265) 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", Sat, 24 Aug 2013 15:42:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 265], ["updated_at", Sat, 24 Aug 2013 15:42:14 UTC +00:00]]  (0.1ms) 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-24 17:42:14 +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" = 265 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 312 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 312 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 313 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 313 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 314 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 314 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 315 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 315 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 316 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 316 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (72.3ms) Rendered layouts/adherent/_header.html.haml (1.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (57.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.7ms) Completed 200 OK in 283ms (Views: 187.4ms | ActiveRecord: 8.2ms)  (0.7ms) ROLLBACK  (0.0ms) 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", Sat, 24 Aug 2013 15:42:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:42:15 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" = 266) 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", Sat, 24 Aug 2013 15:42:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 266], ["updated_at", Sat, 24 Aug 2013 15:42:15 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" = 266) 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", Sat, 24 Aug 2013 15:42:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 266], ["updated_at", Sat, 24 Aug 2013 15:42:15 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" = 266) 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", Sat, 24 Aug 2013 15:42:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 266], ["updated_at", Sat, 24 Aug 2013 15:42:15 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" = 266) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 15:42:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 266], ["updated_at", Sat, 24 Aug 2013 15:42:15 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" = 266) 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", Sat, 24 Aug 2013 15:42:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 266], ["updated_at", Sat, 24 Aug 2013 15:42:15 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-24 17:42:15 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (2.0ms) 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"."organism_id" = 266 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 317 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 317 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 318 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 318 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 319 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 319 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 320 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 320 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 321 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 321 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.9ms) Completed 200 OK in 38ms (Views: 29.3ms | ActiveRecord: 5.9ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Sat, 24 Aug 2013 15:42:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:42:15 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" = 267) 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", Sat, 24 Aug 2013 15:42:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 267], ["updated_at", Sat, 24 Aug 2013 15:42:15 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" = 'Adh001' AND "adherent_members"."organism_id" = 267) 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", Sat, 24 Aug 2013 15:42:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 267], ["updated_at", Sat, 24 Aug 2013 15:42:15 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" = 267) 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", Sat, 24 Aug 2013 15:42:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 267], ["updated_at", Sat, 24 Aug 2013 15:42:15 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" = 267) 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", Sat, 24 Aug 2013 15:42:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 267], ["updated_at", Sat, 24 Aug 2013 15:42:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 267) 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", Sat, 24 Aug 2013 15:42:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 267], ["updated_at", Sat, 24 Aug 2013 15:42:15 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-24 17:42:15 +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" = 267 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 322 ORDER BY to_date Adherent::Coord Load (1.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 322 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 323 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 323 LIMIT 1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 324 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 324 LIMIT 1 Adherent::Adhesion Load (3.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 325 ORDER BY to_date Adherent::Coord Load (3.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 325 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 326 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 326 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.0ms) Completed 200 OK in 67ms (Views: 49.4ms | ActiveRecord: 12.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.2ms) 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", Sat, 24 Aug 2013 15:42:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:42:15 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" = 268) 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", Sat, 24 Aug 2013 15:42:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 268], ["updated_at", Sat, 24 Aug 2013 15:42:15 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" = 268) 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", Sat, 24 Aug 2013 15:42:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 268], ["updated_at", Sat, 24 Aug 2013 15:42:15 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" = 268) 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", Sat, 24 Aug 2013 15:42:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 268], ["updated_at", Sat, 24 Aug 2013 15:42:15 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" = 268) 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", Sat, 24 Aug 2013 15:42:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 268], ["updated_at", Sat, 24 Aug 2013 15:42:15 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" = 268) 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", Sat, 24 Aug 2013 15:42:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 268], ["updated_at", Sat, 24 Aug 2013 15:42:15 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" for 127.0.0.1 at 2013-08-24 17:42:15 +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 (1.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 268 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 327 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 327 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 328 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 328 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 329 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 329 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 330 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 330 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 331 ORDER BY to_date Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 331 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 33ms (Views: 24.6ms | ActiveRecord: 4.8ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (32.5ms) 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", Sat, 24 Aug 2013 15:42:15 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 327], ["office", nil], ["tel", nil], ["updated_at", Sat, 24 Aug 2013 15:42:15 UTC +00:00], ["zip", nil]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 327 LIMIT 1 Started GET "/adherent/members/327/coord" for 127.0.0.1 at 2013-08-24 17:42:15 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"327"} Organism Load (0.6ms) 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", "327"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 327 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 17ms (Views: 12.0ms | ActiveRecord: 1.5ms)  (0.5ms) 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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:42:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:42:15 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" = 269) 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", Sat, 24 Aug 2013 15:42:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 269], ["updated_at", Sat, 24 Aug 2013 15:42:15 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" = 269) 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", Sat, 24 Aug 2013 15:42:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 269], ["updated_at", Sat, 24 Aug 2013 15:42:15 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" = 269) 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", Sat, 24 Aug 2013 15:42:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 269], ["updated_at", Sat, 24 Aug 2013 15:42:15 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" = 269) 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", Sat, 24 Aug 2013 15:42:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 269], ["updated_at", Sat, 24 Aug 2013 15:42:15 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" = 'Adh004' AND "adherent_members"."organism_id" = 269) 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", Sat, 24 Aug 2013 15:42:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 269], ["updated_at", Sat, 24 Aug 2013 15:42:15 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-24 17:42:15 +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 (1.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 269 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 332 ORDER BY to_date Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 332 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 333 ORDER BY to_date Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 333 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 334 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 334 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 335 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 335 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 336 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 336 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 33ms (Views: 22.9ms | ActiveRecord: 6.4ms) Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 332 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 332 ORDER BY to_date DESC LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (55.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", #], ["created_at", Sat, 24 Aug 2013 15:42:15 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 332], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:42:15 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/332/adhesions" for 127.0.0.1 at 2013-08-24 17:42:15 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"332"} 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", "332"]]  (0.5ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 332 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 332  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 160 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 160 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 139ms (Views: 128.4ms | ActiveRecord: 5.0ms)  (0.2ms) 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", Sat, 24 Aug 2013 15:42:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:42: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" = 270) 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", Sat, 24 Aug 2013 15:42:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 270], ["updated_at", Sat, 24 Aug 2013 15:42:16 UTC +00:00]]  (0.5ms) 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" = 270) 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", Sat, 24 Aug 2013 15:42:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 270], ["updated_at", Sat, 24 Aug 2013 15:42: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" = 'Adh002' AND "adherent_members"."organism_id" = 270) 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", Sat, 24 Aug 2013 15:42:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 270], ["updated_at", Sat, 24 Aug 2013 15:42:16 UTC +00:00]]  (0.0ms) 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" = 270) 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", Sat, 24 Aug 2013 15:42:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 270], ["updated_at", Sat, 24 Aug 2013 15:42: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" = 'Adh004' AND "adherent_members"."organism_id" = 270) 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", Sat, 24 Aug 2013 15:42:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 270], ["updated_at", Sat, 24 Aug 2013 15:42:16 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-24 17:42:16 +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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 270 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 337 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 337 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 338 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 338 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 339 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 339 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 340 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 340 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 341 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 341 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 30ms (Views: 24.1ms | ActiveRecord: 3.5ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/337/coord" for 127.0.0.1 at 2013-08-24 17:42:16 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"337"} 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", "337"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 337 LIMIT 1 Redirected to http://www.example.com/adherent/members/337/coord/new Completed 302 Found in 3ms (ActiveRecord: 0.8ms) Started GET "/adherent/members/337/coord/new" for 127.0.0.1 at 2013-08-24 17:42:16 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"337"} 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", "337"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 337 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (132.2ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 178ms (Views: 172.0ms | 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.0ms) 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", Sat, 24 Aug 2013 15:42:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:42:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 271) 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", Sat, 24 Aug 2013 15:42:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 271], ["updated_at", Sat, 24 Aug 2013 15:42: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" = 'Adh001' AND "adherent_members"."organism_id" = 271) 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", Sat, 24 Aug 2013 15:42:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 271], ["updated_at", Sat, 24 Aug 2013 15:42: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" = 'Adh002' AND "adherent_members"."organism_id" = 271) 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", Sat, 24 Aug 2013 15:42:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 271], ["updated_at", Sat, 24 Aug 2013 15:42: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" = 'Adh003' AND "adherent_members"."organism_id" = 271) 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", Sat, 24 Aug 2013 15:42:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 271], ["updated_at", Sat, 24 Aug 2013 15:42: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" = 'Adh004' AND "adherent_members"."organism_id" = 271) 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", Sat, 24 Aug 2013 15:42:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 271], ["updated_at", Sat, 24 Aug 2013 15:42:16 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-24 17:42:16 +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" = 271 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 342 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 342 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 343 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 343 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 344 ORDER BY to_date Adherent::Coord Load (0.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 344 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 345 ORDER BY to_date Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 345 LIMIT 1 Adherent::Adhesion Load (4.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 346 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 346 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 47ms (Views: 35.4ms | ActiveRecord: 7.7ms) Adherent::Member Load (1.2ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/342/edit" for 127.0.0.1 at 2013-08-24 17:42:16 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"342"} 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", "342"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (15.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 131ms (Views: 127.5ms | ActiveRecord: 0.9ms)  (8.5ms) ROLLBACK  (0.1ms) BEGIN Organism Load (1.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (2.1ms) SAVEPOINT active_record_1 SQL (4.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:42:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:42:16 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 272) 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", Sat, 24 Aug 2013 15:42:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 272], ["updated_at", Sat, 24 Aug 2013 15:42:16 UTC +00:00]]  (1.6ms) 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" = 'Adh001' AND "adherent_members"."organism_id" = 272) 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", Sat, 24 Aug 2013 15:42:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 272], ["updated_at", Sat, 24 Aug 2013 15:42:16 UTC +00:00]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 272) 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", Sat, 24 Aug 2013 15:42:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 272], ["updated_at", Sat, 24 Aug 2013 15:42:16 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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" = 272) 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", Sat, 24 Aug 2013 15:42:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 272], ["updated_at", Sat, 24 Aug 2013 15:42:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.5ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 272) 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", Sat, 24 Aug 2013 15:42:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 272], ["updated_at", Sat, 24 Aug 2013 15:42:16 UTC +00:00]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 17:42:16 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (3.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 272 Adherent::Adhesion Load (4.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 347 ORDER BY to_date Adherent::Coord Load (2.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 347 LIMIT 1 Adherent::Adhesion Load (2.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 348 ORDER BY to_date Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 348 LIMIT 1 Adherent::Adhesion Load (6.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 349 ORDER BY to_date Adherent::Coord Load (1.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 349 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 350 ORDER BY to_date Adherent::Coord Load (1.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 350 LIMIT 1 Adherent::Adhesion Load (5.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 351 ORDER BY to_date Adherent::Coord Load (3.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 351 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 76ms (Views: 38.6ms | ActiveRecord: 34.6ms) Adherent::Member Load (3.0ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/347/payments" for 127.0.0.1 at 2013-08-24 17:42:16 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"347"} Organism Load (3.7ms) 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", "347"]] Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 347 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 50ms (Views: 32.9ms | ActiveRecord: 10.0ms)  (5.5ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.7ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:42:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:42:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SAVEPOINT active_record_1 Adherent::Member Exists (6.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 273) 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", Sat, 24 Aug 2013 15:42:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 273], ["updated_at", Sat, 24 Aug 2013 15:42: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" = 'Adh001' AND "adherent_members"."organism_id" = 273) 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", Sat, 24 Aug 2013 15:42:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 273], ["updated_at", Sat, 24 Aug 2013 15:42: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" = 'Adh002' AND "adherent_members"."organism_id" = 273) 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", Sat, 24 Aug 2013 15:42:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 273], ["updated_at", Sat, 24 Aug 2013 15:42: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" = 'Adh003' AND "adherent_members"."organism_id" = 273) 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", Sat, 24 Aug 2013 15:42:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 273], ["updated_at", Sat, 24 Aug 2013 15:42:16 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 273) 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", Sat, 24 Aug 2013 15:42:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 273], ["updated_at", Sat, 24 Aug 2013 15:42:16 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-24 17:42:16 +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" = 273 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 352 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 352 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 353 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 353 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 354 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 354 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 355 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 355 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 356 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 356 LIMIT 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 32ms (Views: 25.2ms | ActiveRecord: 3.6ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/352/adhesions" for 127.0.0.1 at 2013-08-24 17:42:16 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"352"} 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", "352"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 352 Redirected to http://www.example.com/adherent/members/352/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 1.1ms) Started GET "/adherent/members/352/adhesions/new" for 127.0.0.1 at 2013-08-24 17:42:16 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"352"} Organism Load (0.4ms) 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", "352"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 352 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 352 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (16.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 153ms (Views: 143.5ms | 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 (0.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:42:17 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:42:17 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" = 274) 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", Sat, 24 Aug 2013 15:42:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 274], ["updated_at", Sat, 24 Aug 2013 15:42:17 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.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" = 274) 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", Sat, 24 Aug 2013 15:42:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 274], ["updated_at", Sat, 24 Aug 2013 15:42:17 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" = 'Adh002' AND "adherent_members"."organism_id" = 274) 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", Sat, 24 Aug 2013 15:42:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 274], ["updated_at", Sat, 24 Aug 2013 15:42:17 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" = 274) 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", Sat, 24 Aug 2013 15:42:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 274], ["updated_at", Sat, 24 Aug 2013 15:42:17 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" = 274) 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", Sat, 24 Aug 2013 15:42:17 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 274], ["updated_at", Sat, 24 Aug 2013 15:42:17 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-24 17:42:17 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (6.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 27ms (Views: 22.9ms | ActiveRecord: 0.4ms)  (1.3ms) SELECT COUNT(*) FROM "adherent_members"  Started POST "/adherent/members" for 127.0.0.1 at 2013-08-24 17:42:17 +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.4ms) 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" = 274) 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", Sat, 24 Aug 2013 15:42:17 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 274], ["updated_at", Sat, 24 Aug 2013 15:42:17 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/362/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.3ms) Started GET "/adherent/members/362/coord/new" for 127.0.0.1 at 2013-08-24 17:42:17 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"362"} 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", "362"]] Adherent::Coord Load (0.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 362 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.9ms) 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 15ms (Views: 11.8ms | ActiveRecord: 0.5ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  (14.1ms) ROLLBACK Connecting to database specified by database.yml  (1.1ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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", Sat, 24 Aug 2013 15:43:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:37 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" = 'Adh000' AND "adherent_members"."organism_id" = 275) 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", nil], ["created_at", Sat, 24 Aug 2013 15:43:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 275], ["updated_at", Sat, 24 Aug 2013 15:43:37 UTC +00:00]]  (2.6ms) 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" = 275) 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", Sat, 24 Aug 2013 15:43:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 275], ["updated_at", Sat, 24 Aug 2013 15:43:37 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" = 275) 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", Sat, 24 Aug 2013 15:43:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 275], ["updated_at", Sat, 24 Aug 2013 15:43:37 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" = 275) 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", Sat, 24 Aug 2013 15:43:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 275], ["updated_at", Sat, 24 Aug 2013 15:43:37 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" = 'Adh004' AND "adherent_members"."organism_id" = 275) 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", Sat, 24 Aug 2013 15:43:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 275], ["updated_at", Sat, 24 Aug 2013 15:43:37 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-24 17:43:37 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (2.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (4.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 275 Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 363 ORDER BY to_date Adherent::Coord Load (1.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 363 LIMIT 1 Adherent::Adhesion Load (2.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 364 ORDER BY to_date Adherent::Coord Load (3.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 364 LIMIT 1 Adherent::Adhesion Load (1.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 365 ORDER BY to_date Adherent::Coord Load (1.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 365 LIMIT 1 Adherent::Adhesion Load (3.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 366 ORDER BY to_date Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 366 LIMIT 1 Adherent::Adhesion Load (5.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 367 ORDER BY to_date Adherent::Coord Load (8.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 367 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (141.5ms) Rendered layouts/adherent/_header.html.haml (1.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (120.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (5.7ms) Completed 200 OK in 436ms (Views: 286.2ms | ActiveRecord: 49.6ms)  (0.5ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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" = 276) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 276], ["updated_at", Sat, 24 Aug 2013 15:43:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 276) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 276], ["updated_at", Sat, 24 Aug 2013 15:43:38 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" = 'Adh002' AND "adherent_members"."organism_id" = 276) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 276], ["updated_at", Sat, 24 Aug 2013 15:43:38 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 276) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 276], ["updated_at", Sat, 24 Aug 2013 15:43:38 UTC +00:00]]  (2.5ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 276) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 276], ["updated_at", Sat, 24 Aug 2013 15:43:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 17:43:38 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (3.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 276 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 368 ORDER BY to_date Adherent::Coord Load (1.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 368 LIMIT 1 Adherent::Adhesion Load (1.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 369 ORDER BY to_date Adherent::Coord Load (1.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 369 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 370 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 370 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 371 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 371 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 372 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 372 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 58ms (Views: 42.2ms | ActiveRecord: 13.0ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:38 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" = 277) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 277], ["updated_at", Sat, 24 Aug 2013 15:43:38 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" = 'Adh001' AND "adherent_members"."organism_id" = 277) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 277], ["updated_at", Sat, 24 Aug 2013 15:43:38 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" = 277) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 277], ["updated_at", Sat, 24 Aug 2013 15:43:38 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" = 277) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 277], ["updated_at", Sat, 24 Aug 2013 15:43:38 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" = 'Adh004' AND "adherent_members"."organism_id" = 277) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 277], ["updated_at", Sat, 24 Aug 2013 15:43:38 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/new" for 127.0.0.1 at 2013-08-24 17:43:38 +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 (21.8ms) 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 31ms (Views: 26.4ms | ActiveRecord: 0.3ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_members" Started POST "/adherent/members" for 127.0.0.1 at 2013-08-24 17:43:38 +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.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'ADH1' AND "adherent_members"."organism_id" = 277) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 277], ["updated_at", Sat, 24 Aug 2013 15:43:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/378/coord/new Completed 302 Found in 10ms (ActiveRecord: 1.3ms) Started GET "/adherent/members/378/coord/new" for 127.0.0.1 at 2013-08-24 17:43:38 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"378"} 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", "378"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 378 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (79.2ms) Rendered layouts/adherent/_header.html.haml (0.1ms) 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.1ms) Completed 200 OK in 102ms (Views: 85.6ms | ActiveRecord: 1.1ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"   (0.0ms) 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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:38 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" = 278) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 278], ["updated_at", Sat, 24 Aug 2013 15:43:38 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" = 'Adh001' AND "adherent_members"."organism_id" = 278) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 278], ["updated_at", Sat, 24 Aug 2013 15:43:38 UTC +00:00]]  (0.0ms) 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" = 278) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 278], ["updated_at", Sat, 24 Aug 2013 15:43:38 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" = 278) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 278], ["updated_at", Sat, 24 Aug 2013 15:43:38 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" = 278) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 278], ["updated_at", Sat, 24 Aug 2013 15:43:38 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-24 17:43:38 +0200 Processing by Adherent::MembersController#index as HTML 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"."organism_id" = 278 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 379 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 379 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 380 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 380 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 381 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 381 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 382 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 382 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 383 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 383 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: 34.2ms | ActiveRecord: 4.4ms) Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 379 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 379 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", #], ["created_at", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 379], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/379/adhesions" for 127.0.0.1 at 2013-08-24 17:43:38 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"379"} Organism Load (0.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", "379"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 379 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 379  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 161 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 161 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: 20.8ms | ActiveRecord: 3.1ms)  (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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:38 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" = 279) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 279], ["updated_at", Sat, 24 Aug 2013 15:43:38 UTC +00:00]]  (0.0ms) 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" = 279) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 279], ["updated_at", Sat, 24 Aug 2013 15:43:38 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" = 279) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 279], ["updated_at", Sat, 24 Aug 2013 15:43:38 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" = 279) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 279], ["updated_at", Sat, 24 Aug 2013 15:43:38 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" = 279) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 279], ["updated_at", Sat, 24 Aug 2013 15:43:38 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" for 127.0.0.1 at 2013-08-24 17:43:38 +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" = 279 Adherent::Adhesion Load (1.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 384 ORDER BY to_date Adherent::Coord Load (1.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 384 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 385 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 385 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 386 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 386 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 387 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 387 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 388 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 388 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 47ms (Views: 38.8ms | ActiveRecord: 5.9ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/384/edit" for 127.0.0.1 at 2013-08-24 17:43:38 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"384"} 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", "384"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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.0ms) Completed 200 OK in 13ms (Views: 10.6ms | ActiveRecord: 0.7ms)  (0.2ms) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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" = 280) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 280], ["updated_at", Sat, 24 Aug 2013 15:43:38 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" = 280) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 280], ["updated_at", Sat, 24 Aug 2013 15:43:38 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" = 280) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 280], ["updated_at", Sat, 24 Aug 2013 15:43:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (9.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 280) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 280], ["updated_at", Sat, 24 Aug 2013 15:43:38 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" = 'Adh004' AND "adherent_members"."organism_id" = 280) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 280], ["updated_at", Sat, 24 Aug 2013 15:43:38 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-24 17:43:38 +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" = 280 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 389 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 389 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 390 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 390 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 391 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 391 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 392 ORDER BY to_date Adherent::Coord Load (2.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 392 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 393 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 393 LIMIT 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 76ms (Views: 67.6ms | ActiveRecord: 6.0ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 389], ["office", nil], ["tel", nil], ["updated_at", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["zip", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 389 LIMIT 1 Started GET "/adherent/members/389/coord" for 127.0.0.1 at 2013-08-24 17:43:38 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"389"} 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", "389"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 389 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.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 10ms (Views: 6.0ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:38 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" = 281) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 281], ["updated_at", Sat, 24 Aug 2013 15:43:38 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" = 281) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 281], ["updated_at", Sat, 24 Aug 2013 15:43:38 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" = 281) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 281], ["updated_at", Sat, 24 Aug 2013 15:43:38 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" = 281) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 281], ["updated_at", Sat, 24 Aug 2013 15:43:38 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" = 281) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 281], ["updated_at", Sat, 24 Aug 2013 15:43:38 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-24 17:43:38 +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" = 281 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 394 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 394 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 395 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 395 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 396 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 396 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 397 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 397 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 398 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 398 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 32ms (Views: 24.9ms | ActiveRecord: 3.7ms) Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-24 17:43:38 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (0.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (6.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 12ms (Views: 9.8ms | ActiveRecord: 0.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:38 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" = 282) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 282], ["updated_at", Sat, 24 Aug 2013 15:43:38 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" = 282) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 282], ["updated_at", Sat, 24 Aug 2013 15:43:38 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" = 282) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 282], ["updated_at", Sat, 24 Aug 2013 15:43:38 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" = 282) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 282], ["updated_at", Sat, 24 Aug 2013 15:43:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 282) 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", Sat, 24 Aug 2013 15:43:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 282], ["updated_at", Sat, 24 Aug 2013 15:43:38 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-24 17:43:38 +0200 Processing by Adherent::MembersController#index as HTML 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"."organism_id" = 282 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 399 ORDER BY to_date Adherent::Coord Load (1.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 399 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 400 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 400 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 401 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 401 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 402 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 402 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 403 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 403 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 34ms (Views: 26.5ms | ActiveRecord: 4.8ms) Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/399/coord" for 127.0.0.1 at 2013-08-24 17:43:39 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"399"} 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", "399"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 399 LIMIT 1 Redirected to http://www.example.com/adherent/members/399/coord/new Completed 302 Found in 50ms (ActiveRecord: 0.9ms) Started GET "/adherent/members/399/coord/new" for 127.0.0.1 at 2013-08-24 17:43:39 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"399"} 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", "399"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 399 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.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: 11.8ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) 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", Sat, 24 Aug 2013 15:43:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:39 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" = 'Adh000' AND "adherent_members"."organism_id" = 283) 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", Sat, 24 Aug 2013 15:43:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 283], ["updated_at", Sat, 24 Aug 2013 15:43:39 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" = 283) 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", Sat, 24 Aug 2013 15:43:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 283], ["updated_at", Sat, 24 Aug 2013 15:43:39 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" = 283) 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", Sat, 24 Aug 2013 15:43:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 283], ["updated_at", Sat, 24 Aug 2013 15:43:39 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" = 283) 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", Sat, 24 Aug 2013 15:43:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 283], ["updated_at", Sat, 24 Aug 2013 15:43:39 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" = 283) 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", Sat, 24 Aug 2013 15:43:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 283], ["updated_at", Sat, 24 Aug 2013 15:43:39 UTC +00:00]]  (0.0ms) 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-24 17:43:39 +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 (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 283 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 404 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 404 LIMIT 1 Adherent::Adhesion Load (3.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 405 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 405 LIMIT 1 Adherent::Adhesion Load (3.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 406 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 406 LIMIT 1 Adherent::Adhesion Load (2.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 407 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 407 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 408 ORDER BY to_date Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 408 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 60ms (Views: 44.3ms | ActiveRecord: 13.7ms) Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/404/adhesions" for 127.0.0.1 at 2013-08-24 17:43:39 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"404"} Organism Load (1.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", "404"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 404 Redirected to http://www.example.com/adherent/members/404/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/404/adhesions/new" for 127.0.0.1 at 2013-08-24 17:43:39 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"404"} 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", "404"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 404 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 404 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (13.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 24ms (Views: 18.4ms | ActiveRecord: 1.6ms)  (0.1ms) 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 (1.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:43:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:39 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" = 284) 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", Sat, 24 Aug 2013 15:43:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 284], ["updated_at", Sat, 24 Aug 2013 15:43:39 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" = 284) 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", Sat, 24 Aug 2013 15:43:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 284], ["updated_at", Sat, 24 Aug 2013 15:43:39 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" = 284) 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", Sat, 24 Aug 2013 15:43:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 284], ["updated_at", Sat, 24 Aug 2013 15:43:39 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" = 284) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 15:43:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 284], ["updated_at", Sat, 24 Aug 2013 15:43:39 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" = 284) 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", Sat, 24 Aug 2013 15:43:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 284], ["updated_at", Sat, 24 Aug 2013 15:43:39 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-24 17:43:39 +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" = 284 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 409 ORDER BY to_date Adherent::Coord Load (1.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 409 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 410 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 410 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 411 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 411 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 412 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 412 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 413 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 413 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 31ms (Views: 23.5ms | ActiveRecord: 3.8ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/409/payments" for 127.0.0.1 at 2013-08-24 17:43:39 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"409"} 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", "409"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 409 Rendered layouts/adherent/_header.html.haml (0.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 20ms (Views: 14.5ms | ActiveRecord: 3.2ms)  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (1.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (4.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:43:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:52 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" = 285) LIMIT 1 SQL (1.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", Sat, 24 Aug 2013 15:43:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 285], ["updated_at", Sat, 24 Aug 2013 15:43:52 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/414/coord/new" for 127.0.0.1 at 2013-08-24 17:43:52 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"414"} Organism Load (0.3ms) 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", "414"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 414 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (40.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/new.html.erb within layouts/adherent/application (47.2ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 139ms (Views: 64.6ms | ActiveRecord: 2.4ms) Started POST "/adherent/members/414/coord" for 127.0.0.1 at 2013-08-24 17:43:52 +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"=>"414"} 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", "414"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 414 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", Sat, 24 Aug 2013 15:43:52 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 414], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 15:43:52 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/414/adhesions/new Completed 302 Found in 9ms (ActiveRecord: 1.6ms) Started GET "/adherent/members/414/adhesions/new" for 127.0.0.1 at 2013-08-24 17:43:52 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"414"} 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", "414"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 414 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 414 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (14.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/new.html.erb within layouts/adherent/application (16.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 88ms (Views: 20.8ms | ActiveRecord: 3.4ms)  (0.5ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.4ms) 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", Sat, 24 Aug 2013 15:43:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:52 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" = 286) 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", Sat, 24 Aug 2013 15:43:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 286], ["updated_at", Sat, 24 Aug 2013 15:43:52 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/415/coord/new" for 127.0.0.1 at 2013-08-24 17:43:52 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"415"} 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", "415"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 415 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.5ms) Rendered layouts/adherent/_header.html.haml (0.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 18ms (Views: 14.5ms | ActiveRecord: 0.8ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_coords" Started POST "/adherent/members/415/coord" for 127.0.0.1 at 2013-08-24 17:43:52 +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"=>"415"} 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", "415"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 415 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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", Sat, 24 Aug 2013 15:43:52 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 415], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 15:43:52 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/415/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 1.7ms) Started GET "/adherent/members/415/adhesions/new" for 127.0.0.1 at 2013-08-24 17:43:52 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"415"} 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", "415"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 415 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 415 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 14ms (Views: 8.2ms | ActiveRecord: 1.2ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"   (0.3ms) 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 (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:43:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:52 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" = 'Adh000' AND "adherent_members"."organism_id" = 287) 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", Sat, 24 Aug 2013 15:43:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 287], ["updated_at", Sat, 24 Aug 2013 15:43:52 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/416/coord/new" for 127.0.0.1 at 2013-08-24 17:43:52 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"416"} 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", "416"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 416 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.0ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 18ms (Views: 13.3ms | ActiveRecord: 1.0ms) Started POST "/adherent/members/416/coord" for 127.0.0.1 at 2013-08-24 17:43:52 +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"=>"416"} 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", "416"]] Adherent::Coord Load (0.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 416 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", Sat, 24 Aug 2013 15:43:52 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 416], ["office", ""], ["tel", ""], ["updated_at", Sat, 24 Aug 2013 15:43:52 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/416/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 2.1ms) Started GET "/adherent/members/416/adhesions/new" for 127.0.0.1 at 2013-08-24 17:43:52 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"416"} 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", "416"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 416 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 416 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 14ms (Views: 8.9ms | ActiveRecord: 0.9ms) Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 416 LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (1.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:43:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:52 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" = 288) 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", Sat, 24 Aug 2013 15:43:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 288], ["updated_at", Sat, 24 Aug 2013 15:43:52 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/417/coord/new" for 127.0.0.1 at 2013-08-24 17:43:52 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"417"} 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", "417"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 417 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (26.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 34ms (Views: 29.0ms | ActiveRecord: 1.0ms)  (0.8ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.7ms) 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.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", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 418], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 15:43:53 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" = 418 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 418 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", #], ["created_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 418], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.3ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 418], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 418 LIMIT 1 Adherent::Adhesion Load (14.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 418 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 162  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 163  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 162 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 162], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["payment_id", 64], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 163 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 163], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["payment_id", 64], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"   (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", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:43:53 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", #], ["created_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 419], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 15:43:53 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" = 419 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 419 ORDER BY to_date DESC LIMIT 1  (0.2ms) 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", #], ["created_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 419], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 15:43:53 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", #], ["created_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 419], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]] Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 419 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 419 ORDER BY to_date  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 164  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 165  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 164 SQL (1.4ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 164], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["payment_id", 65], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.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", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 420], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 15:43:53 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" = 420 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 420 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", #], ["created_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["from_date", Wed, 25 Sep 2013], ["member_id", 420], ["to_date", Wed, 24 Sep 2014], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 420], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 420 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 420 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 166  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 167  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 166 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", 166], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["payment_id", 66], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 167 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 167], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["payment_id", 66], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 66  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 66  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1002"} 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", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1001/payments Completed 302 Found in 6ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1004"} 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", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" Completed 200 OK in 26ms (Views: 19.8ms | ActiveRecord: 1.2ms)  (1.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1007"} 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", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:53 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 7ms (Views: 2.3ms | ActiveRecord: 1.1ms)  (1.0ms) 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", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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" = 292) 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", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 292], ["updated_at", Sat, 24 Aug 2013 15:43:53 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" = 421 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 421 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", #], ["created_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 421], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 421], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 421 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 421 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 168  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/421/payments" for 127.0.0.1 at 2013-08-24 17:43:53 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"421"} 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", "421"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 421 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 67 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 67  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 67 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 67 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 67 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 22ms (Views: 15.8ms | 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  (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:43:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:53 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" = 293) 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", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 293], ["updated_at", Sat, 24 Aug 2013 15:43:53 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" = 422 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 422 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", #], ["created_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 422], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 422], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 422 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 422 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 169  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/422/payments" for 127.0.0.1 at 2013-08-24 17:43:53 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"422"} 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", "422"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 422 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 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.4ms | ActiveRecord: 1.7ms) Started GET "/adherent/payments/68/reglements/new" for 127.0.0.1 at 2013-08-24 17:43:53 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"68"} 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", "68"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 422 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 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" = 169 Adherent::Reglement Load (0.9ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (13.6ms) 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 38ms (Views: 30.3ms | ActiveRecord: 2.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (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:43:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:53 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" = 294) 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", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 294], ["updated_at", Sat, 24 Aug 2013 15:43:53 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" = 423 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 423 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", #], ["created_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 423], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/423/payments/new" for 127.0.0.1 at 2013-08-24 17:43:53 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"423"} 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", "423"]] Adherent::Adhesion Load (2.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 423 ORDER BY to_date  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 170 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (14.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 47ms (Views: 33.8ms | ActiveRecord: 3.9ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 423 Started POST "/adherent/members/423/payments" for 127.0.0.1 at 2013-08-24 17:43:53 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"423"} 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", "423"]]  (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", #], ["created_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 423], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 423 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 423 ORDER BY to_date  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 170  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/423/adhesions Completed 302 Found in 12ms (ActiveRecord: 1.8ms) Started GET "/adherent/members/423/adhesions" for 127.0.0.1 at 2013-08-24 17:43:53 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"423"} 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", "423"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 423 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 423  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 170 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 170 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.0ms | ActiveRecord: 1.4ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 423  (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 (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:43:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:53 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" = 295) 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", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 295], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (0.2ms) 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" = 424 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 424 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", #], ["created_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 424], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/424/payments/new" for 127.0.0.1 at 2013-08-24 17:43:53 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"424"} 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", "424"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 424 ORDER BY to_date  (1.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 171 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 18ms (Views: 11.4ms | ActiveRecord: 2.0ms)  (0.1ms) 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.1ms) ROLLBACK  (0.0ms) BEGIN  (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" = 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", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", nil], ["city", "Lille"], ["created_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 425], ["office", nil], ["tel", nil], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 425 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) SAVEPOINT active_record_1 SQL (30.4ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 15]] SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 425]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1011"} 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", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 17ms (Views: 12.7ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1013"} 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", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1013/coord Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1015"} 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", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 2.8ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1017"} 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", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1017/coord Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1019"} 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", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 2.8ms)  (0.0ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1021"} 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", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1023"} Organism Load (2.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", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.1ms | ActiveRecord: 2.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1025"} 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", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1027"} Organism Load (0.8ms) 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", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1029"} Organism Load (0.1ms) 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", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 2.2ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1031"} Organism Load (0.3ms) 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", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1031/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 1.4ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) COMMIT  (0.3ms) 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", Sat, 24 Aug 2013 15:43:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:53 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" = 307) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 307], ["updated_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 307) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 307], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 307) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 307], ["updated_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 307) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 307], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 'Adh004' AND "adherent_members"."organism_id" = 307) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 307], ["updated_at", Sat, 24 Aug 2013 15:43:54 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-24 17:43:54 +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" = 307 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 426 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 426 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 427 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 427 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 428 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 428 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 429 ORDER BY to_date Adherent::Coord Load (0.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 429 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 430 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 430 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 44ms (Views: 33.4ms | ActiveRecord: 4.4ms)  (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 (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:43:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 'Adh000' AND "adherent_members"."organism_id" = 308) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 308], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 308) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 308], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 308) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 308], ["updated_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 308) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 308], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 308) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 308], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" for 127.0.0.1 at 2013-08-24 17:43:54 +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" = 308 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 431 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 431 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 432 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 432 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 433 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 433 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 434 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 434 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 435 ORDER BY to_date Adherent::Coord Load (1.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 435 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 30ms (Views: 23.5ms | ActiveRecord: 4.0ms)  (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 (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:43:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00]]  (0.0ms) 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" = 309) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 309], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 309) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 309], ["updated_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 309) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 309], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 309) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 309], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 'Adh004' AND "adherent_members"."organism_id" = 309) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 309], ["updated_at", Sat, 24 Aug 2013 15:43:54 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/new" for 127.0.0.1 at 2013-08-24 17:43:54 +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 (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: 12.6ms | ActiveRecord: 0.6ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  Started POST "/adherent/members" for 127.0.0.1 at 2013-08-24 17:43:54 +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.4ms) 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" = 309) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 309], ["updated_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/441/coord/new Completed 302 Found in 9ms (ActiveRecord: 1.1ms) Started GET "/adherent/members/441/coord/new" for 127.0.0.1 at 2013-08-24 17:43:54 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"441"} 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", "441"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 441 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (10.1ms) 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 17ms (Views: 13.4ms | ActiveRecord: 0.7ms)  (0.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.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:43:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 310) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 310], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 310) LIMIT 1 SQL (0.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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 310], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 310) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 310], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 310) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 310], ["updated_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 310) LIMIT 1 SQL (15.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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 310], ["updated_at", Sat, 24 Aug 2013 15:43:54 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-24 17:43:54 +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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 310 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 442 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 442 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 443 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 443 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 444 ORDER BY to_date Adherent::Coord Load (1.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 444 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 445 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 445 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 446 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 446 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 85ms (Views: 76.5ms | ActiveRecord: 4.6ms) Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-24 17:43:54 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (6.6ms) Rendered layouts/adherent/_header.html.haml (1.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 17ms (Views: 15.0ms | ActiveRecord: 0.4ms)  (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.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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 311) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 311], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 311) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 311], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 311) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 311], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 311) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 311], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 311) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 311], ["updated_at", Sat, 24 Aug 2013 15:43:54 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-24 17:43:54 +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 (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 311 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 447 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 447 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 448 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 448 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 449 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 449 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 450 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 450 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 451 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 451 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 33ms (Views: 24.8ms | ActiveRecord: 3.8ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" 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", nil], ["city", "Marseille"], ["created_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 447], ["office", nil], ["tel", nil], ["updated_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["zip", nil]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 447 LIMIT 1 Started GET "/adherent/members/447/coord" for 127.0.0.1 at 2013-08-24 17:43:54 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"447"} 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", "447"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 447 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 9ms (Views: 5.3ms | ActiveRecord: 0.8ms)  (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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 312) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 312], ["updated_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (8.6ms) 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" = 312) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 312], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 312) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 312], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 'Adh003' AND "adherent_members"."organism_id" = 312) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 312], ["updated_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00]]  (5.3ms) 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" = 312) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 312], ["updated_at", Sat, 24 Aug 2013 15:43:54 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-24 17:43:54 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.0ms) 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" = 312 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 452 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 452 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 453 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 453 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 454 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 454 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 455 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 455 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 456 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 456 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 30ms (Views: 22.8ms | ActiveRecord: 4.1ms) Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/452/adhesions" for 127.0.0.1 at 2013-08-24 17:43:54 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"452"} 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", "452"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 452 Redirected to http://www.example.com/adherent/members/452/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET "/adherent/members/452/adhesions/new" for 127.0.0.1 at 2013-08-24 17:43:54 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"452"} 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", "452"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 452 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 452 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 14ms (Views: 8.8ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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" = 313) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 313], ["updated_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 313) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 313], ["updated_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00]]  (0.4ms) 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" = 313) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 313], ["updated_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (9.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 313) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 313], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 313) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 313], ["updated_at", Sat, 24 Aug 2013 15:43:54 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-24 17:43:54 +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" = 313 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 457 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 457 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 458 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 458 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 459 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 459 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 460 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 460 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 461 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 461 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 30ms (Views: 22.9ms | ActiveRecord: 3.4ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 457 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 457 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", #], ["created_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 457], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/457/adhesions" for 127.0.0.1 at 2013-08-24 17:43:54 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"457"} 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", "457"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 457 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 457  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 172 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 172 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 11ms (Views: 7.2ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) COMMIT  (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 (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:43:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00]]  (0.0ms) 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" = 314) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 314], ["updated_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 314) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 314], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 314) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 314], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 314) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 314], ["updated_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 314) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 314], ["updated_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00]]  (0.3ms) 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-24 17:43:54 +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" = 314 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 462 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 462 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 463 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 463 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 464 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 464 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 465 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 465 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 466 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 466 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 33ms (Views: 26.1ms | ActiveRecord: 3.8ms) Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/462/edit" for 127.0.0.1 at 2013-08-24 17:43:54 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"462"} 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", "462"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (6.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 15ms (Views: 12.2ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.1ms) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 315) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 315], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 315) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 315], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 315) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 315], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 315) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 315], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 315) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 315], ["updated_at", Sat, 24 Aug 2013 15:43:54 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-24 17:43:54 +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.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 315 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 467 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 467 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 468 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 468 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 469 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 469 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 470 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 470 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 471 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 471 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 36ms (Views: 27.3ms | ActiveRecord: 4.3ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/467/payments" for 127.0.0.1 at 2013-08-24 17:43:54 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"467"} 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", "467"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 467 Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 9ms (Views: 5.5ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.3ms) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 316) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 316], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 'Adh001' AND "adherent_members"."organism_id" = 316) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 316], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 316) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 316], ["updated_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 316) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 316], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 316) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 316], ["updated_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 17:43:54 +0200 Processing by Adherent::MembersController#index as HTML 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"."organism_id" = 316 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 472 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 472 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 473 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 473 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 474 ORDER BY to_date Adherent::Coord Load (5.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 474 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 475 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 475 LIMIT 1 Adherent::Adhesion Load (1.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 476 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 476 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 91ms (Views: 76.4ms | ActiveRecord: 10.2ms) Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/472/coord" for 127.0.0.1 at 2013-08-24 17:43:54 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"472"} 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", "472"]] Adherent::Coord Load (0.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 472 LIMIT 1 Redirected to http://www.example.com/adherent/members/472/coord/new Completed 302 Found in 4ms (ActiveRecord: 0.5ms) Started GET "/adherent/members/472/coord/new" for 127.0.0.1 at 2013-08-24 17:43:54 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"472"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "472"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 472 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.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 16ms (Views: 12.0ms | ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.6ms) 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 (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:43:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00]]  (0.0ms) 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" = 317) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 317], ["updated_at", Sat, 24 Aug 2013 15:43:54 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" = 'Adh001' AND "adherent_members"."organism_id" = 317) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 317], ["updated_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00]]  (0.4ms) 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" = 317) 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", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 317], ["updated_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00]]  (0.2ms) 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" = 477 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 477 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", #], ["created_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 477], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/477/payments/new" for 127.0.0.1 at 2013-08-24 17:43:54 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"477"} 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", "477"]] Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 477 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 173 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 173 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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: 9.3ms | ActiveRecord: 1.7ms) Started POST "/adherent/members/477/payments" for 127.0.0.1 at 2013-08-24 17:43:54 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"477"} 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", "477"]]  (0.8ms) 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", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 477], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 477 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 477 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 173 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 173 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", 173], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["payment_id", 70], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/477/adhesions Completed 302 Found in 14ms (ActiveRecord: 3.2ms) Started GET "/adherent/members/477/adhesions" for 127.0.0.1 at 2013-08-24 17:43:55 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"477"} 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", "477"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 477 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 477  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 173 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 173 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: 7.6ms | ActiveRecord: 1.6ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 477 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 478 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 478 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", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 478], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 479 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 479 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.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", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 479], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/70/reglements/new" for 127.0.0.1 at 2013-08-24 17:43:55 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"70"} 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", "70"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 477 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70 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" = 173  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 174  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 175 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 478 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 174 Adherent::Member Load (1.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 479 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 175 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (26.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.0ms) Completed 200 OK in 48ms (Views: 35.8ms | ActiveRecord: 4.9ms)  (0.3ms) ROLLBACK  (0.6ms) BEGIN  (0.3ms) COMMIT  (0.3ms) BEGIN Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) 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", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (1.5ms) RELEASE SAVEPOINT active_record_1  (2.2ms) 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" = 318) 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", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 318], ["updated_at", Sat, 24 Aug 2013 15:43:55 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" = 318) 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", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 318], ["updated_at", Sat, 24 Aug 2013 15:43:55 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" = 318) 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", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 318], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 480 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 480 ORDER BY to_date DESC LIMIT 1  (0.6ms) 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", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 480], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/480/payments/new" for 127.0.0.1 at 2013-08-24 17:43:55 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"480"} 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", "480"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 480 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 176 CACHE (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 176 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (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 16ms (Views: 9.8ms | ActiveRecord: 1.9ms) Started POST "/adherent/members/480/payments" for 127.0.0.1 at 2013-08-24 17:43:55 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"480"} 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", "480"]]  (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", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 480], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]] Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 480 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 480 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 176 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 176 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", 176], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["payment_id", 71], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/480/adhesions Completed 302 Found in 14ms (ActiveRecord: 2.1ms) Started GET "/adherent/members/480/adhesions" for 127.0.0.1 at 2013-08-24 17:43:55 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"480"} 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", "480"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 480 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 480  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 176 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 176 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 14ms (Views: 7.8ms | ActiveRecord: 1.5ms) Adherent::Payment Load (1.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 480 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 481 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 481 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", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 481], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:55 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" = 482 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 482 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", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 482], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/71/reglements/new" for 127.0.0.1 at 2013-08-24 17:43:55 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"71"} Organism Load (0.4ms) 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", "71"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 480 LIMIT 1 Adherent::Reglement Load (0.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71  (1.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71 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" = 176  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 177  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 178 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 481 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 177 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 482 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 178 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.3ms) Rendered layouts/adherent/_header.html.haml (1.3ms) 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 24ms (Views: 12.7ms | ActiveRecord: 4.2ms)  (0.1ms) 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", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:55 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" = 'Adh000' AND "adherent_members"."organism_id" = 319) 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", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 319], ["updated_at", Sat, 24 Aug 2013 15:43:55 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" = 319) 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", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 319], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (0.8ms) 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" = 319) 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", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 319], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (0.0ms) 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" = 483 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 483 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", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 483], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/483/payments/new" for 127.0.0.1 at 2013-08-24 17:43:55 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"483"} 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", "483"]] Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 483 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 179 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 179 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 20ms (Views: 9.6ms | ActiveRecord: 1.6ms) Started POST "/adherent/members/483/payments" for 127.0.0.1 at 2013-08-24 17:43:55 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"483"} 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", "483"]]  (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", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 483], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 483 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 483 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 179 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 179 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", 179], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["payment_id", 72], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/483/adhesions Completed 302 Found in 13ms (ActiveRecord: 3.5ms) Started GET "/adherent/members/483/adhesions" for 127.0.0.1 at 2013-08-24 17:43:55 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"483"} 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", "483"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 483 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 483  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 179 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 179 Rendered layouts/adherent/_header.html.haml (0.1ms) 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.1ms) Completed 200 OK in 12ms (Views: 7.6ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 483 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 484 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 484 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", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 484], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:55 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" = 485 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 485 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", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 485], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/72/reglements/new" for 127.0.0.1 at 2013-08-24 17:43:55 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"72"} 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", "72"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 483 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72 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" = 179  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 180  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 181 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 484 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 180 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 485 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 181 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.9ms) 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: 13.2ms | ActiveRecord: 4.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) 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", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:55 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" = 'Adh000' AND "adherent_members"."organism_id" = 320) 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", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 320], ["updated_at", Sat, 24 Aug 2013 15:43:55 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" = 320) 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", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 320], ["updated_at", Sat, 24 Aug 2013 15:43:55 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" = 'Adh002' AND "adherent_members"."organism_id" = 320) 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", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 320], ["updated_at", Sat, 24 Aug 2013 15:43:55 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" = 486 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 486 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", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 486], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/486/payments/new" for 127.0.0.1 at 2013-08-24 17:43:55 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"486"} 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", "486"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 486 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 182 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 182 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 16ms (Views: 9.7ms | ActiveRecord: 1.0ms) Started POST "/adherent/members/486/payments" for 127.0.0.1 at 2013-08-24 17:43:55 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"486"} 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", "486"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 486], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 486 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 486 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 182 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 182 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", 182], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["payment_id", 73], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/486/adhesions Completed 302 Found in 13ms (ActiveRecord: 3.3ms) Started GET "/adherent/members/486/adhesions" for 127.0.0.1 at 2013-08-24 17:43:55 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"486"} 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", "486"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 486 [1mAdherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 486  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 182 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 182 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: 7.7ms | ActiveRecord: 1.6ms) Adherent::Payment Load (1.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 486 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 487 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 487 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", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 487], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:55 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" = 488 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 488 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", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 488], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/73/reglements/new" for 127.0.0.1 at 2013-08-24 17:43:55 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"73"} 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", "73"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 486 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 73  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 73 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" = 182  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 183  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 184 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 73 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 73 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 487 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 183 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 488 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 184 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_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.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.2ms) Completed 200 OK in 23ms (Views: 12.8ms | ActiveRecord: 3.6ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 486 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 182 Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 486 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 73  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 73  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN 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", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:55 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" = 321) 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", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 321], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 321) 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", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 321], ["updated_at", Sat, 24 Aug 2013 15:43:55 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" = 'Adh002' AND "adherent_members"."organism_id" = 321) 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", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 321], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 489 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 489 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", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 489], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/489/payments/new" for 127.0.0.1 at 2013-08-24 17:43:55 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"489"} Organism Load (0.8ms) 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", "489"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 489 ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 185 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 185 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 20ms (Views: 8.7ms | ActiveRecord: 2.0ms) Started POST "/adherent/members/489/payments" for 127.0.0.1 at 2013-08-24 17:43:55 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"489"} 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", "489"]]  (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", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 489], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 489 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 489 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 185 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 185 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", 185], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["payment_id", 74], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/489/adhesions Completed 302 Found in 15ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/489/adhesions" for 127.0.0.1 at 2013-08-24 17:43:55 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"489"} 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", "489"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 489 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 489  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 185 CACHE (1.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 185 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 12ms (Views: 6.8ms | ActiveRecord: 3.1ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 489 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 490 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 490 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", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 490], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 491 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 491 ORDER BY to_date DESC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (14.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 491], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/74/reglements/new" for 127.0.0.1 at 2013-08-24 17:43:55 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"74"} Organism Load (0.2ms) 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", "74"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 489 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 74  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 74 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 185  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 186  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 187 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 74 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 74 Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 490 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 186 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 491 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 187 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 23ms (Views: 12.7ms | ActiveRecord: 3.6ms) Started POST "/adherent/payments/74/reglements" for 127.0.0.1 at 2013-08-24 17:43:55 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"186"}, "commit"=>"Enregistrer", "payment_id"=>"74"} Organism Load (0.2ms) 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", "74"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "186"]] Adherent::Reglement Load (1.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 74  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 74  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 186  (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", 186], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["payment_id", 74], ["updated_at", Sat, 24 Aug 2013 15:43:55 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" = 489 LIMIT 1 Redirected to http://www.example.com/adherent/members/489/payments Completed 302 Found in 11ms (ActiveRecord: 3.6ms) Started GET "/adherent/members/489/payments" for 127.0.0.1 at 2013-08-24 17:43:55 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"489"} 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", "489"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 489 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 74 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 186 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 490 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 185 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 489 LIMIT 1 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 74  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 74 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 74 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 74 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 22ms (Views: 18.0ms | ActiveRecord: 2.6ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 490 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 186  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 186  (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 (0.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:55 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" = 322) 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", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 322], ["updated_at", Sat, 24 Aug 2013 15:43:55 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" = 322) 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", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 322], ["updated_at", Sat, 24 Aug 2013 15:43:55 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" = 'Adh002' AND "adherent_members"."organism_id" = 322) 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", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 322], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 492 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 492 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", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 492], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/492/payments/new" for 127.0.0.1 at 2013-08-24 17:43:55 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"492"} 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", "492"]] Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 492 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 188 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 188 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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 18ms (Views: 8.9ms | ActiveRecord: 2.2ms) Started POST "/adherent/members/492/payments" for 127.0.0.1 at 2013-08-24 17:43:55 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"492"} 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", "492"]]  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 492], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 492 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 492 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 188 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 188 SQL (0.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 188], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["payment_id", 75], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/492/adhesions Completed 302 Found in 12ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/492/adhesions" for 127.0.0.1 at 2013-08-24 17:43:55 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"492"} 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", "492"]]  (0.5ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 492 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 492  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 188 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 188 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 14ms (Views: 7.8ms | ActiveRecord: 1.6ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 492 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 493 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 493 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", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 493], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:55 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" = 494 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 494 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", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 494], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/75/reglements/new" for 127.0.0.1 at 2013-08-24 17:43:55 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"75"} 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", "75"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 492 LIMIT 1 Adherent::Reglement Load (0.9ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75 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" = 188  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 189  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 190 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 493 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 189 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 494 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 190 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 23ms (Views: 12.6ms | ActiveRecord: 3.6ms) Started POST "/adherent/payments/75/reglements" for 127.0.0.1 at 2013-08-24 17:43:55 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"189"}, "commit"=>"Enregistrer", "payment_id"=>"75"} 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", "75"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "189"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 189  (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", 189], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["payment_id", 75], ["updated_at", Sat, 24 Aug 2013 15:43:55 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" = 492 LIMIT 1 Redirected to http://www.example.com/adherent/members/492/payments Completed 302 Found in 10ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/492/payments" for 127.0.0.1 at 2013-08-24 17:43:55 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"492"} 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", "492"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 492 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 189 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 493 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 188 LIMIT 1 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 492 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75 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 76ms (Views: 71.4ms | ActiveRecord: 3.5ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements"   (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.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:43:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:55 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" = 323) 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", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 323], ["updated_at", Sat, 24 Aug 2013 15:43:55 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" = 323) 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", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 323], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (0.1ms) 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" = 'Adh002' AND "adherent_members"."organism_id" = 323) 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", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 323], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (1.2ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 495 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 495 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", #], ["created_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 495], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:55 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/495/payments/new" for 127.0.0.1 at 2013-08-24 17:43:55 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"495"} Organism Load (1.0ms) 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", "495"]] Adherent::Adhesion Load (2.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 495 ORDER BY to_date  (3.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 191 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 191 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (14.5ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 37ms (Views: 19.1ms | ActiveRecord: 7.5ms) Started POST "/adherent/members/495/payments" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"495"} 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", "495"]]  (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", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 495], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 495 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 495 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 191 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 191 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", 191], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["payment_id", 76], ["updated_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/495/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/495/adhesions" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"495"} 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", "495"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 495 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 495  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 191 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 191 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 12ms (Views: 8.0ms | ActiveRecord: 1.3ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 495 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 496 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 496 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", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 496], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 497 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 497 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", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 497], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/76/reglements/new" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"76"} Organism Load (0.6ms) 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", "76"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 495 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 76  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 76 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (2.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 191  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 192  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 193 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 76 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 76 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 496 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 192 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 497 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 193 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.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 30ms (Views: 13.6ms | ActiveRecord: 5.6ms) Started POST "/adherent/payments/76/reglements" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"192"}, "commit"=>"Enregistrer", "payment_id"=>"76"} Organism Load (0.4ms) 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", "76"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "192"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 76  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 76  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 192  (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", 192], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["payment_id", 76], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 495 LIMIT 1 Redirected to http://www.example.com/adherent/members/495/payments Completed 302 Found in 10ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/495/payments" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"495"} 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", "495"]] Adherent::Payment Load (1.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 495 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 76 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 192 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 496 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 191 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 495 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 76  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 76 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 76 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 76 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 18ms (Views: 13.2ms | ActiveRecord: 3.4ms)  (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 (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:43:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 324) 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", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 324], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 'Adh001' AND "adherent_members"."organism_id" = 324) 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", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 324], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 324) 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", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 324], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 498 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 498 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", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 498], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/498/payments/new" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"498"} 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", "498"]] Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 498 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 194 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 194 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 19ms (Views: 9.4ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/498/payments" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"498"} 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", "498"]]  (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", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 498], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 498 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 498 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 194 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 194 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", 194], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["payment_id", 77], ["updated_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/498/adhesions Completed 302 Found in 12ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/498/adhesions" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"498"} 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", "498"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 498 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 498  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 194 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 194 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: 7.5ms | ActiveRecord: 1.7ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 498 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 499 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 499 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", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 499], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 500 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 500 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", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 500], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/77/reglements/new" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"77"} 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", "77"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 498 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 77  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 77 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" = 194  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 195  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 196 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 77 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 77 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 499 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 195 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 500 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 196 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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: 13.8ms | ActiveRecord: 3.0ms) Started POST "/adherent/payments/77/reglements" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"195"}, "commit"=>"Enregistrer", "payment_id"=>"77"} 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", "77"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "195"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 77  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 77  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 195  (0.2ms) 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", 195], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["payment_id", 77], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 498 LIMIT 1 Redirected to http://www.example.com/adherent/members/498/payments Completed 302 Found in 11ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/498/payments" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"498"} 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", "498"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 498 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 77 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 195 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 499 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 194 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 498 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 77  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 77 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 77 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 77 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: 15.5ms | ActiveRecord: 2.9ms) Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 194 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 498 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (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:43:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 'Adh000' AND "adherent_members"."organism_id" = 325) 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", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 325], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 325) 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", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 325], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 325) 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", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 325], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 501 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 501 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", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 501], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/501/payments/new" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"501"} 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", "501"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 501 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 197 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 197 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 18ms (Views: 9.4ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/501/payments" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"501"} 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", "501"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 501], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 501 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 501 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 197 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 197 SQL (15.6ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 197], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["payment_id", 78], ["updated_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/501/adhesions Completed 302 Found in 28ms (ActiveRecord: 18.2ms) Started GET "/adherent/members/501/adhesions" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"501"} 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", "501"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 501 Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 501  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 197 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 197 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: 7.2ms | ActiveRecord: 2.5ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 501 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 502 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 502 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", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 502], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 503 Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 503 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", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 503], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/78/reglements/new" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"78"} 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", "78"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 501 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 78  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 78 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" = 197  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 198  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 199 Adherent::Reglement Load (1.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 78 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 78 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 502 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 198 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 503 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 199 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 82ms (Views: 70.3ms | ActiveRecord: 3.9ms) Started POST "/adherent/payments/78/reglements" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"198"}, "commit"=>"Enregistrer", "payment_id"=>"78"} 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", "78"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "198"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 78  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 78  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 198  (0.2ms) 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", 198], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["payment_id", 78], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 501 LIMIT 1 Redirected to http://www.example.com/adherent/members/501/payments Completed 302 Found in 10ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/501/payments" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"501"} 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", "501"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 501 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 78 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 198 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 502 LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 197 LIMIT 1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 501 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 78  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 78 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 78 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 78 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.0ms | ActiveRecord: 3.6ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" ORDER BY "adherent_reglements"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 198 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 502 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (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:43:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 326) 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", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 326], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 326) 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", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 326], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 326) 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", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 326], ["updated_at", Sat, 24 Aug 2013 15:43:56 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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 504 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 504 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", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 504], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/504/payments/new" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"504"} 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", "504"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 504 ORDER BY to_date  (1.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 200 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 200 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 19ms (Views: 9.1ms | ActiveRecord: 1.9ms) Started POST "/adherent/members/504/payments" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"504"} Organism Load (1.0ms) 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"."id" = $1 LIMIT 1 [["id", "504"]]  (1.3ms) SAVEPOINT active_record_1 SQL (2.1ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 504], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00]] Adherent::Member Load (1.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 504 LIMIT 1 Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 504 ORDER BY to_date  (2.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 200 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 200 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", 200], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["payment_id", 79], ["updated_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/504/adhesions Completed 302 Found in 28ms (ActiveRecord: 12.5ms) Started GET "/adherent/members/504/adhesions" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"504"} 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", "504"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 504 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 504  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 200 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 200 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 14ms (Views: 9.7ms | ActiveRecord: 1.4ms) Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 504 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 79  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 79  (0.2ms) 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 (0.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 327) 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", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 327], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 327) 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", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 327], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 327) 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", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 327], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 507 Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 507 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", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 507], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/507/payments/new" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"507"} 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", "507"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 507 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 201 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 201 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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 19ms (Views: 10.2ms | ActiveRecord: 2.3ms) Started POST "/adherent/members/507/payments" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"507"} 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", "507"]]  (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", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 507], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 507 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 507 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 201 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 201 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", 201], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["payment_id", 80], ["updated_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/507/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/507/adhesions" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"507"} 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", "507"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 507 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 507  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 201 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 201 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: 7.4ms | ActiveRecord: 1.4ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 507 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 201  (0.1ms) ROLLBACK  (0.7ms) 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", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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" = 328) 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", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 328], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 'Adh001' AND "adherent_members"."organism_id" = 328) 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", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 328], ["updated_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00]]  (0.0ms) 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" = 328) 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", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 328], ["updated_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 510 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 510 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", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 510], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/510/payments/new" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"510"} 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", "510"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 510 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 202 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 202 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 17ms (Views: 8.9ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/510/payments" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"510"} 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", "510"]]  (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", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 510], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 510 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 510 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 202 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 202 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", 202], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["payment_id", 81], ["updated_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/510/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/510/adhesions" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"510"} 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", "510"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 510 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 510  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 202 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 202 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: 1.4ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 510 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 202  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 202  (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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 329) 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", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 329], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 329) 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", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 329], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 329) 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", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 329], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 513 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 513 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 513], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/513/payments/new" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"513"} 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", "513"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 513 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 203 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 203 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 20ms (Views: 10.2ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/513/payments" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"513"} 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", "513"]]  (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", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 513], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 513 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 513 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 203 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 203 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", 203], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["payment_id", 82], ["updated_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/513/adhesions Completed 302 Found in 12ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/513/adhesions" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"513"} 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", "513"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 513 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 513  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 203 CACHE (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 203 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: 7.6ms | ActiveRecord: 2.1ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 513 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 203  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 330) 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", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 330], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 330) 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", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 330], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 330) 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", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 330], ["updated_at", Sat, 24 Aug 2013 15:43:56 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" = 516 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 516 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", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 516], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 516 Started GET "/adherent/members/516/payments/new" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"516"} Organism Load (4.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "516"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 516 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 204 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 204 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.2ms) Completed 200 OK in 74ms (Views: 8.8ms | ActiveRecord: 6.4ms) Started POST "/adherent/members/516/payments" for 127.0.0.1 at 2013-08-24 17:43:56 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"516"} 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", "516"]]  (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", #], ["created_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 516], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:43:56 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 516 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 516 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 204 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 204 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", 204], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:57 UTC +00:00], ["payment_id", 83], ["updated_at", Sat, 24 Aug 2013 15:43:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/516/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/516/adhesions" for 127.0.0.1 at 2013-08-24 17:43:57 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"516"} 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", "516"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 516 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 516  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 204 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 204 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: 7.8ms | ActiveRecord: 1.4ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 516  (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 (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:43:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:57 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" = 'Adh000' AND "adherent_members"."organism_id" = 331) 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", Sat, 24 Aug 2013 15:43:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 331], ["updated_at", Sat, 24 Aug 2013 15:43:57 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" = 331) 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", Sat, 24 Aug 2013 15:43:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 331], ["updated_at", Sat, 24 Aug 2013 15:43:57 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" = 331) 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", Sat, 24 Aug 2013 15:43:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 331], ["updated_at", Sat, 24 Aug 2013 15:43:57 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" = 519 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 519 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", #], ["created_at", Sat, 24 Aug 2013 15:43:57 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 519], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "adherent_reglements" Started GET "/adherent/members/519/payments/new" for 127.0.0.1 at 2013-08-24 17:43:57 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"519"} 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", "519"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 519 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 205 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 205 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 18ms (Views: 8.9ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/519/payments" for 127.0.0.1 at 2013-08-24 17:43:57 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"519"} 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", "519"]]  (0.3ms) 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", #], ["created_at", Sat, 24 Aug 2013 15:43:57 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 519], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:43:57 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 519 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 519 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 205 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 205 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", 205], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:57 UTC +00:00], ["payment_id", 84], ["updated_at", Sat, 24 Aug 2013 15:43:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/519/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/519/adhesions" for 127.0.0.1 at 2013-08-24 17:43:57 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"519"} Organism Load (0.7ms) 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", "519"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 519 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 519  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 205 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 205 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: 6.8ms | ActiveRecord: 1.7ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.3ms) ROLLBACK  (0.6ms) 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", Sat, 24 Aug 2013 15:43:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:57 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" = 332) 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", Sat, 24 Aug 2013 15:43:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 332], ["updated_at", Sat, 24 Aug 2013 15:43:57 UTC +00:00]]  (0.3ms) 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" = 'Adh001' AND "adherent_members"."organism_id" = 332) 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", Sat, 24 Aug 2013 15:43:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 332], ["updated_at", Sat, 24 Aug 2013 15:43:57 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" = 'Adh002' AND "adherent_members"."organism_id" = 332) 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", Sat, 24 Aug 2013 15:43:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 332], ["updated_at", Sat, 24 Aug 2013 15:43:57 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" = 522 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 522 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", #], ["created_at", Sat, 24 Aug 2013 15:43:57 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 522], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:43:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/522/payments/new" for 127.0.0.1 at 2013-08-24 17:43:57 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"522"} 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", "522"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 522 ORDER BY to_date  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 206 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 206 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 19ms (Views: 9.7ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/522/payments" for 127.0.0.1 at 2013-08-24 17:43:57 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"522"} 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", "522"]]  (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", #], ["created_at", Sat, 24 Aug 2013 15:43:57 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 522], ["mode", "CB"], ["updated_at", Sat, 24 Aug 2013 15:43:57 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 522 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 522 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 206 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 206 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", 206], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:43:57 UTC +00:00], ["payment_id", 85], ["updated_at", Sat, 24 Aug 2013 15:43:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/522/adhesions Completed 302 Found in 13ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/522/adhesions" for 127.0.0.1 at 2013-08-24 17:43:57 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"522"} 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", "522"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 522 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 522  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 206 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 206 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: 7.4ms | ActiveRecord: 1.5ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 522 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 206  (0.1ms) ROLLBACK Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN 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:43:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:43:57 UTC +00:00]]  (30.0ms) 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" = 333) 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", Sat, 24 Aug 2013 15:43:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 333], ["updated_at", Sat, 24 Aug 2013 15:43:57 UTC +00:00]]  (0.8ms) 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" = 333) 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", Sat, 24 Aug 2013 15:43:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 333], ["updated_at", Sat, 24 Aug 2013 15:43:57 UTC +00:00]]  (1.0ms) COMMIT  (0.0ms) BEGIN Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 333) 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", Sat, 24 Aug 2013 15:43:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 333], ["updated_at", Sat, 24 Aug 2013 15:43:57 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" = 'Adh003' AND "adherent_members"."organism_id" = 333) 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", Sat, 24 Aug 2013 15:43:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 333], ["updated_at", Sat, 24 Aug 2013 15:43:57 UTC +00:00]]  (0.6ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 333) 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", Sat, 24 Aug 2013 15:43:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 333], ["updated_at", Sat, 24 Aug 2013 15:43:57 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-24 17:44:31 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.0ms) 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"."organism_id" = 333 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 525 ORDER BY to_date Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 525 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 526 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 526 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 527 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 527 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 528 ORDER BY to_date Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 528 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 529 ORDER BY to_date Adherent::Coord Load (1.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 529 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 407ms (Views: 270.5ms | ActiveRecord: 130.7ms) Started GET "/assets/adherent/application.css" for 127.0.0.1 at 2013-08-24 17:44:32 +0200 Served asset /adherent/application.css - 200 OK (510ms) Started GET "/assets/adherent/application.js" for 127.0.0.1 at 2013-08-24 17:44:33 +0200 Served asset /adherent/application.js - 200 OK (921ms) Started GET "/assets/adherent/icones/home.png" for 127.0.0.1 at 2013-08-24 17:44:34 +0200 Served asset /adherent/icones/home.png - 200 OK (918ms) Started GET "/assets/adherent/icones/user-plus.png" for 127.0.0.1 at 2013-08-24 17:44:35 +0200 Served asset /adherent/icones/user-plus.png - 200 OK (102ms) Started GET "/assets/adherent/icones/card-address.png" for 127.0.0.1 at 2013-08-24 17:44:35 +0200 Served asset /adherent/icones/card-address.png - 200 OK (206ms) Started GET "/assets/adherent/icones/bandaid.png" for 127.0.0.1 at 2013-08-24 17:44:35 +0200 Served asset /adherent/icones/bandaid.png - 200 OK (67ms) Started GET "/assets/adherent/icones/modifier.png" for 127.0.0.1 at 2013-08-24 17:44:35 +0200 Served asset /adherent/icones/modifier.png - 200 OK (62ms) Started GET "/assets/adherent/icones/payment.png" for 127.0.0.1 at 2013-08-24 17:44:35 +0200 Served asset /adherent/icones/payment.png - 200 OK (75ms) Started GET "/assets/adherent/icones/supprimer.png" for 127.0.0.1 at 2013-08-24 17:44:35 +0200 Served asset /adherent/icones/supprimer.png - 200 OK (81ms) Started DELETE "/adherent/members/525" for 127.0.0.1 at 2013-08-24 17:44:39 +0200 Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"525"} Organism Load (1.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (46.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "525"]]  (0.2ms) BEGIN Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 525 LIMIT 1 SQL (52.4ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 525]]  (16.3ms) COMMIT Redirected to http://127.0.0.1:50920/adherent/members Completed 302 Found in 128ms (ActiveRecord: 117.0ms) Started GET "/adherent/members" for 127.0.0.1 at 2013-08-24 17:44:39 +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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 333 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 526 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 526 LIMIT 1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 527 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 527 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 528 ORDER BY to_date Adherent::Coord Load (0.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 528 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 529 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 529 LIMIT 1 Rendered layouts/adherent/_header.html.haml (1.6ms) 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 30ms (Views: 22.9ms | ActiveRecord: 4.5ms)  (2.8ms) SELECT COUNT(*) FROM "adherent_members"  (16.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (17.3ms) select table_name from information_schema.views where table_schema = 'adh_test'  (624.1ms) TRUNCATE TABLE "adherent_coords", "adherent_adhesions", "adherent_payments", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (2.3ms) 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 (0.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (2.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:44:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:41 UTC +00:00]]  (17.7ms) COMMIT  (0.0ms) 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.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", Sat, 24 Aug 2013 15:44:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:44:41 UTC +00:00]]  (2.4ms) COMMIT  (0.0ms) 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 (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", Sat, 24 Aug 2013 15:44:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:44:41 UTC +00:00]]  (1.7ms) 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", Sat, 24 Aug 2013 15:44:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:44:41 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" = '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", Sat, 24 Aug 2013 15:44:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:44:41 UTC +00:00]]  (1.3ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) 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", Sat, 24 Aug 2013 15:44:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:44:41 UTC +00:00]]  (2.5ms) COMMIT Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (2.5ms) 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) BEGIN SQL (26.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", #], ["created_at", Sat, 24 Aug 2013 15:44:41 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:44:41 UTC +00:00]]  (1.0ms) COMMIT Started GET "/adherent/members/1/adhesions" for 127.0.0.1 at 2013-08-24 17:44:41 +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 (2.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 24ms (Views: 12.9ms | ActiveRecord: 6.5ms) Started GET "/assets/adherent/icones/users.png" for 127.0.0.1 at 2013-08-24 17:44:41 +0200 Served asset /adherent/icones/users.png - 200 OK (79ms) Started GET "/assets/adherent/icones/nouveau.png" for 127.0.0.1 at 2013-08-24 17:44:42 +0200 Served asset /adherent/icones/nouveau.png - 200 OK (31ms) Started DELETE "/adherent/members/1/adhesions/1" for 127.0.0.1 at 2013-08-24 17:44:42 +0200 Processing by Adherent::AdhesionsController#destroy as HTML Parameters: {"member_id"=>"1", "id"=>"1"} Organism Load (2.5ms) 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", "1"]] Adherent::Adhesion Load (3.8ms) 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 (2.4ms) DELETE FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 [["id", 1]]  (28.2ms) COMMIT Redirected to http://127.0.0.1:50920/adherent/members/1/adhesions Completed 302 Found in 49ms (ActiveRecord: 38.0ms) Started GET "/adherent/members/1/adhesions" for 127.0.0.1 at 2013-08-24 17:44:42 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1"} Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]]  (4.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 Redirected to http://127.0.0.1:50920/adherent/members/1/adhesions/new Completed 302 Found in 20ms (ActiveRecord: 6.7ms) Started GET "/adherent/members/1/adhesions/new" for 127.0.0.1 at 2013-08-24 17:44:42 +0200 Processing by Adherent::AdhesionsController#new 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.2ms) 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (9.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 19ms (Views: 13.6ms | ActiveRecord: 1.1ms) Started GET "/assets/adherent/cal.gif" for 127.0.0.1 at 2013-08-24 17:44:43 +0200 Served asset /adherent/cal.gif - 200 OK (45ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_adhesions"  (0.3ms) 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  (115.2ms) TRUNCATE TABLE "adherent_coords", "adherent_adhesions", "adherent_payments", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" 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.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (6.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:44:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:43 UTC +00:00]]  (1.0ms) COMMIT  (0.0ms) BEGIN Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (2.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", Sat, 24 Aug 2013 15:44:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:44:43 UTC +00:00]]  (3.7ms) COMMIT  (0.2ms) 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.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", Sat, 24 Aug 2013 15:44:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:44:43 UTC +00:00]]  (0.7ms) COMMIT  (0.0ms) 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 (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", Sat, 24 Aug 2013 15:44:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:44:43 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" = '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", Sat, 24 Aug 2013 15:44:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:44:43 UTC +00:00]]  (1.2ms) COMMIT  (0.1ms) 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", Sat, 24 Aug 2013 15:44:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:44:43 UTC +00:00]]  (1.2ms) COMMIT Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (0.1ms) BEGIN SQL (7.0ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Sat, 24 Aug 2013 15:44:43 UTC +00:00], ["date", Sat, 24 Aug 2013], ["member_id", 1], ["mode", "Chèque"], ["updated_at", Sat, 24 Aug 2013 15:44:43 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 1 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date  (0.9ms) COMMIT Started GET "/adherent/members/1/payments" for 127.0.0.1 at 2013-08-24 17:44:43 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1"} Organism Load (1.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", "1"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* 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  (0.3ms) 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 18ms (Views: 10.0ms | ActiveRecord: 5.1ms) Started GET "/assets/adherent/icones/money-plus.png" for 127.0.0.1 at 2013-08-24 17:44:43 +0200 Served asset /adherent/icones/money-plus.png - 200 OK (93ms) Started DELETE "/adherent/members/1/payments/1" for 127.0.0.1 at 2013-08-24 17:44:44 +0200 Processing by Adherent::PaymentsController#destroy as HTML Parameters: {"member_id"=>"1", "id"=>"1"} Organism Load (6.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (4.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] Adherent::Payment Load (5.0ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 1 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "1"]]  (3.5ms) BEGIN Adherent::Reglement Load (2.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1 SQL (4.8ms) DELETE FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 [["id", 1]]  (36.1ms) COMMIT Redirected to http://127.0.0.1:50920/adherent/members/1/payments Completed 302 Found in 106ms (ActiveRecord: 62.7ms) Started GET "/adherent/members/1/payments" for 127.0.0.1 at 2013-08-24 17:44:44 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1"} Organism Load (0.3ms) 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"."id" = $1 LIMIT 1 [["id", "1"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_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 16ms (Views: 7.1ms | ActiveRecord: 5.1ms)  (1.3ms) SELECT COUNT(*) FROM "adherent_payments"  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (131.6ms) TRUNCATE TABLE "adherent_coords", "adherent_adhesions", "adherent_payments", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (0.4ms) 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  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1033"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Sat, 24 Aug 2013 15:44:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 8ms (ActiveRecord: 1.5ms)  (0.5ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1034"} Organism Load (3.5ms) 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", Sat, 24 Aug 2013 15:44:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 11ms (ActiveRecord: 4.5ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Organism Load (2.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", Sat, 24 Aug 2013 15:44:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:45 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 68ms (Views: 56.3ms | ActiveRecord: 3.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Organism Load (0.4ms) 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", Sat, 24 Aug 2013 15:44:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 0.8ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#new as HTML Organism Load (1.8ms) 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", Sat, 24 Aug 2013 15:44:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 0.9ms | ActiveRecord: 2.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} Organism Load (0.7ms) 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", Sat, 24 Aug 2013 15:44:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 1.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Organism Load (2.3ms) 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", Sat, 24 Aug 2013 15:44:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 17ms (Views: 1.7ms | ActiveRecord: 4.4ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1039"} Organism Load (4.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.7ms) 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", Sat, 24 Aug 2013 15:44:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1039 Completed 302 Found in 12ms (ActiveRecord: 5.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1040"} Organism Load (0.0ms) 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", Sat, 24 Aug 2013 15:44:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1040 Completed 302 Found in 11ms (ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1041"} 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", Sat, 24 Aug 2013 15:44:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1042"} Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:44:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1042 Completed 302 Found in 15ms (ActiveRecord: 4.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001", "birthdate"=>"06/06/1955"}} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.7ms) 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", Sat, 24 Aug 2013 15:44:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:46 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" = 'A001' AND "adherent_members"."organism_id" = 12) 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", Mon, 06 Jun 1955], ["created_at", Sat, 24 Aug 2013 15:44:46 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 12], ["updated_at", Sat, 24 Aug 2013 15:44:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1/coord/new Completed 302 Found in 19ms (ActiveRecord: 3.2ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (1.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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", Sat, 24 Aug 2013 15:44:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 1.4ms | ActiveRecord: 2.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (2.8ms) 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", Sat, 24 Aug 2013 15:44:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:46 UTC +00:00]]  (2.6ms) 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" = 'A001' AND "adherent_members"."organism_id" = 14) 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", Sat, 24 Aug 2013 15:44:46 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 14], ["updated_at", Sat, 24 Aug 2013 15:44:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/2/coord/new Completed 302 Found in 23ms (ActiveRecord: 6.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (3.9ms) 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", Sat, 24 Aug 2013 15:44:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 15) 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", Sat, 24 Aug 2013 15:44:47 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 15], ["updated_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/3/coord/new Completed 302 Found in 21ms (ActiveRecord: 12.2ms)  (0.9ms) 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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (11.0ms) 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", Sat, 24 Aug 2013 15:44:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (4.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 17 Completed 200 OK in 31ms (Views: 5.2ms | ActiveRecord: 17.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1043"} Organism Load (2.0ms) 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", Sat, 24 Aug 2013 15:44:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 19ms (Views: 1.0ms | ActiveRecord: 3.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1044"} Organism Load (1.7ms) 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", Sat, 24 Aug 2013 15:44:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.2ms | ActiveRecord: 2.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new 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 (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:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.9ms)  (2.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1047"} 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", Sat, 24 Aug 2013 15:44:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1047/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1049"} 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", Sat, 24 Aug 2013 15:44:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1049/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1051"} 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", Sat, 24 Aug 2013 15:44:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (3.6ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.7ms) ROLLBACK  (0.1ms) BEGIN Adherent::Adhesion Load (0.5ms) 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.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.0ms) 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", Sat, 24 Aug 2013 15:44:47 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:44:47 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" = 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  (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", #], ["created_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 4], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date DESC LIMIT 1  (0.0ms) 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", Sat, 24 Aug 2013 15:44:47 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:44:47 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" = 5 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.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", #], ["created_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 5], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (1.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) 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", Sat, 24 Aug 2013 15:44:47 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 6 Adherent::Adhesion Load (2.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 6 ORDER BY to_date DESC LIMIT 1  (1.6ms) 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", #], ["created_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 6], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 6 Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 6 ORDER BY to_date DESC LIMIT 1  (2.6ms) ROLLBACK  (0.0ms) 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.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" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (5.4ms) 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.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.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", Sat, 24 Aug 2013 15:44:47 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00]]  (0.1ms) RELEASE 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" = 2) LIMIT 1  (0.3ms) ROLLBACK  (0.2ms) 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", Sat, 24 Aug 2013 15:44:47 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00]]  (0.1ms) RELEASE 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  (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.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", Tue, 06 Jun 1944], ["created_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN 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", Sat, 24 Aug 2013 15:44:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 24) 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", Sat, 24 Aug 2013 15:44:47 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 24], ["updated_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.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", #], ["created_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 10], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/10/adhesions" for 127.0.0.1 at 2013-08-24 17:44:47 +0200 Processing by Adherent::AdhesionsController#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.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "10"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 10 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 10  (0.6ms) 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 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 14ms (Views: 8.8ms | ActiveRecord: 2.1ms)  (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 (1.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.4ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 25) 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", Sat, 24 Aug 2013 15:44:47 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 25], ["updated_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  (0.4ms) 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", #], ["created_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 11], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 15:44:47 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/11/adhesions" for 127.0.0.1 at 2013-08-24 17:44:47 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"11"} Organism Load (0.7ms) 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", "11"]]  (0.3ms) SELECT COUNT(*) 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  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 5 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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.1ms) Completed 200 OK in 16ms (Views: 10.2ms | ActiveRecord: 1.9ms) Started GET "/adherent/members/11/payments/new" for 127.0.0.1 at 2013-08-24 17:44:48 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"11"} 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", "11"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 11 ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 5 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 5 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (7.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 19ms (Views: 10.8ms | ActiveRecord: 1.5ms)  (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 (3.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:44:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:48 UTC +00:00]]  (0.1ms) 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" = 26) 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", Sat, 24 Aug 2013 15:44:48 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 26], ["updated_at", Sat, 24 Aug 2013 15:44:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (8.0ms) SELECT "adherent_members".* FROM "adherent_members"   (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 15:44:48 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 12], ["to_date", Tue, 24 Sep 2013], ["updated_at", Sat, 24 Aug 2013 15:44:48 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/12/adhesions" for 127.0.0.1 at 2013-08-24 17:44:48 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"12"} 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", "12"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 12 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 12  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 6 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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 14ms (Views: 8.9ms | ActiveRecord: 1.4ms) Started GET "/adherent/members/12/adhesions/6/edit" for 127.0.0.1 at 2013-08-24 17:44:48 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"12", "id"=>"6"} 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", "12"]] Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 12 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "6"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 38ms (Views: 33.0ms | ActiveRecord: 1.9ms)  (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.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:44:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 27) LIMIT 1 SQL (1.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", Sat, 24 Aug 2013 15:44:48 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 27], ["updated_at", Sat, 24 Aug 2013 15:44:48 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members/13/adhesions/new" for 127.0.0.1 at 2013-08-24 17:44:48 +0200 Processing by Adherent::AdhesionsController#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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "13"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 13 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 13 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (5.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 17ms (Views: 10.2ms | ActiveRecord: 1.8ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 13 Started POST "/adherent/members/13/adhesions" for 127.0.0.1 at 2013-08-24 17:44:48 +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"=>"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.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", #], ["created_at", Sat, 24 Aug 2013 15:44:48 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 13], ["to_date", Thu, 31 Jul 2014], ["updated_at", Sat, 24 Aug 2013 15:44:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/13/adhesions Completed 302 Found in 8ms (ActiveRecord: 1.1ms) Started GET "/adherent/members/13/adhesions" for 127.0.0.1 at 2013-08-24 17:44:48 +0200 Processing by Adherent::AdhesionsController#index 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.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "13"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 13 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 13  (0.3ms) 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 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 14ms (Views: 9.6ms | ActiveRecord: 1.7ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 13  (0.0ms) 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 (3.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:44:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:48 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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" = 28) LIMIT 1 SQL (1.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", Sat, 24 Aug 2013 15:44:48 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 28], ["updated_at", Sat, 24 Aug 2013 15:44:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (8.7ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members/14/adhesions/new" for 127.0.0.1 at 2013-08-24 17:44:48 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"14"} 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", "14"]] Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 14 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 14 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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.3ms | ActiveRecord: 2.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.6ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (1.6ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.4ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Sat, 24 Aug 2013 15:44:48 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:44:48 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" = 8  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 8], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:44:48 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 15:44:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8  (0.1ms) ROLLBACK  (0.0ms) 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", #], ["created_at", Sat, 24 Aug 2013 15:44:48 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:44:48 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" = 9  (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", 9], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:44:48 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 15:44:48 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" = 9  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 9  (0.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (14.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", #], ["created_at", Sat, 24 Aug 2013 15:44:48 UTC +00:00], ["from_date", Sat, 24 Aug 2013], ["member_id", 1], ["to_date", Sat, 23 Aug 2014], ["updated_at", Sat, 24 Aug 2013 15:44:48 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" = 10  (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", 10], ["amount", #], ["created_at", Sat, 24 Aug 2013 15:44:48 UTC +00:00], ["payment_id", 1], ["updated_at", Sat, 24 Aug 2013 15:44:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1056", "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", Sat, 24 Aug 2013 15:44:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1058", "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", Sat, 24 Aug 2013 15:44:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1058/adhesions Completed 302 Found in 6ms (ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1060", "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.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Sat, 24 Aug 2013 15:44:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1062", "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", Sat, 24 Aug 2013 15:44:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:48 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1062/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1064"} Organism Load (4.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.4ms) 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", Sat, 24 Aug 2013 15:44:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.8ms | ActiveRecord: 5.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1066"} Organism Load (0.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", Sat, 24 Aug 2013 15:44:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Sat, 24 Aug 2013 15:44:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 1.9ms | ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1067"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) 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 Redirected to http://test.host/adherent/members/1067/adhesions/new Completed 302 Found in 11ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1068"} 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", 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 4ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1069", "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.7ms) 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.3ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1071", "id"=>"1"} Organism Load (0.6ms) 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", 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 6ms (Views: 1.4ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1073"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.0ms) 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", 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.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1073/adhesions Completed 302 Found in 6ms (ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1075"} 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", 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.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1075/adhesions Completed 302 Found in 7ms (ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (1.2ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"24/08/2013"}, "member_id"=>"1077"} 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", 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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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", #], ["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 Connecting to database specified by database.yml Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1001"} Organism Load (187.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (217.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 28 Aug 2013 15:09:23 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Wed, 28 Aug 2013 15:09:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/index.html.haml within layouts/adherent/application (0.5ms) Completed 200 OK in 1719ms (Views: 59.4ms | ActiveRecord: 1615.3ms)  (2.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1002"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.0ms) 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", Wed, 28 Aug 2013 15:09:23 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Wed, 28 Aug 2013 15:09:23 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.3ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1005"} 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", Wed, 28 Aug 2013 15:09:23 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Wed, 28 Aug 2013 15:09:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 17ms (Views: 13.4ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.4ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"28/08/2013"}, "member_id"=>"1007"} 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", Wed, 28 Aug 2013 15:09:23 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Wed, 28 Aug 2013 15:09:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 2.1ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"28/08/2013"}, "member_id"=>"1009"} Organism Load (1.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", Wed, 28 Aug 2013 15:09:23 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Wed, 28 Aug 2013 15:09:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1009/payments Completed 302 Found in 5ms (ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"28/08/2013"}, "member_id"=>"1011"} 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", Wed, 28 Aug 2013 15:09:23 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Wed, 28 Aug 2013 15:09:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1011/payments Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"28/08/2013"}, "member_id"=>"1001"} Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 28 Aug 2013 15:09:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Wed, 28 Aug 2013 15:09:36 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1001/payments Completed 302 Found in 27ms (ActiveRecord: 11.2ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"28/08/2013"}, "member_id"=>"1003"} 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", Wed, 28 Aug 2013 15:09:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Wed, 28 Aug 2013 15:09:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1003/payments Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"28/08/2013"}, "member_id"=>"1005"} 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", Wed, 28 Aug 2013 15:09:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Wed, 28 Aug 2013 15:09:37 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 6.9ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1007"} 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", Wed, 28 Aug 2013 15:09:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Wed, 28 Aug 2013 15:09:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1011"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 28 Aug 2013 15:09:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Wed, 28 Aug 2013 15:09:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 3.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1012"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (23.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 28 Aug 2013 15:09:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Wed, 28 Aug 2013 15:09:37 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 28ms (Views: 1.0ms | ActiveRecord: 24.3ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1001"} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (4.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 28 Aug 2013 15:11:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Wed, 28 Aug 2013 15:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/index.html.haml within layouts/adherent/application (0.2ms) Completed 200 OK in 31ms (Views: 7.0ms | ActiveRecord: 11.5ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1002"} 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", Wed, 28 Aug 2013 15:11:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Wed, 28 Aug 2013 15:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1003"} 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", Wed, 28 Aug 2013 15:11:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Wed, 28 Aug 2013 15:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"28/08/2013"}, "member_id"=>"1005"} 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", Wed, 28 Aug 2013 15:11:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Wed, 28 Aug 2013 15:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1005/payments Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"28/08/2013"}, "member_id"=>"1007"} 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", Wed, 28 Aug 2013 15:11:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Wed, 28 Aug 2013 15:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1007/payments Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"28/08/2013"}, "member_id"=>"1009"} Organism Load (2.0ms) 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", Wed, 28 Aug 2013 15:11:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Wed, 28 Aug 2013 15:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 2.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1011", "id"=>"1012"} Organism Load (0.0ms) 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", Wed, 28 Aug 2013 15:11:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Wed, 28 Aug 2013 15:11:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 500 Internal Server Error in 21ms  (0.0ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"28/08/2013"}, "member_id"=>"1001"} Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 28 Aug 2013 15:20:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Wed, 28 Aug 2013 15:20:29 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1001/payments Completed 302 Found in 24ms (ActiveRecord: 10.0ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"28/08/2013"}, "member_id"=>"1003"} Organism Load (0.3ms) 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", Wed, 28 Aug 2013 15:20:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Wed, 28 Aug 2013 15:20:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1003/payments Completed 302 Found in 5ms (ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"28/08/2013"}, "member_id"=>"1005"} Organism Load (0.8ms) 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", Wed, 28 Aug 2013 15:20:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Wed, 28 Aug 2013 15:20:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 19ms (Views: 10.8ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1007"} 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", Wed, 28 Aug 2013 15:20:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Wed, 28 Aug 2013 15:20:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1009"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 28 Aug 2013 15:20:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Wed, 28 Aug 2013 15:20:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1010"} Organism Load (0.3ms) 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", Wed, 28 Aug 2013 15:20:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Wed, 28 Aug 2013 15:20:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1011", "id"=>"1012"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Wed, 28 Aug 2013 15:20:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Wed, 28 Aug 2013 15:20:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::AllpaymentsController#index as HTML Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (7.1ms) SAVEPOINT active_record_1 SQL (133.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:35:18 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:18 UTC +00:00]]  (10.7ms) RELEASE SAVEPOINT active_record_1 Adherent::Payment Load (113.7ms) SELECT "adherent_payments".* FROM "adherent_payments" INNER JOIN "adherent_members" ON "adherent_payments"."member_id" = "adherent_members"."id" WHERE "adherent_members"."organism_id" = 120 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/allpayments/index.html.haml within layouts/adherent/application (1.0ms) Completed 200 OK in 491ms (Views: 54.3ms | ActiveRecord: 313.1ms)  (0.9ms) ROLLBACK Connecting to database specified by database.yml  (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.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", Thu, 29 Aug 2013 05:35:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:30 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" = 121) LIMIT 1 SQL (58.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", Thu, 29 Aug 2013 05:35:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 121], ["updated_at", Thu, 29 Aug 2013 05:35:30 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (35.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 129 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 129 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (79.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", #], ["created_at", Thu, 29 Aug 2013 05:35:30 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 129], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:30 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/129/payments/new" for 127.0.0.1 at 2013-08-29 07:35:31 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"129"} 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", "129"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 129 ORDER BY to_date  (95.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 60 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (84.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (111.6ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.8ms) Completed 200 OK in 319ms (Views: 153.7ms | ActiveRecord: 108.4ms)  (0.4ms) 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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:35:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:31 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" = 122) 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", Thu, 29 Aug 2013 05:35:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 122], ["updated_at", Thu, 29 Aug 2013 05:35:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (1.2ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 130 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 130 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", #], ["created_at", Thu, 29 Aug 2013 05:35:31 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 130], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/130/payments/new" for 127.0.0.1 at 2013-08-29 07:35:31 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"130"} 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", "130"]] Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 130 ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 61 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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.0ms) Completed 200 OK in 20ms (Views: 10.8ms | ActiveRecord: 2.0ms)  (41.6ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 130 Started POST "/adherent/members/130/payments" for 127.0.0.1 at 2013-08-29 07:35:31 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"130"} 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", "130"]]  (0.1ms) SAVEPOINT active_record_1 SQL (68.0ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 05:35:31 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 130], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:35:31 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 130 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 130 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 61  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/130/payments Completed 302 Found in 109ms (ActiveRecord: 69.7ms) Started GET "/adherent/members/130/payments" for 127.0.0.1 at 2013-08-29 07:35:31 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"130"} 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", "130"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 130 Adherent::Reglement Load (34.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 26 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 26  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 26 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 26 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 26 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 78ms (Views: 38.6ms | ActiveRecord: 36.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 130  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.1ms) 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", Thu, 29 Aug 2013 05:35:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 123) 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", Thu, 29 Aug 2013 05:35:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 123], ["updated_at", Thu, 29 Aug 2013 05:35:31 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" = 131 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 131 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", #], ["created_at", Thu, 29 Aug 2013 05:35:31 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 131], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:31 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", #], ["created_at", Thu, 29 Aug 2013 05:35:31 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 131], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:35:31 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 131 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 131 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 62  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/131/payments" for 127.0.0.1 at 2013-08-29 07:35:31 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"131"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "131"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 131 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 27 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 27  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 27 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 27 CACHE (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 27 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.6ms | ActiveRecord: 3.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.8ms) 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", Thu, 29 Aug 2013 05:35:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:31 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" = 124) 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", Thu, 29 Aug 2013 05:35:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 124], ["updated_at", Thu, 29 Aug 2013 05:35:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (1.6ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 132 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 132 ORDER BY to_date DESC LIMIT 1  (1.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", #], ["created_at", Thu, 29 Aug 2013 05:35:31 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 132], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:31 UTC +00:00]]  (0.3ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:35:31 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 132], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:35:31 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 132 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 132 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 63  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/132/payments" for 127.0.0.1 at 2013-08-29 07:35:31 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"132"} 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", "132"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 132 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28 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 14ms (Views: 9.6ms | ActiveRecord: 2.2ms) Started GET "/adherent/payments/28/reglements/new" for 127.0.0.1 at 2013-08-29 07:35:32 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"28"} 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", "28"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 132 LIMIT 1 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 63 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.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 32ms (Views: 15.4ms | ActiveRecord: 3.0ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:32 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" = 125) 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", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 125], ["updated_at", Thu, 29 Aug 2013 05:35:32 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" = 125) 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", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 125], ["updated_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00]]  (0.3ms) 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" = 125) 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", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 125], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 133 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 133 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", #], ["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 133], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/133/payments/new" for 127.0.0.1 at 2013-08-29 07:35:32 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"133"} Organism Load (0.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", "133"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 133 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 64 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 64 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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.0ms) Completed 200 OK in 17ms (Views: 9.0ms | ActiveRecord: 0.9ms) Started POST "/adherent/members/133/payments" for 127.0.0.1 at 2013-08-29 07:35:32 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"133"} 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", "133"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 133], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 133 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 133 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 64 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 64 SQL (76.0ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 64], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["payment_id", 29], ["updated_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/133/payments Completed 302 Found in 143ms (ActiveRecord: 78.4ms) Started GET "/adherent/members/133/payments" for 127.0.0.1 at 2013-08-29 07:35:32 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"133"} Organism Load (2.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", "133"]] Adherent::Payment Load (0.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 133 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29 Adherent::Adhesion Load (3.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 64 LIMIT 1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 133 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29 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 45ms (Views: 34.7ms | ActiveRecord: 7.8ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 133 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 134 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 134 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", #], ["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 134], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:32 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" = 135 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 135 ORDER BY to_date DESC LIMIT 1  (0.6ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 135], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/29/reglements/new" for 127.0.0.1 at 2013-08-29 07:35:32 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"29"} 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", "29"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 133 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 64  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 65  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 66 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 134 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 65 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 135 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 66 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (10.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 24ms (Views: 13.6ms | ActiveRecord: 3.7ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 'Adh000' AND "adherent_members"."organism_id" = 126) 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", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 126], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 'Adh001' AND "adherent_members"."organism_id" = 126) 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", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 126], ["updated_at", Thu, 29 Aug 2013 05:35:32 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" = 'Adh002' AND "adherent_members"."organism_id" = 126) 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", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 126], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 136 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 136 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", #], ["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 136], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/136/payments/new" for 127.0.0.1 at 2013-08-29 07:35:32 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"136"} 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", "136"]] Adherent::Adhesion Load (1.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 136 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 67 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 67 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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 18ms (Views: 9.5ms | ActiveRecord: 2.4ms) Started POST "/adherent/members/136/payments" for 127.0.0.1 at 2013-08-29 07:35:32 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"136"} 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", "136"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 136], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 136 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 136 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 67 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 67 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", 67], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["payment_id", 30], ["updated_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/136/payments Completed 302 Found in 12ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/136/payments" for 127.0.0.1 at 2013-08-29 07:35:32 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"136"} Organism Load (0.3ms) 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", "136"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 136 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 67 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 136 LIMIT 1 Adherent::Reglement Load (0.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30 Adherent::Reglement Load (0.9ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30 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: 10.2ms | ActiveRecord: 3.1ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 136 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 137 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 137 ORDER BY to_date DESC LIMIT 1  (0.4ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 137], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:32 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" = 138 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 138 ORDER BY to_date DESC LIMIT 1  (0.7ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 138], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/30/reglements/new" for 127.0.0.1 at 2013-08-29 07:35:32 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"30"} 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", "30"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 136 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30 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" = 67  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 68  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 69 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 137 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 68 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 138 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 69 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_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.5ms) Completed 200 OK in 23ms (Views: 13.3ms | ActiveRecord: 3.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) COMMIT  (0.0ms) BEGIN Organism Load (0.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", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:32 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" = 127) 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", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 127], ["updated_at", Thu, 29 Aug 2013 05:35:32 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" = 'Adh001' AND "adherent_members"."organism_id" = 127) 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", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 127], ["updated_at", Thu, 29 Aug 2013 05:35:32 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" = 'Adh002' AND "adherent_members"."organism_id" = 127) 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", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 127], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 139 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 139 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", #], ["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 139], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/139/payments/new" for 127.0.0.1 at 2013-08-29 07:35:32 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"139"} 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", "139"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 139 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 70 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 70 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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 14ms (Views: 7.6ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/139/payments" for 127.0.0.1 at 2013-08-29 07:35:32 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"139"} 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", "139"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 139], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 139 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 139 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 70 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 70 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", 70], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["payment_id", 31], ["updated_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/139/payments Completed 302 Found in 12ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/139/payments" for 127.0.0.1 at 2013-08-29 07:35:32 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"139"} 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", "139"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 139 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 70 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 139 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31 Adherent::Reglement Load (0.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31 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: 11.8ms | ActiveRecord: 1.9ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 139 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 140 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 140 ORDER BY to_date DESC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (5.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 140], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:32 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" = 141 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 141 ORDER BY to_date DESC LIMIT 1  (3.2ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 141], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/31/reglements/new" for 127.0.0.1 at 2013-08-29 07:35:32 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"31"} Organism Load (4.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", "31"]] Adherent::Member Load (2.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 139 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 70  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 71  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 72 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31 Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 140 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 71 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 141 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 72 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.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.0ms) Completed 200 OK in 31ms (Views: 11.6ms | ActiveRecord: 11.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (1.0ms) 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", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 'Adh000' AND "adherent_members"."organism_id" = 128) 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", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 128], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 'Adh001' AND "adherent_members"."organism_id" = 128) 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", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 128], ["updated_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00]]  (0.1ms) 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" = 'Adh002' AND "adherent_members"."organism_id" = 128) 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", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 128], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 142 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 142 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", #], ["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 142], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/142/payments/new" for 127.0.0.1 at 2013-08-29 07:35:32 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"142"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "142"]] Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 142 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 73 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 73 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 22ms (Views: 10.1ms | ActiveRecord: 3.4ms) Started POST "/adherent/members/142/payments" for 127.0.0.1 at 2013-08-29 07:35:32 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"142"} 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", "142"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 142], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 142 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 142 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 73 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 73 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", 73], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["payment_id", 32], ["updated_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/142/payments Completed 302 Found in 12ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/142/payments" for 127.0.0.1 at 2013-08-29 07:35:32 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"142"} 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", "142"]] Adherent::Payment Load (0.9ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 142 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 73 LIMIT 1 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 142 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32 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: 11.0ms | ActiveRecord: 2.7ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 142 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 143 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 143 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", #], ["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 143], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:32 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" = 144 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 144 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", #], ["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 144], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/32/reglements/new" for 127.0.0.1 at 2013-08-29 07:35:32 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"32"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "32"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 142 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32 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" = 73  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 74  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 75 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 143 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 74 Adherent::Member Load (5.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 144 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 75 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (73.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 92ms (Views: 72.5ms | ActiveRecord: 9.1ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 142 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 73 Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 142 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32  (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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:32 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" = 129) 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", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 129], ["updated_at", Thu, 29 Aug 2013 05:35:32 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" = 129) 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", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 129], ["updated_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00]]  (0.0ms) 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" = 129) 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", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 129], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 145 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 145 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", #], ["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 145], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/145/payments/new" for 127.0.0.1 at 2013-08-29 07:35:32 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"145"} Organism Load (0.5ms) 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", "145"]] Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 145 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 76 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 76 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 22ms (Views: 13.2ms | ActiveRecord: 2.5ms) Started POST "/adherent/members/145/payments" for 127.0.0.1 at 2013-08-29 07:35:32 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"145"} 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", "145"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 145], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00]] Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 145 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 145 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 76 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 76 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", 76], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["payment_id", 33], ["updated_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/145/payments Completed 302 Found in 13ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/145/payments" for 127.0.0.1 at 2013-08-29 07:35:32 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"145"} 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", "145"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 145 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 76 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 145 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 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: 11.6ms | ActiveRecord: 2.3ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 145 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 146 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 146 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", #], ["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 146], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:32 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" = 147 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 147 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", #], ["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 147], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/33/reglements/new" for 127.0.0.1 at 2013-08-29 07:35:32 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"33"} 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", "33"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 145 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 76  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 77  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 78 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 146 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 77 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 147 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 78 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (7.8ms) 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 21ms (Views: 11.7ms | ActiveRecord: 3.2ms) Started POST "/adherent/payments/33/reglements" for 127.0.0.1 at 2013-08-29 07:35:32 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"77"}, "commit"=>"Enregistrer", "payment_id"=>"33"} 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", "33"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "77"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 77  (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", 77], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["payment_id", 33], ["updated_at", Thu, 29 Aug 2013 05:35:32 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" = 145 LIMIT 1 Redirected to http://www.example.com/adherent/members/145/payments Completed 302 Found in 11ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/145/payments" for 127.0.0.1 at 2013-08-29 07:35:32 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"145"} 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", "145"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 145 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 77 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 146 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 76 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 145 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 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 18ms (Views: 12.9ms | ActiveRecord: 2.9ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:32 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" = 130) 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", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 130], ["updated_at", Thu, 29 Aug 2013 05:35:32 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" = 130) 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", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 130], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 'Adh002' AND "adherent_members"."organism_id" = 130) 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", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 130], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 148 Adherent::Adhesion Load (1.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 148 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", #], ["created_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 148], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/148/payments/new" for 127.0.0.1 at 2013-08-29 07:35:32 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"148"} 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", "148"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 148 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 79 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 79 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 17ms (Views: 8.0ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/148/payments" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"148"} 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", "148"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 148], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 148 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 148 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 79 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 79 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", 79], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["payment_id", 34], ["updated_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/148/payments Completed 302 Found in 12ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/148/payments" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"148"} 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", "148"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 148 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 79 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 148 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 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.8ms | ActiveRecord: 2.2ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 148 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 149 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 149 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", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 149], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 150 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 150 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", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 150], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/34/reglements/new" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"34"} 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", "34"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 148 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 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" = 79  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 81 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 149 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 150 LIMIT 1 CACHE (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 81 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 24ms (Views: 12.7ms | ActiveRecord: 3.1ms) Started POST "/adherent/payments/34/reglements" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"80"}, "commit"=>"Enregistrer", "payment_id"=>"34"} 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", "34"]] Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "80"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80  (0.2ms) 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", 80], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["payment_id", 34], ["updated_at", Thu, 29 Aug 2013 05:35:33 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" = 148 LIMIT 1 Redirected to http://www.example.com/adherent/members/148/payments Completed 302 Found in 10ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/148/payments" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"148"} 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", "148"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 148 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 80 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 149 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 79 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 148 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 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.7ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 79 LIMIT 1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 148 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 'Adh000' AND "adherent_members"."organism_id" = 131) 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", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 131], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 131) 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", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 131], ["updated_at", Thu, 29 Aug 2013 05:35:33 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" = 'Adh002' AND "adherent_members"."organism_id" = 131) LIMIT 1 SQL (0.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", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 131], ["updated_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (1.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 151 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 151 ORDER BY to_date DESC LIMIT 1  (1.2ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 151], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/151/payments/new" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"151"} Organism Load (0.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "151"]] Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 151 ORDER BY to_date  (1.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 82 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 82 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (12.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 37ms (Views: 20.1ms | ActiveRecord: 5.3ms) Started POST "/adherent/members/151/payments" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"151"} 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", "151"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 151], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 151 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 151 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 82 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 82 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", 82], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["payment_id", 35], ["updated_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/151/payments Completed 302 Found in 12ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/151/payments" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"151"} 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", "151"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 151 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 82 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 151 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 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 88ms (Views: 84.4ms | ActiveRecord: 2.1ms) Adherent::Payment Load (1.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 151 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 152 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 152 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", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 152], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 153 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 153 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", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 153], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/35/reglements/new" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"35"} 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", "35"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 151 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 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" = 82  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 84 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 152 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 153 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 84 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 23ms (Views: 13.4ms | ActiveRecord: 3.3ms) Started POST "/adherent/payments/35/reglements" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"83"}, "commit"=>"Enregistrer", "payment_id"=>"35"} 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", "35"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "83"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83  (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", 83], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["payment_id", 35], ["updated_at", Thu, 29 Aug 2013 05:35:33 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" = 151 LIMIT 1 Redirected to http://www.example.com/adherent/members/151/payments Completed 302 Found in 9ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/151/payments" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"151"} 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", "151"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 151 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 83 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 152 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 82 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 151 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 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.9ms | ActiveRecord: 2.4ms) Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 152 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83  (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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 'Adh000' AND "adherent_members"."organism_id" = 132) 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", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 132], ["updated_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00]]  (0.1ms) 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" = 'Adh001' AND "adherent_members"."organism_id" = 132) 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", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 132], ["updated_at", Thu, 29 Aug 2013 05:35:33 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" = 132) 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", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 132], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 154 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 154 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", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 154], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/154/payments/new" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"154"} 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", "154"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 154 ORDER BY to_date  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 85 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 85 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 16ms (Views: 8.5ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/154/payments" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"154"} 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", "154"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 154], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 154 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 154 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 85 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 85 SQL (0.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 85], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["payment_id", 36], ["updated_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/154/payments Completed 302 Found in 12ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/154/payments" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"154"} 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", "154"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 154 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 85 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 154 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 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.1ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 154 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 155 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 155 ORDER BY to_date DESC LIMIT 1  (0.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", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 155], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 156 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 156 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", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 156], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/36/reglements/new" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"36"} 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", "36"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 154 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 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" = 85  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 86  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 87 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 155 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 86 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 156 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 87 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 24ms (Views: 14.1ms | ActiveRecord: 2.9ms) Started POST "/adherent/payments/36/reglements" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"86"}, "commit"=>"Enregistrer", "payment_id"=>"36"} 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", "36"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "86"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 86  (0.2ms) 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", 86], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["payment_id", 36], ["updated_at", Thu, 29 Aug 2013 05:35:33 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" = 154 LIMIT 1 Redirected to http://www.example.com/adherent/members/154/payments Completed 302 Found in 10ms (ActiveRecord: 2.1ms) Started GET "/adherent/members/154/payments" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"154"} 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", "154"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 154 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 86 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 155 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 85 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 154 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 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" ORDER BY "adherent_reglements"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 86 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 155 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (1.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:33 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" = 133) 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", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 133], ["updated_at", Thu, 29 Aug 2013 05:35:33 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" = 133) 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", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 133], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 133) 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", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 133], ["updated_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00]]  (0.0ms) 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" = 157 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 157 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", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 157], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/157/payments/new" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"157"} 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", "157"]] Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 157 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 88 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 88 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.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 17ms (Views: 9.0ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/157/payments" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"157"} 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", "157"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 157], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 157 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 157 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 88 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 88 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", 88], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["payment_id", 37], ["updated_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/157/payments Completed 302 Found in 13ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/157/payments" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"157"} 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", "157"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 157 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 88 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 157 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 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.2ms | ActiveRecord: 1.9ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 157 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 158 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 158 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", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 158], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 159 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 159 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 159], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/37/reglements/new" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"37"} 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", "37"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 157 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 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" = 88  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 89  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 90 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 158 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 89 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 159 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 90 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 22ms (Views: 12.6ms | ActiveRecord: 3.0ms) Started POST "/adherent/payments/37/reglements" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"89"}, "commit"=>"Enregistrer", "payment_id"=>"37"} 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", "37"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "89"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 89  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 89], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["payment_id", 37], ["updated_at", Thu, 29 Aug 2013 05:35:33 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" = 157 LIMIT 1 Redirected to http://www.example.com/adherent/members/157/payments Completed 302 Found in 11ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/157/payments" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"157"} 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", "157"]] Adherent::Payment Load (2.0ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 157 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 89 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 158 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 88 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 157 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 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: 11.6ms | ActiveRecord: 4.3ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 'Adh000' AND "adherent_members"."organism_id" = 134) 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", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 134], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 134) 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", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 134], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 134) 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", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 134], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 160 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 160 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", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 160], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/160/payments/new" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"160"} 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", "160"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 160 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 91 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 91 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 17ms (Views: 9.1ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/160/payments" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"160"} 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", "160"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 160], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 160 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 160 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 91 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 91 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", 91], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["payment_id", 38], ["updated_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/160/payments Completed 302 Found in 14ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/160/payments" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"160"} 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", "160"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 160 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 91 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 160 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38 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: 2.3ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 160 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 91  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 'Adh000' AND "adherent_members"."organism_id" = 135) 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", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 135], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 135) 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", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 135], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 135) 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", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 135], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 163 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 163 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", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 163], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/163/payments/new" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"163"} Organism Load (0.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", "163"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 163 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92 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 18ms (Views: 9.0ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/163/payments" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"163"} 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", "163"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 163], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 163 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 163 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92 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", 92], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["payment_id", 39], ["updated_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/163/payments Completed 302 Found in 12ms (ActiveRecord: 3.4ms) Started GET "/adherent/members/163/payments" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"163"} 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", "163"]] Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 163 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 92 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 163 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39 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.0ms | ActiveRecord: 2.8ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 163 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92  (0.5ms) 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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 'Adh000' AND "adherent_members"."organism_id" = 136) 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", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 136], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 136) 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", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 136], ["updated_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 136) 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", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 136], ["updated_at", Thu, 29 Aug 2013 05:35: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.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 166 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 166 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", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 166], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/166/payments/new" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"166"} 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", "166"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 166 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 93 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 93 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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 17ms (Views: 10.0ms | ActiveRecord: 1.0ms) Started POST "/adherent/members/166/payments" for 127.0.0.1 at 2013-08-29 07:35:33 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"166"} 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", "166"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 166], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 166 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 166 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 93 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 93 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", 93], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00], ["payment_id", 40], ["updated_at", Thu, 29 Aug 2013 05:35:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/166/payments Completed 302 Found in 12ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/166/payments" for 127.0.0.1 at 2013-08-29 07:35:34 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"166"} 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", "166"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 166 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 40 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 93 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 166 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 40  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 40 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 40 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 40 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: 11.4ms | ActiveRecord: 2.4ms) Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 166 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 93  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:34 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" = 137) 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 137], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 137) 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 137], ["updated_at", Thu, 29 Aug 2013 05:35:34 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" = 137) 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 137], ["updated_at", Thu, 29 Aug 2013 05:35: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 (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 169 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 169 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", #], ["created_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 169], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/169/payments/new" for 127.0.0.1 at 2013-08-29 07:35:34 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"169"} Organism Load (0.3ms) 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", "169"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 169 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 94 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 94 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 18ms (Views: 9.2ms | ActiveRecord: 2.9ms) Started POST "/adherent/members/169/payments" for 127.0.0.1 at 2013-08-29 07:35:34 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"169"} Organism Load (0.8ms) 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"."id" = $1 LIMIT 1 [["id", "169"]]  (1.6ms) SAVEPOINT active_record_1 SQL (4.8ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 169], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 169 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 169 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 94 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 94 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", 94], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["payment_id", 41], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/169/payments Completed 302 Found in 20ms (ActiveRecord: 10.7ms) Started GET "/adherent/members/169/payments" for 127.0.0.1 at 2013-08-29 07:35:34 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"169"} 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", "169"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 169 Adherent::Reglement Load (0.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 41 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 94 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 169 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 41  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 41 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 41 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 41 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 15ms (Views: 10.8ms | ActiveRecord: 2.5ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 169 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 41  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 41  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:34 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" = 138) 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 138], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 138) 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 138], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 138) 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 138], ["updated_at", Thu, 29 Aug 2013 05:35: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 (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 172 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 172 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", #], ["created_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 172], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.6ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 172 Started GET "/adherent/members/172/payments/new" for 127.0.0.1 at 2013-08-29 07:35:34 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"172"} Organism Load (0.4ms) 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", "172"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 172 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 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 15ms (Views: 8.6ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/172/payments" for 127.0.0.1 at 2013-08-29 07:35:34 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"172"} 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", "172"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 172], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 172 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 172 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 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", 95], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["payment_id", 42], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/172/payments Completed 302 Found in 12ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/172/payments" for 127.0.0.1 at 2013-08-29 07:35:34 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"172"} 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", "172"]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 172 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 95 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 172 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_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 16ms (Views: 11.4ms | ActiveRecord: 2.1ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 172  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 139) 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 139], ["updated_at", Thu, 29 Aug 2013 05:35:34 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" = 139) 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 139], ["updated_at", Thu, 29 Aug 2013 05:35:34 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" = 139) 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 139], ["updated_at", Thu, 29 Aug 2013 05:35: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 (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 175 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 175 ORDER BY to_date DESC LIMIT 1  (0.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", #], ["created_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 175], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/175/payments/new" for 127.0.0.1 at 2013-08-29 07:35:34 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"175"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "175"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 175 ORDER BY to_date  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96 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 18ms (Views: 9.7ms | ActiveRecord: 2.4ms) Started POST "/adherent/members/175/payments" for 127.0.0.1 at 2013-08-29 07:35:34 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"175"} 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", "175"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 175], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 175 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 175 ORDER BY to_date  (3.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96 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", 96], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["payment_id", 43], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/175/payments Completed 302 Found in 24ms (ActiveRecord: 7.1ms) Started GET "/adherent/members/175/payments" for 127.0.0.1 at 2013-08-29 07:35:34 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"175"} 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", "175"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 175 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 96 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 175 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_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.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 17ms (Views: 12.8ms | ActiveRecord: 2.2ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 175 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.2ms) 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:34 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" = 140) 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 140], ["updated_at", Thu, 29 Aug 2013 05:35:34 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" = 140) 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 140], ["updated_at", Thu, 29 Aug 2013 05:35:34 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" = 140) 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 140], ["updated_at", Thu, 29 Aug 2013 05:35: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 (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 178 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 178 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 178], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  Started GET "/adherent/members/178/payments/new" for 127.0.0.1 at 2013-08-29 07:35:34 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"178"} 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", "178"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 178 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 97 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 97 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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 17ms (Views: 8.8ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/178/payments" for 127.0.0.1 at 2013-08-29 07:35:34 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"178"} 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", "178"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 178], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 178 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 178 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 97 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 97 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", 97], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["payment_id", 44], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/178/payments Completed 302 Found in 12ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/178/payments" for 127.0.0.1 at 2013-08-29 07:35:34 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"178"} 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", "178"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 178 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 44 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 97 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 178 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 44  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 44 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 44 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.0ms) Completed 200 OK in 15ms (Views: 11.1ms | ActiveRecord: 2.4ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.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.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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35: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"."organism_id" = 141 Completed 200 OK in 9ms (Views: 1.9ms | ActiveRecord: 1.1ms)  (0.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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) 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.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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1003"} 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1004"} 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:34 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" = 'A001' AND "adherent_members"."organism_id" = 147) 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", Mon, 06 Jun 1955], ["created_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 147], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/181/coord/new Completed 302 Found in 12ms (ActiveRecord: 2.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.2ms) 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35: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" = 'A001' AND "adherent_members"."organism_id" = 148) 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 148], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/182/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.5ms)  (0.2ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.8ms)  (0.4ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:34 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" = 'A001' AND "adherent_members"."organism_id" = 150) 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 150], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/183/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1005"} Organism Load (1.8ms) 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1005 Completed 302 Found in 7ms (ActiveRecord: 2.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1006"} Organism Load (1.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.4ms) 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 2.8ms)  (3.2ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1007"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1007 Completed 302 Found in 9ms (ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1008"} 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1008 Completed 302 Found in 6ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.7ms)  (0.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (1.5ms) 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" = 158) 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 158], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (0.8ms) 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" = 158) 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 158], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (1.4ms) 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" = 158) 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 158], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (0.9ms) COMMIT  (0.4ms) BEGIN Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 158) 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 158], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (1.8ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 158) 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", Thu, 29 Aug 2013 05:35:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 158], ["updated_at", Thu, 29 Aug 2013 05:35:34 UTC +00:00]]  (0.9ms) COMMIT Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members" for 127.0.0.1 at 2013-08-29 07:36:14 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (6.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"."organism_id" = 158 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 184 ORDER BY to_date Adherent::Coord Load (45.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 184 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 185 ORDER BY to_date Adherent::Coord Load (1.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 185 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 186 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 186 LIMIT 1 Adherent::Adhesion Load (2.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 187 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 187 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 188 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 188 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 913ms (Views: 734.9ms | ActiveRecord: 145.6ms) Started GET "/assets/adherent/application.css" for 127.0.0.1 at 2013-08-29 07:36:16 +0200 Compiled jquery.ui.core.css (1ms) (pid 11237) Compiled jquery.ui.theme.css (29ms) (pid 11237) Compiled jquery.ui.datepicker.css (366ms) (pid 11237) Compiled adherent/adhesion.css (1ms) (pid 11237) Compiled adherent/allpayments.css (0ms) (pid 11237) Compiled adherent/bootstrap.css (2ms) (pid 11237) Compiled adherent/coords.css (0ms) (pid 11237) Compiled adherent/date_picker.css (1ms) (pid 11237) Compiled adherent/jc_application.css (1925ms) (pid 11237) Compiled adherent/jcmenu.css (0ms) (pid 11237) Compiled adherent/layouts.css (46ms) (pid 11237) Compiled adherent/members.css (0ms) (pid 11237) Compiled adherent/old_bootstrap.css (0ms) (pid 11237) Compiled adherent/payments.css (0ms) (pid 11237) Compiled adherent/reglements.css (0ms) (pid 11237) Compiled adherent/application.css (3603ms) (pid 11237) Served asset /adherent/application.css - 200 OK (4266ms) Started GET "/assets/adherent/application.js" for 127.0.0.1 at 2013-08-29 07:36:21 +0200 Compiled jquery.js (85ms) (pid 11237) Compiled jquery_ujs.js (0ms) (pid 11237) Compiled jquery.ui.core.js (0ms) (pid 11237) Compiled jquery.ui.datepicker.js (44ms) (pid 11237) Compiled adherent/adhesion.js (0ms) (pid 11237) Compiled adherent/allpayments.js (0ms) (pid 11237) Compiled adherent/bootstrap.js (5ms) (pid 11237) Compiled adherent/coords.js (0ms) (pid 11237) Compiled adherent/date_picker.js (0ms) (pid 11237) Compiled adherent/members.js (1ms) (pid 11237) Compiled adherent/payments.js (0ms) (pid 11237) Compiled adherent/reglements.js (0ms) (pid 11237) Compiled adherent/application.js (711ms) (pid 11237) Served asset /adherent/application.js - 200 OK (986ms) Started GET "/assets/adherent/icones/home.png" for 127.0.0.1 at 2013-08-29 07:36:22 +0200 Served asset /adherent/icones/home.png - 200 OK (570ms) Started GET "/assets/adherent/icones/user-plus.png" for 127.0.0.1 at 2013-08-29 07:36:22 +0200 Served asset /adherent/icones/user-plus.png - 200 OK (181ms) Started GET "/assets/adherent/icones/modifier.png" for 127.0.0.1 at 2013-08-29 07:36:23 +0200 Served asset /adherent/icones/modifier.png - 200 OK (98ms) Started GET "/assets/adherent/icones/bandaid.png" for 127.0.0.1 at 2013-08-29 07:36:23 +0200 Served asset /adherent/icones/bandaid.png - 200 OK (118ms) Started GET "/assets/adherent/icones/card-address.png" for 127.0.0.1 at 2013-08-29 07:36:23 +0200 Served asset /adherent/icones/card-address.png - 200 OK (110ms) Started GET "/assets/adherent/icones/payment.png" for 127.0.0.1 at 2013-08-29 07:36:23 +0200 Served asset /adherent/icones/payment.png - 200 OK (91ms) Started GET "/assets/adherent/icones/supprimer.png" for 127.0.0.1 at 2013-08-29 07:36:23 +0200 Served asset /adherent/icones/supprimer.png - 200 OK (111ms) Started DELETE "/adherent/members/184" for 127.0.0.1 at 2013-08-29 07:36:28 +0200 Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"184"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (81.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "184"]]  (0.2ms) BEGIN Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 184 LIMIT 1 SQL (103.1ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 184]]  (11.6ms) COMMIT Redirected to http://127.0.0.1:39896/adherent/members Completed 302 Found in 203ms (ActiveRecord: 197.6ms) Started GET "/adherent/members" for 127.0.0.1 at 2013-08-29 07:36:29 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 158 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 185 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 185 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 186 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 186 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 187 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 187 LIMIT 1 Adherent::Adhesion Load (1.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 188 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 188 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 32ms (Views: 20.6ms | ActiveRecord: 6.2ms)  (0.7ms) SELECT COUNT(*) FROM "adherent_members"   (103.1ms) 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  (342.3ms) select table_name from information_schema.views where table_schema = 'adh_test'  (532.5ms) 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 (1.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (33.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:36:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:32 UTC +00:00]]  (9.0ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (0.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", Thu, 29 Aug 2013 05:36:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:36:32 UTC +00:00]]  (3.2ms) COMMIT  (0.0ms) BEGIN 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 (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", Thu, 29 Aug 2013 05:36:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:36:32 UTC +00:00]]  (1.1ms) COMMIT  (0.6ms) BEGIN Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' 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", Thu, 29 Aug 2013 05:36:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:36:32 UTC +00:00]]  (1.1ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.6ms) 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", Thu, 29 Aug 2013 05:36:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:36:32 UTC +00:00]]  (1.2ms) COMMIT  (0.1ms) 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.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", Thu, 29 Aug 2013 05:36:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:36:32 UTC +00:00]]  (1.2ms) COMMIT Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (0.1ms) BEGIN SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 05:36:32 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 1], ["mode", "Chèque"], ["updated_at", Thu, 29 Aug 2013 05:36:32 UTC +00:00]] Adherent::Member Load (0.3ms) 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  (2.1ms) COMMIT Started GET "/adherent/members/1/payments" for 127.0.0.1 at 2013-08-29 07:36: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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* 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  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id 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 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.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 28ms (Views: 17.2ms | ActiveRecord: 9.5ms) Started GET "/assets/adherent/icones/users.png" for 127.0.0.1 at 2013-08-29 07:36:32 +0200 Served asset /adherent/icones/users.png - 200 OK (135ms) Started GET "/assets/adherent/icones/money-plus.png" for 127.0.0.1 at 2013-08-29 07:36:32 +0200 Served asset /adherent/icones/money-plus.png - 200 OK (224ms) Started GET "/assets/adherent/icones/imputation.png" for 127.0.0.1 at 2013-08-29 07:36:32 +0200 Served asset /adherent/icones/imputation.png - 200 OK (73ms) Started GET "/assets/adherent/icones/detail.png" for 127.0.0.1 at 2013-08-29 07:36:32 +0200 Served asset /adherent/icones/detail.png - 200 OK (54ms) Started DELETE "/adherent/members/1/payments/1" for 127.0.0.1 at 2013-08-29 07:36:33 +0200 Processing by Adherent::PaymentsController#destroy as HTML Parameters: {"member_id"=>"1", "id"=>"1"} Organism Load (2.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (5.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] Adherent::Payment Load (2.6ms) 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 (13.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1 SQL (0.9ms) DELETE FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 [["id", 1]]  (48.8ms) COMMIT Redirected to http://127.0.0.1:39896/adherent/members/1/payments Completed 302 Found in 99ms (ActiveRecord: 73.8ms) Started GET "/adherent/members/1/payments" for 127.0.0.1 at 2013-08-29 07:36:33 +0200 Processing by Adherent::PaymentsController#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.6ms) 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.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 23ms (Views: 12.4ms | ActiveRecord: 1.9ms)  (0.8ms) SELECT COUNT(*) FROM "adherent_payments"  (0.4ms) 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  (1940.7ms) TRUNCATE TABLE "adherent_adhesions", "adherent_payments", "adherent_coords", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (1.2ms) 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 (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (21.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:36:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:36 UTC +00:00]]  (65.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.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", Thu, 29 Aug 2013 05:36:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:36:36 UTC +00:00]]  (37.9ms) COMMIT  (0.2ms) 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.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", Thu, 29 Aug 2013 05:36:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:36:36 UTC +00:00]]  (13.2ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' 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", Thu, 29 Aug 2013 05:36:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:36:36 UTC +00:00]]  (3.4ms) 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.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", Thu, 29 Aug 2013 05:36:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:36:36 UTC +00:00]]  (12.7ms) COMMIT  (0.1ms) 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", Thu, 29 Aug 2013 05:36:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:36:36 UTC +00:00]]  (8.6ms) COMMIT Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.8ms) 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) BEGIN 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", #], ["created_at", Thu, 29 Aug 2013 05:36:36 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:36:36 UTC +00:00]]  (6.3ms) COMMIT Started GET "/adherent/members/1/adhesions" for 127.0.0.1 at 2013-08-29 07:36:36 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1"} Organism Load (3.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (4.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]]  (0.8ms) 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.4ms) 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.0ms) Completed 200 OK in 114ms (Views: 96.9ms | ActiveRecord: 10.0ms) Started GET "/assets/adherent/icones/nouveau.png" for 127.0.0.1 at 2013-08-29 07:36:36 +0200 Served asset /adherent/icones/nouveau.png - 200 OK (144ms) Started DELETE "/adherent/members/1/adhesions/1" for 127.0.0.1 at 2013-08-29 07:36:37 +0200 Processing by Adherent::AdhesionsController#destroy as HTML Parameters: {"member_id"=>"1", "id"=>"1"} Organism Load (1.3ms) 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"."id" = $1 LIMIT 1 [["id", "1"]] Adherent::Adhesion Load (0.6ms) 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 (2.4ms) DELETE FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 [["id", 1]]  (67.8ms) COMMIT Redirected to http://127.0.0.1:39896/adherent/members/1/adhesions Completed 302 Found in 107ms (ActiveRecord: 74.0ms) Started GET "/adherent/members/1/adhesions" for 127.0.0.1 at 2013-08-29 07:36:37 +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 (4.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]]  (3.1ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 Redirected to http://127.0.0.1:39896/adherent/members/1/adhesions/new Completed 302 Found in 20ms (ActiveRecord: 8.3ms) Started GET "/adherent/members/1/adhesions/new" for 127.0.0.1 at 2013-08-29 07:36:37 +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 (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (8.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 54ms (Views: 45.5ms | ActiveRecord: 2.0ms) Started GET "/assets/adherent/cal.gif" for 127.0.0.1 at 2013-08-29 07:36:38 +0200 Served asset /adherent/cal.gif - 200 OK (46ms)  (0.8ms) SELECT COUNT(*) FROM "adherent_adhesions"   (3.1ms) 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  (798.0ms) TRUNCATE TABLE "adherent_adhesions", "adherent_payments", "adherent_coords", "adherent_reglements", "adherent_members", "organisms" RESTART IDENTITY CASCADE;  (1.4ms) 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  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (29.5ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' 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", Thu, 29 Aug 2013 05:36:39 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:36:39 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (7.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", nil], ["city", "Lille"], ["created_at", Thu, 29 Aug 2013 05:36:39 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 1], ["office", nil], ["tel", nil], ["updated_at", Thu, 29 Aug 2013 05:36:39 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 1]] SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 1]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"   (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1013"} 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", Thu, 29 Aug 2013 05:36:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1014"} Organism Load (4.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", Thu, 29 Aug 2013 05:36:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 1.0ms | ActiveRecord: 5.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1015"} Organism Load (1.4ms) 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", Thu, 29 Aug 2013 05:36:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1015/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 3.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1016", "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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:36:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 25ms (Views: 20.8ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1018", "id"=>"1"} Organism Load (2.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.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", Thu, 29 Aug 2013 05:36:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 4.3ms | ActiveRecord: 4.7ms)  (4.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1020", "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", Thu, 29 Aug 2013 05:36:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1022", "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", Thu, 29 Aug 2013 05:36:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.8ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1024", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.5ms) 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", Thu, 29 Aug 2013 05:36:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1024/adhesions Completed 302 Found in 9ms (ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1026", "id"=>"1"} Organism Load (1.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", Thu, 29 Aug 2013 05:36:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1026/adhesions Completed 302 Found in 11ms (ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1028"} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:36:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1028/adhesions Completed 302 Found in 6ms (ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1030"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (9.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:36:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 15ms (Views: 0.9ms | ActiveRecord: 9.8ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1032"} 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", Thu, 29 Aug 2013 05:36:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1032/adhesions Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1034"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:36:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.4ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:36:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:40 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" = 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", Thu, 29 Aug 2013 05:36:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 14], ["updated_at", Thu, 29 Aug 2013 05:36:40 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/2/coord/new" for 127.0.0.1 at 2013-08-29 07:36:40 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"2"} 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"."id" = $1 LIMIT 1 [["id", "2"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 2 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (50.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 106ms (Views: 95.9ms | ActiveRecord: 4.1ms) Started POST "/adherent/members/2/coord" for 127.0.0.1 at 2013-08-29 07:36:40 +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"=>"2"} 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", "2"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 2 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", ""], ["created_at", Thu, 29 Aug 2013 05:36:40 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 2], ["office", ""], ["tel", ""], ["updated_at", Thu, 29 Aug 2013 05:36:40 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/2/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 1.7ms) Started GET "/adherent/members/2/adhesions/new" for 127.0.0.1 at 2013-08-29 07:36:40 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"2"} 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", "2"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (11.4ms) 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 27ms (Views: 20.9ms | ActiveRecord: 1.1ms)  (3.2ms) 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", Thu, 29 Aug 2013 05:36:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:40 UTC +00:00]]  (1.6ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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" = 15) 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", Thu, 29 Aug 2013 05:36:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 15], ["updated_at", Thu, 29 Aug 2013 05:36:40 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members/3/coord/new" for 127.0.0.1 at 2013-08-29 07:36:40 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"3"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "3"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 3 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (9.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 19ms (Views: 13.5ms | ActiveRecord: 2.3ms) Started POST "/adherent/members/3/coord" for 127.0.0.1 at 2013-08-29 07:36:40 +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"=>"3"} 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", "3"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 3 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", Thu, 29 Aug 2013 05:36:40 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 3], ["office", ""], ["tel", ""], ["updated_at", Thu, 29 Aug 2013 05:36:40 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/3/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 1.3ms) Started GET "/adherent/members/3/adhesions/new" for 127.0.0.1 at 2013-08-29 07:36:40 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"3"} 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", "3"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 16ms (Views: 10.3ms | ActiveRecord: 1.6ms) Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 3 LIMIT 1  (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", Thu, 29 Aug 2013 05:36:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:40 UTC +00:00]]  (2.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" = '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", Thu, 29 Aug 2013 05:36:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 16], ["updated_at", Thu, 29 Aug 2013 05:36:40 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members/4/coord/new" for 127.0.0.1 at 2013-08-29 07:36:40 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"4"} Organism Load (1.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", "4"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (10.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 20ms (Views: 14.0ms | ActiveRecord: 2.2ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  Started POST "/adherent/members/4/coord" for 127.0.0.1 at 2013-08-29 07:36:40 +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"=>"4"} 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", "4"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1  (0.5ms) 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", Thu, 29 Aug 2013 05:36:40 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 4], ["office", ""], ["tel", ""], ["updated_at", Thu, 29 Aug 2013 05:36:40 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/4/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 2.0ms) Started GET "/adherent/members/4/adhesions/new" for 127.0.0.1 at 2013-08-29 07:36:40 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"4"} 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", "4"]] Adherent::Adhesion Load (0.5ms) 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 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 14ms (Views: 8.6ms | ActiveRecord: 1.2ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_coords"  (0.5ms) 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", Thu, 29 Aug 2013 05:36:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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" = 17) LIMIT 1 SQL (2.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", Thu, 29 Aug 2013 05:36:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 17], ["updated_at", Thu, 29 Aug 2013 05:36:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members/5/coord/new" for 127.0.0.1 at 2013-08-29 07:36:40 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"5"} 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", "5"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (70.4ms) Rendered layouts/adherent/_header.html.haml (0.0ms) 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.1ms) Completed 200 OK in 80ms (Views: 74.2ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1036"} Organism Load (3.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", Thu, 29 Aug 2013 05:36:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 28ms (Views: 17.6ms | ActiveRecord: 4.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1038"} Organism Load (3.6ms) 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", Thu, 29 Aug 2013 05:36:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 4.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1040"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (5.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:36:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 2.5ms | ActiveRecord: 6.4ms)  (0.6ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1042"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Thu, 29 Aug 2013 05:36:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 1.6ms)  (0.7ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1044"} Organism Load (0.5ms) 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", Thu, 29 Aug 2013 05:36:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:41 UTC +00:00]]  (2.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.7ms | ActiveRecord: 3.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1046"} 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", Thu, 29 Aug 2013 05:36:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1048"} 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", Thu, 29 Aug 2013 05:36:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1048/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"=>"1050"} Organism Load (0.6ms) 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", Thu, 29 Aug 2013 05:36:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1050/coord Completed 302 Found in 4ms (ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1052"} 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", Thu, 29 Aug 2013 05:36:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1052/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 2.5ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1054"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:36:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:41 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 2.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1056"} Organism Load (2.2ms) 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", Thu, 29 Aug 2013 05:36:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 1.2ms | ActiveRecord: 2.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1059"} 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", Thu, 29 Aug 2013 05:36:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1062"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.5ms) 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", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:42 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 11ms (Views: 1.0ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1065"} 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", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1064/payments Completed 302 Found in 5ms (ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (1.9ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (0.1ms) ROLLBACK  (1.6ms) 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", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 6], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 6 Adherent::Adhesion Load (14.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 6 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 6], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 6], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 6 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 6 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 2  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 1 SQL (1.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00]]  (0.4ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.5ms) ROLLBACK  (0.1ms) BEGIN 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  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) 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", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:36:42 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", #], ["created_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 7], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:36:42 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" = 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.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", #], ["created_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 7], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 05:36:42 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", #], ["created_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 7], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:36:42 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.3ms) 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  (0.2ms) 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" = 3 SQL (1.6ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["payment_id", 2], ["updated_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 4 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", 4], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["payment_id", 2], ["updated_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 2  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 2  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.4ms) 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", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 8], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 8 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 8 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", #], ["created_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 8], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00]]  (0.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 8], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 8 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 8 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 5  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 6  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 5 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", 5], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["payment_id", 3], ["updated_at", Thu, 29 Aug 2013 05:36:42 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" IS NULL AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN 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  (0.0ms) 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 (1.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.0ms) BEGIN  (0.7ms) 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", Tue, 06 Jun 1944], ["created_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.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", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 2) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) 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.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 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  (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", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:36:42 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.2ms) 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.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", #], ["created_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 12], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:36:42 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.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 12 ORDER BY to_date DESC LIMIT 1  (0.0ms) 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.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", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:36:42 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" = 13 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 13 ORDER BY to_date DESC LIMIT 1  (0.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", #], ["created_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 13], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:36:42 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" = 13 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 13 ORDER BY to_date DESC LIMIT 1  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:36:42 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" = 14 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 14 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", #], ["created_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 14], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 14 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 14 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AllpaymentsController#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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Payment Load (3.6ms) SELECT "adherent_payments".* FROM "adherent_payments" INNER JOIN "adherent_members" ON "adherent_payments"."member_id" = "adherent_members"."id" WHERE "adherent_members"."organism_id" = 32 Completed 200 OK in 354ms (Views: 45.2ms | ActiveRecord: 4.5ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1066", "id"=>"1067"} 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", Thu, 29 Aug 2013 05:36:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 54ms (Views: 49.6ms | ActiveRecord: 1.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1068"} 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", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1068/payments Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1070"} 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", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1072"} 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", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1072/payments Completed 302 Found in 5ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1074"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.2ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1076"} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.5ms) 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", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 67ms (Views: 2.3ms | ActiveRecord: 3.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1077"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.0ms) 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", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:43 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  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) 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.8ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) 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.0ms) 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.0ms) ROLLBACK  (0.1ms) BEGIN  (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", #], ["created_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:36:43 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" = 10  (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", 10], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 10  (0.2ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 11  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 11], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (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", #], ["created_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 12  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 12], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 12  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 12  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36: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" = 'Adh000' AND "adherent_members"."organism_id" = 40) LIMIT 1 SQL (0.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", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 40], ["updated_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00]]  (1.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" = 'Adh001' AND "adherent_members"."organism_id" = 40) 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", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 40], ["updated_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 40) 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", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 40], ["updated_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (1.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" = 40) 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", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 40], ["updated_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00]]  (2.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" = 'Adh004' AND "adherent_members"."organism_id" = 40) 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", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 40], ["updated_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00]]  (0.3ms) 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-29 07:36: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" = 40 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 15 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 15 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 16 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 16 LIMIT 1 Adherent::Adhesion Load (0.3ms) 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.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 18 LIMIT 1 Adherent::Adhesion Load (0.3ms) 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 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 30ms (Views: 23.3ms | ActiveRecord: 3.7ms)  (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 (1.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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" = 41) 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", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 41], ["updated_at", Thu, 29 Aug 2013 05:36:43 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" = 'Adh001' AND "adherent_members"."organism_id" = 41) 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", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 41], ["updated_at", Thu, 29 Aug 2013 05:36: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" = 41) 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", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 41], ["updated_at", Thu, 29 Aug 2013 05:36: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" = 41) 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", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 41], ["updated_at", Thu, 29 Aug 2013 05:36: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" = 41) LIMIT 1 SQL (0.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", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 41], ["updated_at", Thu, 29 Aug 2013 05:36: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-29 07:36: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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 41 Adherent::Adhesion Load (0.3ms) 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 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 21 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 21 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 22 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 22 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 23 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 23 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 24 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 24 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 43ms (Views: 36.9ms | ActiveRecord: 3.5ms)  (0.1ms) ROLLBACK  (0.0ms) 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 (1.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00]]  (0.1ms) 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" = 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", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 42], ["updated_at", Thu, 29 Aug 2013 05:36: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" = 'Adh001' AND "adherent_members"."organism_id" = 42) 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", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 42], ["updated_at", Thu, 29 Aug 2013 05:36: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" = 42) 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", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 42], ["updated_at", Thu, 29 Aug 2013 05:36: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" = 'Adh003' AND "adherent_members"."organism_id" = 42) 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", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 42], ["updated_at", Thu, 29 Aug 2013 05:36: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" = 42) 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", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 42], ["updated_at", Thu, 29 Aug 2013 05:36: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-29 07:36: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.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" = 25 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 25 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 26 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 26 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 27 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 28 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 28 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 29 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 29 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 31ms (Views: 24.7ms | ActiveRecord: 3.5ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/25/coord" for 127.0.0.1 at 2013-08-29 07:36:43 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"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"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 25 LIMIT 1 Redirected to http://www.example.com/adherent/members/25/coord/new Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET "/adherent/members/25/coord/new" for 127.0.0.1 at 2013-08-29 07:36:43 +0200 Processing by Adherent::CoordsController#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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "25"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 25 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.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 14ms (Views: 11.0ms | ActiveRecord: 1.0ms)  (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 (2.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 43) 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", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 43], ["updated_at", Thu, 29 Aug 2013 05:36: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" = 'Adh001' AND "adherent_members"."organism_id" = 43) 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", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 43], ["updated_at", Thu, 29 Aug 2013 05:36:43 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" = 43) 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", Thu, 29 Aug 2013 05:36:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 43], ["updated_at", Thu, 29 Aug 2013 05:36: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" = 'Adh003' AND "adherent_members"."organism_id" = 43) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 43], ["updated_at", Thu, 29 Aug 2013 05:36: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" = 43) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 43], ["updated_at", Thu, 29 Aug 2013 05:36: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-29 07:36:44 +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" = 43 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 30 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 31 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 31 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 32 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 32 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 33 ORDER BY to_date Adherent::Coord Load (1.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 33 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 34 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 30ms (Views: 23.4ms | ActiveRecord: 4.2ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30 ORDER BY to_date DESC LIMIT 1  (0.3ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 30], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:36:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/30/adhesions" for 127.0.0.1 at 2013-08-29 07:36:44 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"30"} 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", "30"]]  (0.3ms) SELECT COUNT(*) 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  (0.4ms) 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 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 13ms (Views: 7.8ms | ActiveRecord: 1.5ms)  (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.5ms) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36: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" = 'Adh000' AND "adherent_members"."organism_id" = 44) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 44], ["updated_at", Thu, 29 Aug 2013 05:36: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" = 'Adh001' AND "adherent_members"."organism_id" = 44) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 44], ["updated_at", Thu, 29 Aug 2013 05:36: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" = 'Adh002' AND "adherent_members"."organism_id" = 44) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 44], ["updated_at", Thu, 29 Aug 2013 05:36: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" = 'Adh003' AND "adherent_members"."organism_id" = 44) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 44], ["updated_at", Thu, 29 Aug 2013 05:36:44 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" = 44) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 44], ["updated_at", Thu, 29 Aug 2013 05:36:44 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-29 07:36:44 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.0ms) 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" = 44 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 35 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 36 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 36 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 37 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 37 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 38 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 38 LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 39 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 (57.3ms) Completed 200 OK in 88ms (Views: 80.4ms | ActiveRecord: 4.8ms) Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-29 07:36:44 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (7.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 48ms (Views: 41.5ms | ActiveRecord: 0.9ms)  (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 (2.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 45) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 45], ["updated_at", Thu, 29 Aug 2013 05:36:44 UTC +00:00]]  (4.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 45) LIMIT 1 SQL (2.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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 45], ["updated_at", Thu, 29 Aug 2013 05:36:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 45) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 45], ["updated_at", Thu, 29 Aug 2013 05:36: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" = 'Adh003' AND "adherent_members"."organism_id" = 45) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 45], ["updated_at", Thu, 29 Aug 2013 05:36:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 45) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 45], ["updated_at", Thu, 29 Aug 2013 05:36: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-29 07:36:44 +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" = 45 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 40 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 40 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 41 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 41 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 42 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 42 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 43 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 43 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 44 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 44 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.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.0ms) Completed 200 OK in 29ms (Views: 22.9ms | ActiveRecord: 3.5ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/40/payments" for 127.0.0.1 at 2013-08-29 07:36:44 +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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "40"]] Adherent::Payment Load (1.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 40 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 7ms (Views: 3.9ms | ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (1.0ms) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:44 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 46) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 46], ["updated_at", Thu, 29 Aug 2013 05:36:44 UTC +00:00]]  (1.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" = 46) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 46], ["updated_at", Thu, 29 Aug 2013 05:36: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" = 'Adh002' AND "adherent_members"."organism_id" = 46) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 46], ["updated_at", Thu, 29 Aug 2013 05:36: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" = 'Adh003' AND "adherent_members"."organism_id" = 46) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 46], ["updated_at", Thu, 29 Aug 2013 05:36:44 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" = 'Adh004' AND "adherent_members"."organism_id" = 46) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 46], ["updated_at", Thu, 29 Aug 2013 05:36:44 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-29 07:36:44 +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" = 46 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 45 ORDER BY to_date Adherent::Coord Load (1.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 45 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 46 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 46 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 47 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 47 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 48 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 48 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 49 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 49 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 32ms (Views: 23.2ms | ActiveRecord: 4.8ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/45/adhesions" for 127.0.0.1 at 2013-08-29 07:36:44 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"45"} 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", "45"]]  (0.7ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 45 Redirected to http://www.example.com/adherent/members/45/adhesions/new Completed 302 Found in 6ms (ActiveRecord: 1.5ms) Started GET "/adherent/members/45/adhesions/new" for 127.0.0.1 at 2013-08-29 07:36:44 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"45"} Organism Load (0.7ms) 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", "45"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 45 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 45 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (12.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.0ms) Completed 200 OK in 21ms (Views: 16.4ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.8ms) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:44 UTC +00:00]]  (1.5ms) RELEASE SAVEPOINT active_record_1  (0.7ms) 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" = 47) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 47], ["updated_at", Thu, 29 Aug 2013 05:36:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 47) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 47], ["updated_at", Thu, 29 Aug 2013 05:36:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.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" = 47) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 47], ["updated_at", Thu, 29 Aug 2013 05:36:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.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" = 47) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 47], ["updated_at", Thu, 29 Aug 2013 05:36:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 47) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 47], ["updated_at", Thu, 29 Aug 2013 05:36: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-29 07:36: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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 47 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 50 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 50 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 51 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 51 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 52 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 52 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 53 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 53 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 54 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 54 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 38ms (Views: 30.2ms | ActiveRecord: 4.4ms) Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/50/edit" for 127.0.0.1 at 2013-08-29 07:36:44 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"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"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 20ms (Views: 17.6ms | ActiveRecord: 0.5ms)  (0.2ms) 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 (2.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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" = 48) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 48], ["updated_at", Thu, 29 Aug 2013 05:36: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" = 'Adh001' AND "adherent_members"."organism_id" = 48) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 48], ["updated_at", Thu, 29 Aug 2013 05:36: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" = 'Adh002' AND "adherent_members"."organism_id" = 48) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 48], ["updated_at", Thu, 29 Aug 2013 05:36:44 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" = 'Adh003' AND "adherent_members"."organism_id" = 48) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 48], ["updated_at", Thu, 29 Aug 2013 05:36: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" = 48) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 48], ["updated_at", Thu, 29 Aug 2013 05:36: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-29 07:36: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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 48 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 55 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 55 LIMIT 1 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.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 56 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 57 ORDER BY to_date Adherent::Coord Load (0.2ms) 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.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 58 LIMIT 1 Adherent::Adhesion Load (0.3ms) 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 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 29ms (Views: 23.1ms | ActiveRecord: 3.9ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" 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", nil], ["city", "Marseille"], ["created_at", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 55], ["office", nil], ["tel", nil], ["updated_at", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["zip", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 55 LIMIT 1 Started GET "/adherent/members/55/coord" for 127.0.0.1 at 2013-08-29 07:36:44 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"55"} 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", "55"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 55 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 9ms (Views: 4.8ms | ActiveRecord: 0.7ms)  (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 (0.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:44 UTC +00:00]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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" = 49) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 49], ["updated_at", Thu, 29 Aug 2013 05:36:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 49) 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", Thu, 29 Aug 2013 05:36:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 49], ["updated_at", Thu, 29 Aug 2013 05:36: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" = 'Adh002' AND "adherent_members"."organism_id" = 49) 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", Thu, 29 Aug 2013 05:36:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 49], ["updated_at", Thu, 29 Aug 2013 05:36:45 UTC +00:00]]  (0.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" = 'Adh003' AND "adherent_members"."organism_id" = 49) 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", Thu, 29 Aug 2013 05:36:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 49], ["updated_at", Thu, 29 Aug 2013 05:36:45 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 49) 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", Thu, 29 Aug 2013 05:36:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 49], ["updated_at", Thu, 29 Aug 2013 05:36: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/new" for 127.0.0.1 at 2013-08-29 07:36:45 +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 (5.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 11ms (Views: 8.9ms | ActiveRecord: 0.3ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_members"  Started POST "/adherent/members" for 127.0.0.1 at 2013-08-29 07:36:45 +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.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.5ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'ADH1' AND "adherent_members"."organism_id" = 49) 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", Thu, 29 Aug 2013 05:36:45 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 49], ["updated_at", Thu, 29 Aug 2013 05:36:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/65/coord/new Completed 302 Found in 9ms (ActiveRecord: 1.8ms) Started GET "/adherent/members/65/coord/new" for 127.0.0.1 at 2013-08-29 07:36:45 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"65"} 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", "65"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 65 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (12.5ms) Rendered layouts/adherent/_header.html.haml (0.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 23ms (Views: 18.0ms | ActiveRecord: 0.8ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_members"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.6ms) SAVEPOINT active_record_1 SQL (5.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:36:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:45 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" = 'Adh000' AND "adherent_members"."organism_id" = 50) 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", Thu, 29 Aug 2013 05:36:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 50], ["updated_at", Thu, 29 Aug 2013 05:36: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/66/adhesions/new" for 127.0.0.1 at 2013-08-29 07:36:45 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"66"} 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", "66"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 66 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 66 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (6.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.0ms) Completed 200 OK in 21ms (Views: 10.6ms | ActiveRecord: 2.0ms)  (0.2ms) 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.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:36:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:45 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" = 51) LIMIT 1 SQL (5.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", Thu, 29 Aug 2013 05:36:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 51], ["updated_at", Thu, 29 Aug 2013 05:36: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/67/adhesions/new" for 127.0.0.1 at 2013-08-29 07:36:45 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"67"} 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", "67"]] Adherent::Adhesion Load (1.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 67 Adherent::Adhesion Load (2.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 67 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.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 20ms (Views: 10.7ms | ActiveRecord: 4.8ms)  (0.1ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 67 Started POST "/adherent/members/67/adhesions" for 127.0.0.1 at 2013-08-29 07:36:45 +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"=>"67"} 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", "67"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:36:45 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 67], ["to_date", Thu, 31 Jul 2014], ["updated_at", Thu, 29 Aug 2013 05:36:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/67/adhesions Completed 302 Found in 6ms (ActiveRecord: 1.1ms) Started GET "/adherent/members/67/adhesions" for 127.0.0.1 at 2013-08-29 07:36:45 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"67"} 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", "67"]]  (1.9ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 67 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 67  (1.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 14 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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 23ms (Views: 12.4ms | ActiveRecord: 4.5ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 67  (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 (0.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:36:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:45 UTC +00:00]]  (4.0ms) 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" = 52) 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", Thu, 29 Aug 2013 05:36:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 52], ["updated_at", Thu, 29 Aug 2013 05:36:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  (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", #], ["created_at", Thu, 29 Aug 2013 05:36:45 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 68], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:36:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/68/adhesions" for 127.0.0.1 at 2013-08-29 07:36:45 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"68"} Organism Load (1.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", "68"]]  (0.9ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 68 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 68  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 15 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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 18ms (Views: 8.9ms | ActiveRecord: 3.2ms)  (0.2ms) 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 (5.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:36:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.9ms) 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" = 53) 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", Thu, 29 Aug 2013 05:36:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 53], ["updated_at", Thu, 29 Aug 2013 05:36:45 UTC +00:00]]  (3.5ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:36:45 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 69], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:36:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/69/adhesions" for 127.0.0.1 at 2013-08-29 07:36:45 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"69"} 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", "69"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 69 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 69  (0.2ms) 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 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.4ms | ActiveRecord: 1.3ms) Started GET "/adherent/members/69/adhesions/16/edit" for 127.0.0.1 at 2013-08-29 07:36:45 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"69", "id"=>"16"} 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", "69"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 69 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "16"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (6.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 13ms (Views: 9.6ms | ActiveRecord: 0.9ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:36:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:36:45 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SAVEPOINT active_record_1 Adherent::Member Exists (8.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 54) 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", Thu, 29 Aug 2013 05:36:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 54], ["updated_at", Thu, 29 Aug 2013 05:36:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (0.1ms) SAVEPOINT active_record_1 SQL (2.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:36:45 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 70], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:36:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/70/adhesions" for 127.0.0.1 at 2013-08-29 07:36:45 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"70"} 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", "70"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 70 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 70  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 17 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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 13ms (Views: 9.5ms | ActiveRecord: 1.4ms) Started GET "/adherent/members/70/payments/new" for 127.0.0.1 at 2013-08-29 07:36:45 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"70"} 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", "70"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 70 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 17 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 17 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (7.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: 11.0ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (1.2ms) ROLLBACK  (0.5ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.0ms) COMMIT  (0.0ms) BEGIN Organism Load (1.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (30.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:42:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42: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" = 'Adh000' AND "adherent_members"."organism_id" = 55) 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", Thu, 29 Aug 2013 05:42:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 55], ["updated_at", Thu, 29 Aug 2013 05:42:44 UTC +00:00]]  (0.1ms) 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" = 71 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 71 ORDER BY to_date DESC LIMIT 1  (0.2ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 71], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 71], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 71 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 71 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 18  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/71/payments" for 127.0.0.1 at 2013-08-29 07:42:45 +0200 Processing by Adherent::PaymentsController#index 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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "71"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 71 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* 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  (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 /home/jcl/rails_project/Adherent/app/views/adherent/payments/index.html.haml within layouts/adherent/application (21.1ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 45ms (Views: 40.6ms | ActiveRecord: 1.9ms)  (1.0ms) 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.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:45 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" = 56) 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", Thu, 29 Aug 2013 05:42:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 56], ["updated_at", Thu, 29 Aug 2013 05:42:45 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" = 72 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 72 ORDER BY to_date DESC LIMIT 1  (0.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", #], ["created_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 72], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 72], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 72 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 72 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 19  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/72/payments" for 127.0.0.1 at 2013-08-29 07:42:45 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"72"} 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", "72"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 72 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* 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  (0.2ms) 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.1ms) Completed 200 OK in 13ms (Views: 9.9ms | ActiveRecord: 1.7ms) Started GET "/adherent/payments/5/reglements/new" for 127.0.0.1 at 2013-08-29 07:42:45 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"5"} 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", "5"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 72 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 5  (0.2ms) 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.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 19 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 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (46.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 69ms (Views: 53.7ms | ActiveRecord: 2.1ms)  (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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:45 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" = 57) 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", Thu, 29 Aug 2013 05:42:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 57], ["updated_at", Thu, 29 Aug 2013 05:42:45 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.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 73 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 73 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", #], ["created_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 73], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/73/payments/new" for 127.0.0.1 at 2013-08-29 07:42:45 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"73"} 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", "73"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 73 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (9.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 23ms (Views: 16.4ms | ActiveRecord: 1.3ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 73 Started POST "/adherent/members/73/payments" for 127.0.0.1 at 2013-08-29 07:42:45 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"73"} 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", "73"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 73], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 73 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 73 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/73/payments Completed 302 Found in 11ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/73/payments" for 127.0.0.1 at 2013-08-29 07:42:45 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"73"} 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", "73"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 73 Adherent::Reglement Load (1.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 6 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.2ms) 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 14ms (Views: 9.3ms | ActiveRecord: 2.8ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 73  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:45 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" = 58) 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", Thu, 29 Aug 2013 05:42:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 58], ["updated_at", Thu, 29 Aug 2013 05:42:45 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" = 74 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 74 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", #], ["created_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 74], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/74/payments/new" for 127.0.0.1 at 2013-08-29 07:42:45 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"74"} 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", "74"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 74 ORDER BY to_date  (0.2ms) 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/payments/_form.html.haml (10.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: 13.4ms | ActiveRecord: 1.1ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:45 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" = 59) 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", Thu, 29 Aug 2013 05:42:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 59], ["updated_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (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", #], ["created_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 75], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/75/adhesions" for 127.0.0.1 at 2013-08-29 07:42:45 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"75"} 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", "75"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 75 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 75  (0.2ms) 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 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: 15.3ms | 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:45 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" = 60) 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", Thu, 29 Aug 2013 05:42:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 60], ["updated_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00]]  (1.8ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (0.2ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 76], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/76/adhesions" for 127.0.0.1 at 2013-08-29 07:42:45 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"76"} 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", "76"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 76 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 76  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23 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.2ms) Started GET "/adherent/members/76/payments/new" for 127.0.0.1 at 2013-08-29 07:42:45 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"76"} 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", "76"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 76 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (15.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 31ms (Views: 19.3ms | ActiveRecord: 1.0ms)  (0.3ms) 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", Thu, 29 Aug 2013 05:42:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:45 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" = 61) 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", Thu, 29 Aug 2013 05:42:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 61], ["updated_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (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", #], ["created_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 77], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/77/adhesions" for 127.0.0.1 at 2013-08-29 07:42:45 +0200 Processing by Adherent::AdhesionsController#index 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"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 77 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 77  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 24 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 24 Rendered layouts/adherent/_header.html.haml (1.4ms) 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.2ms) Completed 200 OK in 15ms (Views: 10.8ms | ActiveRecord: 1.4ms) Started GET "/adherent/members/77/adhesions/24/edit" for 127.0.0.1 at 2013-08-29 07:42:45 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"77", "id"=>"24"} 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", "77"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 77 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "24"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (8.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.0ms) Completed 200 OK in 18ms (Views: 14.0ms | ActiveRecord: 0.9ms)  (0.2ms) 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", Thu, 29 Aug 2013 05:42:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.6ms) 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" = 62) 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", Thu, 29 Aug 2013 05:42:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 62], ["updated_at", Thu, 29 Aug 2013 05:42: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/78/adhesions/new" for 127.0.0.1 at 2013-08-29 07:42:45 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"78"} 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", "78"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 78 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 78 ORDER BY to_date DESC LIMIT 1 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 15ms (Views: 9.8ms | ActiveRecord: 0.9ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 78 Started POST "/adherent/members/78/adhesions" for 127.0.0.1 at 2013-08-29 07:42:45 +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"=>"78"} 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", "78"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 78], ["to_date", Thu, 31 Jul 2014], ["updated_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/78/adhesions Completed 302 Found in 7ms (ActiveRecord: 1.1ms) Started GET "/adherent/members/78/adhesions" for 127.0.0.1 at 2013-08-29 07:42:45 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"78"} 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", "78"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 78 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 78  (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 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.2ms | ActiveRecord: 1.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 78  (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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:42:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42: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" = 63) 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", Thu, 29 Aug 2013 05:42:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 63], ["updated_at", Thu, 29 Aug 2013 05:42: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/79/adhesions/new" for 127.0.0.1 at 2013-08-29 07:42:45 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"79"} 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", "79"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 79 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 79 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 16ms (Views: 10.2ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AllpaymentsController#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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" INNER JOIN "adherent_members" ON "adherent_payments"."member_id" = "adherent_members"."id" WHERE "adherent_members"."organism_id" = 64 Completed 200 OK in 18ms (Views: 2.0ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) 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.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.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (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", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:46 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" = 65) 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", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 65], ["updated_at", Thu, 29 Aug 2013 05:42:46 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/80/coord/new" for 127.0.0.1 at 2013-08-29 07:42:46 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"80"} 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", "80"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 80 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (17.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 47ms (Views: 23.3ms | ActiveRecord: 3.2ms) Started POST "/adherent/members/80/coord" for 127.0.0.1 at 2013-08-29 07:42:46 +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"=>"80"} 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", "80"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 80 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.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", ""], ["city", ""], ["created_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 80], ["office", ""], ["tel", ""], ["updated_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/80/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 1.5ms) Started GET "/adherent/members/80/adhesions/new" for 127.0.0.1 at 2013-08-29 07:42:46 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"80"} 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", "80"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 80 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 80 ORDER BY to_date DESC LIMIT 1 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: 8.3ms | ActiveRecord: 0.9ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:46 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" = 66) 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", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 66], ["updated_at", Thu, 29 Aug 2013 05:42:46 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/81/coord/new" for 127.0.0.1 at 2013-08-29 07:42:46 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"81"} 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", "81"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 81 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (10.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 22ms (Views: 16.7ms | ActiveRecord: 0.7ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  Started POST "/adherent/members/81/coord" for 127.0.0.1 at 2013-08-29 07:42:46 +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"=>"81"} Organism Load (4.8ms) 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", "81"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 81 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (2.2ms) 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", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 81], ["office", ""], ["tel", ""], ["updated_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/81/adhesions/new Completed 302 Found in 17ms (ActiveRecord: 8.0ms) Started GET "/adherent/members/81/adhesions/new" for 127.0.0.1 at 2013-08-29 07:42:46 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"81"} 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", "81"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 81 Adherent::Adhesion Load (1.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 81 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 19ms (Views: 7.9ms | ActiveRecord: 2.4ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_coords"  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:46 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" = 67) 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", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 67], ["updated_at", Thu, 29 Aug 2013 05:42:46 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/82/coord/new" for 127.0.0.1 at 2013-08-29 07:42:46 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"82"} 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", "82"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 82 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.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 17ms (Views: 11.3ms | ActiveRecord: 0.8ms) Started POST "/adherent/members/82/coord" for 127.0.0.1 at 2013-08-29 07:42:46 +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"=>"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"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 82 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", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 82], ["office", ""], ["tel", ""], ["updated_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/82/adhesions/new Completed 302 Found in 6ms (ActiveRecord: 1.3ms) Started GET "/adherent/members/82/adhesions/new" for 127.0.0.1 at 2013-08-29 07:42:46 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"82"} 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", "82"]] Adherent::Adhesion Load (0.2ms) 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 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 (3.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 19ms (Views: 13.2ms | ActiveRecord: 1.0ms) Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 82 LIMIT 1  (0.2ms) ROLLBACK  (1.6ms) 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", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:46 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" = 68) 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", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 68], ["updated_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members/83/coord/new" for 127.0.0.1 at 2013-08-29 07:42:46 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"83"} 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", "83"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 83 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (62.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 69ms (Views: 65.0ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) 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.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 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.2ms) 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", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:42:46 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" = 84 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 84 ORDER BY to_date DESC LIMIT 1  (0.3ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 84], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 84 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 84 ORDER BY to_date DESC LIMIT 1  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) 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", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 85 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 85 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", #], ["created_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 85], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:42:46 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" = 85 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 85 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (0.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", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:42:46 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" = 86 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 86 ORDER BY to_date DESC LIMIT 1  (0.6ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 86], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:42:46 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" = 86 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 86 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) 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.2ms) 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.0ms) BEGIN 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  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.5ms) 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.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) 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", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00]]  (0.1ms) RELEASE 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" = 2) LIMIT 1  (0.1ms) ROLLBACK  (0.9ms) 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", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Tue, 06 Jun 1944], ["created_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1011"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.7ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1013"} Organism Load (0.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (2.3ms) 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", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1013/coord Completed 302 Found in 8ms (ActiveRecord: 2.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1015"} 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", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1017"} Organism Load (1.8ms) 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", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1017/coord Completed 302 Found in 6ms (ActiveRecord: 2.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1019"} 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", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1021"} Organism Load (0.1ms) 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", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1021/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1023"} 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", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1025"} 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", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1027"} Organism Load (0.9ms) 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", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 1.7ms | ActiveRecord: 3.1ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1029"} 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", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1031"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.4ms) 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", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.0ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (3.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' AND "adherent_members"."organism_id" = 1) 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", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 90], ["office", nil], ["tel", nil], ["updated_at", Thu, 29 Aug 2013 05:42:46 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (5.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 90 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 9]] SQL (0.4ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 90]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) ROLLBACK  (0.1ms) BEGIN  (2.7ms) 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.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN 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  (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.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", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 91], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:42:47 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" = 91 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 91 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 91], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 91], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 91 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 91 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 29  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 30  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 29 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", 29], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["payment_id", 7], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 30 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", 30], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["payment_id", 7], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.3ms) 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 (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", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:42:47 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", #], ["created_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 92], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:42:47 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" = 92 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 92 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", #], ["created_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 92], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 05:42:47 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", #], ["created_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 92], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 92 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 92 ORDER BY to_date  (0.2ms) 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" = 32  (0.2ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["payment_id", 8], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 32 SQL (0.3ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["payment_id", 8], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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.1ms) 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.0ms) 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.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", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 93], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:42:47 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" = 93 Adherent::Adhesion Load (1.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 93 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 93], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 05:42:47 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", #], ["created_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 93], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 93 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 93 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 33  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 34  (0.2ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["payment_id", 9], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (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", #], ["created_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:42:47 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.0ms) 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", 35], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 35  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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", #], ["created_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (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", #], ["created_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:42:47 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.3ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1038", "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", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1040", "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", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1040/adhesions Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1042", "id"=>"1"} Organism Load (0.3ms) 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", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.8ms | ActiveRecord: 3.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1044", "id"=>"1"} Organism Load (0.5ms) 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", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1044/adhesions Completed 302 Found in 6ms (ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1046"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1046/adhesions Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1048"} 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", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1050"} 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", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1050/adhesions Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1052", "id"=>"1"} Organism Load (0.8ms) 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", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1054", "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.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1056"} 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", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1058"} 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", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1059"} 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", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 52ms (Views: 45.5ms | ActiveRecord: 0.9ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1060"} Organism Load (2.8ms) 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", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1060/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 3.3ms)  (0.1ms) ROLLBACK Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (10.0ms) 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" = 93) 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", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 93], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (2.0ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 93) 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", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 93], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (1.7ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 93) 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", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 93], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (1.0ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' 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", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 93], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (1.1ms) COMMIT  (0.1ms) BEGIN Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 93) 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", Thu, 29 Aug 2013 05:42:47 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 93], ["updated_at", Thu, 29 Aug 2013 05:42:47 UTC +00:00]]  (1.8ms) COMMIT Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" Connecting to database specified by database.yml Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1002"} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/new.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 53ms (Views: 24.2ms | ActiveRecord: 14.0ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1005"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1008"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1007/payments Completed 302 Found in 4ms (ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (15.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", Thu, 29 Aug 2013 05:43:43 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:43:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", Thu, 29 Aug 2013 05:43:43 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 99], ["office", nil], ["tel", nil], ["updated_at", Thu, 29 Aug 2013 05:43:43 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 99 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 10]] SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 99]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.4ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AllpaymentsController#index as HTML Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.8ms) SELECT "adherent_payments".* FROM "adherent_payments" INNER JOIN "adherent_members" ON "adherent_payments"."member_id" = "adherent_members"."id" WHERE "adherent_members"."organism_id" = 93 Completed 200 OK in 145ms (Views: 2.6ms | ActiveRecord: 3.0ms)  (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 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  (14.8ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) COMMIT  (0.0ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (3.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" = 93) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) COMMIT  (0.0ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.6ms) 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" = 93) LIMIT 1  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.5ms) 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" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN 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" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) COMMIT  (0.0ms) BEGIN 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.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.3ms) 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 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (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 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1011"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1013"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1013/payments Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1015"} Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1015/payments Completed 302 Found in 3ms (ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1017"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1019"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1020"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1021", "id"=>"1022"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.5ms)  (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 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN 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.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) COMMIT  (0.1ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.5ms) 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" = 93) LIMIT 1  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (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.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.1ms) ROLLBACK  (0.2ms) 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", Thu, 29 Aug 2013 05:43:44 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 100], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:43:44 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" = 100 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 100 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", #], ["created_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 100], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 100], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 100 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 100 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 38  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 39  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 38 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", 38], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00], ["payment_id", 10], ["updated_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 39 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 39], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00], ["payment_id", 10], ["updated_at", Thu, 29 Aug 2013 05:43:44 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.2ms) 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", Thu, 29 Aug 2013 05:43:44 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:43:44 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", #], ["created_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 101], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:43:44 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" = 101 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 101 ORDER BY to_date DESC LIMIT 1  (0.3ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 101], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 05:43:44 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", #], ["created_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 101], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 101 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 101 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 40  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 41  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 40 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", 40], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00], ["payment_id", 11], ["updated_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) 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.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", Thu, 29 Aug 2013 05:43:44 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 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", #], ["created_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 102], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:43:44 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" = 102 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 102 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", #], ["created_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 102], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 05:43:44 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", #], ["created_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 102], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 102 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 102 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 42  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 43  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 42 SQL (2.0ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 42], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00], ["payment_id", 12], ["updated_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00]]  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 43 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", 43], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00], ["payment_id", 12], ["updated_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.5ms) 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.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1023"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1023 Completed 302 Found in 3ms (ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1024"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1025"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1025 Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1026"} Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1026 Completed 302 Found in 3ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1027"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members Completed 302 Found in 5ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1028"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Organism Load (1.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 1.2ms)  (1.1ms) ROLLBACK  (0.1ms) 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 Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN 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 (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 93 Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.3ms)  (0.2ms) 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 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 7ms (Views: 3.4ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} 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.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 93) 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", Thu, 29 Aug 2013 05:43:44 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 93], ["updated_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/103/coord/new Completed 302 Found in 6ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 93) 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", Thu, 29 Aug 2013 05:43:44 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 93], ["updated_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/104/coord/new Completed 302 Found in 7ms (ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001", "birthdate"=>"06/06/1955"}} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' 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", Mon, 06 Jun 1955], ["created_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 93], ["updated_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/105/coord/new Completed 302 Found in 8ms (ActiveRecord: 2.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.8ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:43:44 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" = 44  (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", 44], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 44  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (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", #], ["created_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:43:44 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" = 45  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 45], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 45  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 45  (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", #], ["created_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 46  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 46], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:43:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) 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 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.4ms) 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" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (2.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.7ms) 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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" = 93) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.2ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1036", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1038", "id"=>"1"} Organism Load (0.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1040"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1040/adhesions Completed 302 Found in 3ms (ActiveRecord: 0.4ms)  (0.7ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1042"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1042/adhesions Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1044"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1046"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1047"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1047/adhesions/new Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (1.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1048"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1049"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1051", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1051/adhesions Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1053", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1055", "id"=>"1"} Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1055/adhesions Completed 302 Found in 2ms (ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1057", "id"=>"1"} Organism Load (0.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.6ms)  (0.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (1.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) 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.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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 Adherent::Member Exists (0.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.7ms) 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 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  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (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 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.6ms) BEGIN  (0.2ms) 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 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) COMMIT  (0.0ms) BEGIN 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.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (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.3ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) 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.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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) 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.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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.1ms) 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.6ms) 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.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 (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" IS NULL AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Tue, 06 Jun 1944], ["created_at", Thu, 29 Aug 2013 05:43:45 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:43:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.2ms) 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", Thu, 29 Aug 2013 05:43:45 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:43:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Thu, 29 Aug 2013 05:43:45 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:43:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 2) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) 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.2ms) ROLLBACK  (0.0ms) 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.0ms) 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  (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.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", Thu, 29 Aug 2013 05:43:45 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:43: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" = 109 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 109 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", #], ["created_at", Thu, 29 Aug 2013 05:43:45 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 109], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:43: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" = 109 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 109 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) 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", Thu, 29 Aug 2013 05:43:45 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:43:45 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 110 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 110 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", #], ["created_at", Thu, 29 Aug 2013 05:43:45 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 110], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:43: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" = 110 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 110 ORDER BY to_date DESC LIMIT 1  (0.4ms) ROLLBACK  (0.0ms) 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", Thu, 29 Aug 2013 05:43:45 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:43:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 111 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 111 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", #], ["created_at", Thu, 29 Aug 2013 05:43:45 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 111], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:43:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 111 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 111 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1059"} Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1061"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1063"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1063/adhesions/new Completed 302 Found in 3ms (ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1065"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1067"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (1.4ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1069"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1071"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1073"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1073/coord Completed 302 Found in 3ms (ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1075"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1077"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1077/coord Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1079"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) 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 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) ROLLBACK  (0.0ms) BEGIN 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.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.8ms) 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.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.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.0ms) BEGIN Adherent::Member Exists (0.2ms) 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  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) 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", Tue, 06 Jun 1944], ["created_at", Thu, 29 Aug 2013 05:44:51 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:44:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Thu, 29 Aug 2013 05:44:51 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:44:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) 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", Thu, 29 Aug 2013 05:44:51 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:44:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.4ms) 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) ROLLBACK  (0.0ms) BEGIN Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.3ms) ROLLBACK  (0.0ms) 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.0ms) 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.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Thu, 29 Aug 2013 05:44:51 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:44:51 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" = 115 Adherent::Adhesion Load (0.2ms) 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 (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", #], ["created_at", Thu, 29 Aug 2013 05:44:51 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 115], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:44:51 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" = 115 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 115 ORDER BY to_date DESC LIMIT 1  (0.3ms) ROLLBACK  (0.0ms) 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 (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", Thu, 29 Aug 2013 05:44:51 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:44:51 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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 116 ORDER BY to_date DESC LIMIT 1  (0.3ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:44:51 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 116], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:44:51 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.0ms) 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.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", Thu, 29 Aug 2013 05:44:51 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:44:51 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.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", #], ["created_at", Thu, 29 Aug 2013 05:44:51 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 117], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:44:51 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) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) 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 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.6ms) ROLLBACK  (0.0ms) BEGIN 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.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) 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 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AllpaymentsController#index as HTML Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" INNER JOIN "adherent_members" ON "adherent_payments"."member_id" = "adherent_members"."id" WHERE "adherent_members"."organism_id" = 93 Completed 200 OK in 70ms (Views: 6.2ms | ActiveRecord: 3.7ms)  (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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) 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.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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.5ms) 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" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) 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 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) 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 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  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.3ms) 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 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (1.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN 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" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (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.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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.6ms) 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 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN 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.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1001"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1001/adhesions Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1003"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1003/adhesions Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1005"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1007"} Organism Load (1.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1009"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1009/adhesions/new Completed 302 Found in 3ms (ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1010"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 1.6ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1011"} Organism Load (0.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1012", "id"=>"1"} Organism Load (0.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1014", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1016", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1016/adhesions Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1018", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1018/adhesions Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1020", "id"=>"1"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1022", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 5ms (Views: 2.1ms | ActiveRecord: 0.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1024"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 8ms (Views: 2.0ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1026"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1027"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1028"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1028/payments Completed 302 Found in 3ms (ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1030"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1030/payments Completed 302 Found in 2ms (ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1032"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1034", "id"=>"1035"} Organism Load (1.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1037"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1036/payments Completed 302 Found in 3ms (ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1039"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 2.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1042"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN 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.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (1.3ms) 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" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN 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.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (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 Adherent::Member Exists (0.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN 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.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) 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", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 118], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:44:59 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" = 118 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 118 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", #], ["created_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 118], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 118], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 118 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 118 ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 53  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 54  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 53 SQL (0.8ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 53], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["payment_id", 13], ["updated_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) ROLLBACK  (0.1ms) BEGIN 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  (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 (26.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", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 119], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:44:59 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" = 119 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 119 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", #], ["created_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 119], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 05:44:59 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", #], ["created_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 119], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 119 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 119 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 55  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 56  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 55 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", 55], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["payment_id", 14], ["updated_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 56 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 56], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["payment_id", 14], ["updated_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (1.8ms) 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.6ms) 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", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:44:59 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", #], ["created_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 120], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:44:59 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" = 120 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 120 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", #], ["created_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 120], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 120], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 120 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 120 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 57  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 58  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 57 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", 57], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["payment_id", 15], ["updated_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00]]  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 58 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", 58], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["payment_id", 15], ["updated_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.6ms) 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  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (0.1ms) 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 Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.3ms)  (0.1ms) 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 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 93) 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", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 93], ["updated_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/121/coord/new Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.1ms) 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 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 93) 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", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 93], ["updated_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/122/coord/new Completed 302 Found in 6ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001", "birthdate"=>"06/06/1955"}} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.8ms) 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" = 93) 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", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 93], ["updated_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/123/coord/new Completed 302 Found in 8ms (ActiveRecord: 2.9ms)  (0.6ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.4ms)  (0.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 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 93 Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1046"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1046 Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1047"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1047 Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1048"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1049"} Organism Load (0.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1049 Completed 302 Found in 3ms (ActiveRecord: 0.6ms)  (0.1ms) 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 Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1050"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1051"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) 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 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (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.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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", #], ["created_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:44:59 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" = 59  (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", 59], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 59  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 59  (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", #], ["created_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 60  (0.2ms) 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", 60], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 60  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:44:59 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" = 61  (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", 61], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1057"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 5ms (Views: 2.8ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1059"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1059/adhesions/new Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1061"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1063"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1065"} Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1067"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1069"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1071"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1071/coord Completed 302 Found in 4ms (ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1073"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1073/coord Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1075"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 10ms (Views: 1.0ms | ActiveRecord: 0.4ms)  (1.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1077"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (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" = 'Adh1' 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", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", "Lille"], ["created_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 124], ["office", nil], ["tel", nil], ["updated_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 124 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 11]] SQL (0.2ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 124]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) 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 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) 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 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) 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 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  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) 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.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.0ms) BEGIN Adherent::Adhesion Load (0.2ms) 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", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 125 Adherent::Adhesion Load (0.5ms) 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.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", #], ["created_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 125], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 125 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 125 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) 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", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:44:59 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" = 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.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", #], ["created_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 126], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 126 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 126 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:44:59 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" = 127 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 127 ORDER BY to_date DESC LIMIT 1  (1.6ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:44:59 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 127], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:44:59 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" = 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) 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" = 'Adh 001' 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 (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.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 (48.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", Thu, 29 Aug 2013 05:45:00 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:45:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 2) LIMIT 1  (0.7ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) 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", Thu, 29 Aug 2013 05:45:00 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:45:00 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.4ms) ROLLBACK  (0.9ms) BEGIN  (0.2ms) 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 (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", Tue, 06 Jun 1944], ["created_at", Thu, 29 Aug 2013 05:45:00 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:45:00 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.0ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (0.3ms) 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (5.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1001"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 57ms (Views: 54.5ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1003"} Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1005"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1005/adhesions/new Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.6ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1007"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1009"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1011"} Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1013"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1013/coord Completed 302 Found in 3ms (ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1015"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1017"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1017/coord Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1019"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1021"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1023", "id"=>"1024"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1025"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1027"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1027/payments Completed 302 Found in 3ms (ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1029"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.3ms)  (1.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1031"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1031/payments Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1033"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 5ms (Views: 3.4ms | ActiveRecord: 0.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1034"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AllpaymentsController#index as HTML Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" INNER JOIN "adherent_members" ON "adherent_payments"."member_id" = "adherent_members"."id" WHERE "adherent_members"."organism_id" = 93 Completed 200 OK in 66ms (Views: 1.9ms | ActiveRecord: 3.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1036"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1035/payments Completed 302 Found in 4ms (ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1038"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" Completed 200 OK in 11ms (Views: 3.1ms | ActiveRecord: 3.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1041"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.5ms)  (0.1ms) 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 Adherent::Member Exists (1.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) COMMIT  (0.0ms) BEGIN Organism Load (1.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (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 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (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 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (3.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (6.4ms) ROLLBACK TO SAVEPOINT active_record_1  (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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.0ms) 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" = 93) LIMIT 1  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.4ms) ROLLBACK  (0.1ms) BEGIN  (0.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) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:46:07 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 65  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 65], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:07 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:46:07 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" = 65  (0.3ms) ROLLBACK  (0.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:46:07 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:07 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" = 66  (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", 66], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:07 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:46:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:46:07 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:07 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" = 67  (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", 67], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:07 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:46:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 67  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 67  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) 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 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1046"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 6ms (Views: 2.7ms | ActiveRecord: 0.3ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1048"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1048/adhesions Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1050"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1052"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1052/adhesions Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1054"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1055"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1056"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1056/adhesions/new Completed 302 Found in 2ms (ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1057", "id"=>"1"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1059", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1059/adhesions Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1061", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1063", "id"=>"1"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1063/adhesions Completed 302 Found in 2ms (ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1065", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1067", "id"=>"1"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) COMMIT  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 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  (0.1ms) 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Adhesion Load (0.9ms) 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.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.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  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (0.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", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:46:08 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" = 131 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 131 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", #], ["created_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 131], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 131 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 131 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", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:46:08 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" = 132 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 132 ORDER BY to_date DESC LIMIT 1  (0.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", #], ["created_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 132], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:08 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" = 132 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 132 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.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", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:46:08 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" = 133 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 133 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", #], ["created_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 133], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 133 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 133 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" IS NULL AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.2ms) 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" = '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" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (7.7ms) 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 (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", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00]]  (0.2ms) RELEASE 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" = 2) 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 (2.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", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00]]  (0.1ms) RELEASE 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  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Tue, 06 Jun 1944], ["created_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) 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) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (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.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", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 137], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:46:08 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" = 137 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 137 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", #], ["created_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 137], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 137], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00]] Adherent::Member Load (1.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 137 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 137 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 71  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 72  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 71 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", 71], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["payment_id", 16], ["updated_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 72 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 72], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["payment_id", 16], ["updated_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) ROLLBACK  (0.0ms) BEGIN 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  (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", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:46:08 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", #], ["created_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 138], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:46:08 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" = 138 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 138 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", #], ["created_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 138], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 138], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 138 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 138 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 73  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 74  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 73 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", 73], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["payment_id", 17], ["updated_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 74 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", 74], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["payment_id", 17], ["updated_at", Thu, 29 Aug 2013 05:46:08 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" = 17  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 17  (0.1ms) 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", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 139], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:46:08 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" = 139 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 139 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", #], ["created_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 139], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 05:46:08 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", #], ["created_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 139], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 139 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 139 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 75  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 76  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 75 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", 75], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["payment_id", 18], ["updated_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Organism Load (3.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 8ms (Views: 1.6ms | ActiveRecord: 3.8ms)  (4.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Organism Load (1.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 1.7ms)  (2.1ms) ROLLBACK  (1.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001", "birthdate"=>"06/06/1955"}} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) 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" = 93) 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", Mon, 06 Jun 1955], ["created_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 93], ["updated_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/140/coord/new Completed 302 Found in 20ms (ActiveRecord: 2.0ms)  (0.6ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 1.0ms)  (0.9ms) ROLLBACK  (0.2ms) 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.2ms) 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" = 93) 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", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 93], ["updated_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/141/coord/new Completed 302 Found in 6ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} 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.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 93) LIMIT 1 SQL (0.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", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 93], ["updated_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/142/coord/new Completed 302 Found in 7ms (ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML 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"."organism_id" = 93 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1071"} Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members Completed 302 Found in 2ms (ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1072"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) 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 Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Organism Load (0.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1075"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1075 Completed 302 Found in 4ms (ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1076"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1076 Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1077"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1078"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1078 Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.4ms) 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" = 'Adh1' 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", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 143], ["office", nil], ["tel", nil], ["updated_at", Thu, 29 Aug 2013 05:46:08 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 143 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 12]] SQL (0.2ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 143]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) 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 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 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  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (3.5ms) 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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 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  (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  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 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  (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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.4ms) 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 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  (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  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) ROLLBACK  (3.6ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 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  (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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (3.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (1.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:46:23 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:46:23 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 77 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 77 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (44.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (76.1ms) Rendered layouts/adherent/_header.html.haml (0.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 124ms (Views: 102.1ms | ActiveRecord: 3.0ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:23 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} Organism Load (1.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", "94"]]  (0.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:46:23 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:46:23 UTC +00:00]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 77 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 77 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", 77], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:23 UTC +00:00], ["payment_id", 19], ["updated_at", Thu, 29 Aug 2013 05:46:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 32ms (ActiveRecord: 4.0ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:23 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 19 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 77 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 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 /home/jcl/rails_project/Adherent/app/views/adherent/payments/index.html.haml within layouts/adherent/application (42.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 49ms (Views: 43.7ms | ActiveRecord: 2.7ms)  (0.6ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94  (32.6ms) ROLLBACK  (0.2ms) BEGIN  (7.0ms) COMMIT  (2.6ms) BEGIN Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (4.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Exists (7.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.5ms) 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 94 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (24.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", #], ["created_at", Thu, 29 Aug 2013 05:46:23 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:46:23 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 78 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 78 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 15ms (Views: 8.2ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:23 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} 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", "94"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:46:23 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:46:23 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 78 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 78 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 78], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:23 UTC +00:00], ["payment_id", 20], ["updated_at", Thu, 29 Aug 2013 05:46:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 12ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:23 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} Organism Load (0.3ms) 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", "94"]] Adherent::Payment Load (0.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 78 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 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: 10.9ms | ActiveRecord: 2.9ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.2ms) ROLLBACK TO 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" = 94 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1  (0.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", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:46:24 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} Organism Load (0.8ms) 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", "94"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 79 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 79 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.0ms) Completed 200 OK in 21ms (Views: 8.7ms | ActiveRecord: 2.2ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:24 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} 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", "94"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00]] Adherent::Member Load (1.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 79 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 79 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", 79], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["payment_id", 21], ["updated_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 14ms (ActiveRecord: 3.4ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:24 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} Organism Load (0.2ms) 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", "94"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 21 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 79 LIMIT 1 Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.3ms) 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 Adherent::Reglement Load (0.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 21 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 21 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 63ms (Views: 58.9ms | ActiveRecord: 2.5ms) Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 79  (0.2ms) 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 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  (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  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.4ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.4ms) 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 94 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:46:24 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 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 15ms (Views: 8.7ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:24 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} 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", "94"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 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", 80], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["payment_id", 22], ["updated_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 13ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:24 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 80 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 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.0ms | ActiveRecord: 2.3ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 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", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 95], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:24 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" = 96 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 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", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 96], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/22/reglements/new" for 127.0.0.1 at 2013-08-29 07:46:24 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"22"} 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", "22"]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 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" = 80  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 81  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 82 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 81 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 96 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 82 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (13.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 31ms (Views: 20.1ms | ActiveRecord: 3.0ms) Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22  (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 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  (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  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (1.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 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", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:46:24 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 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 21ms (Views: 9.6ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:24 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} 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", "94"]]  (0.2ms) SAVEPOINT active_record_1 SQL (4.5ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00]] Adherent::Member Load (1.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (2.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (1.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 SQL (4.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 83], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["payment_id", 23], ["updated_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 27ms (ActiveRecord: 15.0ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:24 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} Organism Load (5.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "94"]] Adherent::Payment Load (3.0ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (2.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 23 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 83 LIMIT 1 Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (1.9ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 23  (0.3ms) 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 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 36ms (Views: 17.9ms | ActiveRecord: 16.1ms) Adherent::Payment Load (1.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (2.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 ORDER BY to_date DESC LIMIT 1  (1.4ms) SAVEPOINT active_record_1 SQL (3.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", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 95], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 ORDER BY to_date DESC LIMIT 1  (0.9ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 96], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/23/reglements/new" for 127.0.0.1 at 2013-08-29 07:46:24 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"23"} 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", "23"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 23  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 23 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" = 83  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 84  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 85 Adherent::Reglement Load (0.6ms) 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 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 84 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 96 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 85 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: 13.8ms | ActiveRecord: 3.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (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  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 94 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 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", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:46:24 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 86 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 86 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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 18ms (Views: 9.9ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:24 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} Organism Load (0.9ms) 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", "94"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 86 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 86 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", 86], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["payment_id", 24], ["updated_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 14ms (ActiveRecord: 3.3ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:24 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (1.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 24 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 86 LIMIT 1 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) 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.2ms) 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 17ms (Views: 11.4ms | ActiveRecord: 3.9ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 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", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 95], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:24 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" = 96 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 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", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 96], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/24/reglements/new" for 127.0.0.1 at 2013-08-29 07:46:24 +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.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "24"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 24  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 24 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 86  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 87  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 88 Adherent::Reglement Load (0.2ms) 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 Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 87 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 96 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 88 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_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.4ms) Completed 200 OK in 23ms (Views: 13.0ms | ActiveRecord: 2.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 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 94 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 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", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:46:24 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 89 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 89 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 20ms (Views: 9.5ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:24 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} 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", "94"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00]] Adherent::Member Load (1.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 89 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 89 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", 89], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["payment_id", 25], ["updated_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 17ms (ActiveRecord: 4.1ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:24 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 25 Adherent::Adhesion Load (1.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 89 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 25  (0.6ms) 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.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 18ms (Views: 12.1ms | ActiveRecord: 3.8ms) Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 95], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:24 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" = 96 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 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", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 96], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/25/reglements/new" for 127.0.0.1 at 2013-08-29 07:46:24 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"25"} 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", "25"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 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::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" = 89  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 90  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 91 Adherent::Reglement Load (0.3ms) 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 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 90 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 96 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 91 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_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 22ms (Views: 12.6ms | ActiveRecord: 2.7ms)  (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 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.2ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.7ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 94 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 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", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:46:24 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} Organism Load (0.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", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.9ms) 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 21ms (Views: 9.2ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:24 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} 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", "94"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92 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", 92], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["payment_id", 26], ["updated_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 13ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:24 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 26 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 92 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 26  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 26 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 26 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 26 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: 11.7ms | ActiveRecord: 2.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 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", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 95], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 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", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 96], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/26/reglements/new" for 127.0.0.1 at 2013-08-29 07:46:24 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"26"} 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", "26"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 26  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 26 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" = 92  (3.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 93  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 94 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 26 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 26 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 93 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 96 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 94 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 31ms (Views: 12.7ms | ActiveRecord: 6.7ms) Started POST "/adherent/payments/26/reglements" for 127.0.0.1 at 2013-08-29 07:46:24 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"93"}, "commit"=>"Enregistrer", "payment_id"=>"26"} 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", "26"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "93"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 26  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 26  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 93  (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", 93], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:24 UTC +00:00], ["payment_id", 26], ["updated_at", Thu, 29 Aug 2013 05:46:24 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" = 94 LIMIT 1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 10ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:24 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 26 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 93 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 92 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 26  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 26 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 26 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 26 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.0ms | ActiveRecord: 2.5ms)  (0.5ms) 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 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  (0.0ms) 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  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 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", #], ["created_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:46:25 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} Organism Load (2.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 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 20ms (Views: 9.1ms | ActiveRecord: 4.8ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:25 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} 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", "94"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 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", 95], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00], ["payment_id", 27], ["updated_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 12ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:25 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 27 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 95 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 27  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 27 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 27 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 27 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.0ms | ActiveRecord: 2.2ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 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", #], ["created_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 95], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:25 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" = 96 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 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", #], ["created_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 96], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/27/reglements/new" for 127.0.0.1 at 2013-08-29 07:46:25 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"27"} 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", "27"]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 27  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 27 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" = 95  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 97 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 27 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 27 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 96 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 97 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 22ms (Views: 12.8ms | ActiveRecord: 2.9ms) Started POST "/adherent/payments/27/reglements" for 127.0.0.1 at 2013-08-29 07:46:25 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"96"}, "commit"=>"Enregistrer", "payment_id"=>"27"} Organism Load (0.2ms) 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", "27"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "96"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 27  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 27  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 96], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00], ["payment_id", 27], ["updated_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 11ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:25 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 27 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 96 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 95 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 27  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 27 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 27 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 27 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 17ms (Views: 13.1ms | ActiveRecord: 2.6ms) Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (5.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.2ms) 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 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", #], ["created_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:46:25 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} Organism Load (0.3ms) 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", "94"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (1.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 98 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 98 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 24ms (Views: 9.4ms | ActiveRecord: 2.3ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:25 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} 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", "94"]]  (2.7ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00]] Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 98 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 98 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", 98], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00], ["payment_id", 28], ["updated_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 21ms (ActiveRecord: 6.0ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:25 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 98 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28 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.9ms | ActiveRecord: 2.6ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 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", #], ["created_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 95], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:25 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" = 96 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 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", #], ["created_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 96], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/28/reglements/new" for 127.0.0.1 at 2013-08-29 07:46:25 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"28"} 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", "28"]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28 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" = 98  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 99  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 100 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 99 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 96 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 100 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 23ms (Views: 12.5ms | ActiveRecord: 3.3ms) Started POST "/adherent/payments/28/reglements" for 127.0.0.1 at 2013-08-29 07:46:25 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"99"}, "commit"=>"Enregistrer", "payment_id"=>"28"} 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", "28"]] Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "99"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 99  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 99], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00], ["payment_id", 28], ["updated_at", Thu, 29 Aug 2013 05:46:25 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" = 94 LIMIT 1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 10ms (ActiveRecord: 3.2ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:25 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 99 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 98 LIMIT 1 Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28 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.9ms | ActiveRecord: 2.6ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements"  (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 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  (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  (0.0ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 94 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 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", #], ["created_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:46:25 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 101 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 101 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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 16ms (Views: 8.8ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:25 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} 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", "94"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 101 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 101 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", 101], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00], ["payment_id", 29], ["updated_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 11ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:25 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 101 LIMIT 1 Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29 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.8ms | ActiveRecord: 1.9ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 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", #], ["created_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 95], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:25 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" = 96 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 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", #], ["created_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 96], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/29/reglements/new" for 127.0.0.1 at 2013-08-29 07:46:25 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"29"} Organism Load (0.2ms) 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", "29"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 101  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 102  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 103 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 102 Adherent::Member Load (2.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 96 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 103 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 23ms (Views: 12.0ms | ActiveRecord: 4.8ms) Started POST "/adherent/payments/29/reglements" for 127.0.0.1 at 2013-08-29 07:46:25 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"102"}, "commit"=>"Enregistrer", "payment_id"=>"29"} Organism Load (0.0ms) 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", "29"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "102"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 102  (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", 102], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00], ["payment_id", 29], ["updated_at", Thu, 29 Aug 2013 05:46:25 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" = 94 LIMIT 1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 9ms (ActiveRecord: 2.0ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:25 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 102 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 101 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29 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: 3.1ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 101 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1  (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 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  (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" = 93) LIMIT 1  (0.0ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 94 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 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", #], ["created_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:46:25 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 104 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 104 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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 17ms (Views: 8.6ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:25 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} 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", "94"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 104 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 104 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", 104], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00], ["payment_id", 30], ["updated_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 13ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:25 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 104 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30 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.1ms | ActiveRecord: 2.1ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 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", #], ["created_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 95], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:25 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" = 96 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 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", #], ["created_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 96], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/30/reglements/new" for 127.0.0.1 at 2013-08-29 07:46:25 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"30"} Organism Load (4.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (1.0ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "30"]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30 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" = 104  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 105  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 106 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 105 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 96 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 106 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.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 34ms (Views: 14.1ms | ActiveRecord: 8.9ms) Started POST "/adherent/payments/30/reglements" for 127.0.0.1 at 2013-08-29 07:46:25 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"105"}, "commit"=>"Enregistrer", "payment_id"=>"30"} 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", "30"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "105"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 105  (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", 105], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00], ["payment_id", 30], ["updated_at", Thu, 29 Aug 2013 05:46:25 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" = 94 LIMIT 1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 10ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:25 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (1.0ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 105 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 104 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30 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: 13.7ms | ActiveRecord: 3.2ms) Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" ORDER BY "adherent_reglements"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 105 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1  (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 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  (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  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 94 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (7.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:46:25 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} Organism Load (4.2ms) 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", "94"]] Adherent::Adhesion Load (4.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 107 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 107 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (11.6ms) 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 36ms (Views: 21.6ms | ActiveRecord: 9.6ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:25 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} Organism Load (1.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "94"]]  (1.9ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00]] Adherent::Member Load (1.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (1.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (1.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 107 CACHE (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 107 SQL (1.8ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 107], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00], ["payment_id", 31], ["updated_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 29ms (ActiveRecord: 12.4ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:25 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "94"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 107 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31 Adherent::Reglement Load (8.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31 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 25ms (Views: 11.1ms | ActiveRecord: 11.8ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 107  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) COMMIT  (0.1ms) BEGIN Organism Load (4.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 94 Adherent::Adhesion Load (3.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1  (0.8ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:46:25 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 108 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 108 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 15ms (Views: 8.9ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:26 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} 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", "94"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:46:26 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:46:26 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 108 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 108 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", 108], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:26 UTC +00:00], ["payment_id", 32], ["updated_at", Thu, 29 Aug 2013 05:46:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 12ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:26 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 108 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32 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 15ms (Views: 11.6ms | ActiveRecord: 2.3ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32  (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 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 94 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 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", #], ["created_at", Thu, 29 Aug 2013 05:46:26 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:46:26 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (1.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 109 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 109 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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 17ms (Views: 8.7ms | ActiveRecord: 2.2ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:26 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} 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", "94"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:46:26 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:46:26 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 109 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 109 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", 109], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:26 UTC +00:00], ["payment_id", 33], ["updated_at", Thu, 29 Aug 2013 05:46:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 12ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:26 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 109 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 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.3ms) Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 109  (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 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.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" = 93) LIMIT 1  (0.0ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 94 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 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", #], ["created_at", Thu, 29 Aug 2013 05:46:26 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:46:26 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 110 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 110 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 15ms (Views: 8.8ms | ActiveRecord: 1.0ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:26 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} 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", "94"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:46:26 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:46:26 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 110 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 110 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", 110], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:26 UTC +00:00], ["payment_id", 34], ["updated_at", Thu, 29 Aug 2013 05:46:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 13ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:26 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 110 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 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 69ms (Views: 65.2ms | ActiveRecord: 2.3ms) Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 110  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 110  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AllpaymentsController#index as HTML Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" INNER JOIN "adherent_members" ON "adherent_payments"."member_id" = "adherent_members"."id" WHERE "adherent_members"."organism_id" = 93 Completed 200 OK in 15ms (Views: 1.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members/94/coord/new" for 127.0.0.1 at 2013-08-29 07:46:26 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (18.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 55ms (Views: 24.7ms | ActiveRecord: 3.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members/94/coord/new" for 127.0.0.1 at 2013-08-29 07:46:26 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (13.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 24ms (Views: 18.9ms | ActiveRecord: 0.8ms) Started POST "/adherent/members/94/coord" for 127.0.0.1 at 2013-08-29 07:46:26 +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"=>"94"} 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", "94"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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", Thu, 29 Aug 2013 05:46:26 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 94], ["office", ""], ["tel", ""], ["updated_at", Thu, 29 Aug 2013 05:46:26 UTC +00:00], ["zip", ""]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/adhesions/new Completed 302 Found in 10ms (ActiveRecord: 1.8ms) Started GET "/adherent/members/94/adhesions/new" for 127.0.0.1 at 2013-08-29 07:46:26 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (8.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: 14.6ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members/94/coord/new" for 127.0.0.1 at 2013-08-29 07:46:26 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (10.7ms) Rendered layouts/adherent/_header.html.haml (0.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 24ms (Views: 18.7ms | ActiveRecord: 1.1ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords" Started POST "/adherent/members/94/coord" for 127.0.0.1 at 2013-08-29 07:46:26 +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"=>"94"} 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", "94"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 LIMIT 1  (0.3ms) 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", Thu, 29 Aug 2013 05:46:26 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 94], ["office", ""], ["tel", ""], ["updated_at", Thu, 29 Aug 2013 05:46:26 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 1.5ms) Started GET "/adherent/members/94/adhesions/new" for 127.0.0.1 at 2013-08-29 07:46:26 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 13ms (Views: 7.2ms | ActiveRecord: 0.9ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (0.1ms) 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" = 93) LIMIT 1  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members/94/coord/new" for 127.0.0.1 at 2013-08-29 07:46:26 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Coord Load (0.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (12.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 23ms (Views: 18.8ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/94/coord" for 127.0.0.1 at 2013-08-29 07:46:26 +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"=>"94"} 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", "94"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 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", Thu, 29 Aug 2013 05:46:26 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 94], ["office", ""], ["tel", ""], ["updated_at", Thu, 29 Aug 2013 05:46:26 UTC +00:00], ["zip", ""]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 1.3ms) Started GET "/adherent/members/94/adhesions/new" for 127.0.0.1 at 2013-08-29 07:46:26 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 15ms (Views: 8.7ms | ActiveRecord: 1.4ms) Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN 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" = 93 Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1001"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1001 Completed 302 Found in 4ms (ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1002"} Organism Load (1.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1002 Completed 302 Found in 3ms (ActiveRecord: 1.2ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1003"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1003 Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1004"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) 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 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 93) 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", Thu, 29 Aug 2013 05:46:26 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 93], ["updated_at", Thu, 29 Aug 2013 05:46:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/144/coord/new Completed 302 Found in 8ms (ActiveRecord: 2.0ms)  (0.1ms) 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.4ms) 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" = 'A001' AND "adherent_members"."organism_id" = 93) 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", Thu, 29 Aug 2013 05:46:26 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 93], ["updated_at", Thu, 29 Aug 2013 05:46:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/145/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.0ms) 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 Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.3ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 93) LIMIT 1 SQL (4.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", Thu, 29 Aug 2013 05:46:26 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 93], ["updated_at", Thu, 29 Aug 2013 05:46:26 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/146/coord/new Completed 302 Found in 16ms (ActiveRecord: 6.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1005"} Organism Load (2.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members Completed 302 Found in 9ms (ActiveRecord: 2.0ms)  (1.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1006"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.3ms)  (0.1ms) 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 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.2ms)  (0.1ms) ROLLBACK  (0.1ms) 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 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1011"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.7ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1012"} Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1012/adhesions/new Completed 302 Found in 49ms (ActiveRecord: 1.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1013"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1014", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1014/adhesions Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1016", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1018", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1018/adhesions Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1020", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1022"} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.8ms)  (0.7ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1024", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1026", "id"=>"1"} Organism Load (1.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1028"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1028/adhesions Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1030"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1030/adhesions Completed 302 Found in 3ms (ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1032"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1034"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1036"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1038"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1038/coord Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1040"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1042"} Organism Load (0.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1042/coord Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1044"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1046"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1048"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1050"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1052"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1052/adhesions/new Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.4ms) ROLLBACK  (1.4ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1054"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (1.1ms) BEGIN Organism Load (1.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (2.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.5ms) 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" = 93) LIMIT 1  (0.9ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.2ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.3ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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-29 07:46:27 +0200 Processing by Adherent::MembersController#index as HTML 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"."organism_id" = 93 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 96 LIMIT 1 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 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 36ms (Views: 28.9ms | ActiveRecord: 3.7ms)  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (1.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.3ms) ROLLBACK TO 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-29 07:46:27 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.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"."organism_id" = 93 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 LIMIT 1 Adherent::Adhesion Load (0.5ms) 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 96 LIMIT 1 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.2ms) 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 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.7ms) Completed 200 OK in 30ms (Views: 23.4ms | ActiveRecord: 3.6ms)  (0.0ms) 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 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  (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  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (5.6ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members" for 127.0.0.1 at 2013-08-29 07:46:27 +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" = 93 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.3ms) 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.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 96 LIMIT 1 Adherent::Adhesion Load (0.3ms) 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.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 98 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 28ms (Views: 22.3ms | ActiveRecord: 3.4ms) Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/94/coord" for 127.0.0.1 at 2013-08-29 07:46:27 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 LIMIT 1 Redirected to http://www.example.com/adherent/members/94/coord/new Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET "/adherent/members/94/coord/new" for 127.0.0.1 at 2013-08-29 07:46:27 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.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 14ms (Views: 10.5ms | ActiveRecord: 0.7ms)  (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 Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.3ms) ROLLBACK TO 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-29 07:46:27 +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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 93 Adherent::Adhesion Load (1.3ms) 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.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 95 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 96 LIMIT 1 Adherent::Adhesion Load (1.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 97 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 97 LIMIT 1 Adherent::Adhesion Load (0.3ms) 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 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 36ms (Views: 27.4ms | ActiveRecord: 6.1ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/94/edit" for 127.0.0.1 at 2013-08-29 07:46:27 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"94"} 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", "94"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (8.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 21ms (Views: 16.5ms | ActiveRecord: 0.5ms)  (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 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.0ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.2ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.2ms) ROLLBACK TO 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-29 07:46:27 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.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"."organism_id" = 93 Adherent::Adhesion Load (0.5ms) 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.3ms) 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.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 96 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 97 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 97 LIMIT 1 Adherent::Adhesion Load (0.2ms) 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 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 37ms (Views: 31.8ms | ActiveRecord: 3.3ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:27 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 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 7ms (Views: 4.3ms | ActiveRecord: 0.9ms)  (0.0ms) 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 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  (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  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.4ms) 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.2ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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-29 07:46:27 +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.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 93 Adherent::Adhesion Load (0.3ms) 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 95 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 96 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 97 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 97 LIMIT 1 Adherent::Adhesion Load (0.2ms) 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 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 29ms (Views: 22.3ms | ActiveRecord: 3.5ms) Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-29 07:46:27 +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 (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 17ms (Views: 14.6ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (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  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.2ms) 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (1.3ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members" for 127.0.0.1 at 2013-08-29 07:46:28 +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" = 93 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 LIMIT 1 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 ORDER BY to_date Adherent::Coord Load (0.6ms) 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.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 96 LIMIT 1 Adherent::Adhesion Load (1.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 97 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 97 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 98 ORDER BY to_date Adherent::Coord Load (0.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 98 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 32ms (Views: 24.4ms | ActiveRecord: 5.1ms) Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/94/adhesions" for 127.0.0.1 at 2013-08-29 07:46:28 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Redirected to http://www.example.com/adherent/members/94/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET "/adherent/members/94/adhesions/new" for 127.0.0.1 at 2013-08-29 07:46:28 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 13ms (Views: 8.5ms | ActiveRecord: 0.8ms)  (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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.5ms) 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" = 93) LIMIT 1  (0.2ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.2ms) ROLLBACK TO 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-29 07:46:28 +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" = 93 Adherent::Adhesion Load (0.3ms) 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.3ms) 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.3ms) 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 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 97 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 97 LIMIT 1 Adherent::Adhesion Load (0.3ms) 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 Rendered layouts/adherent/_header.html.haml (0.7ms) 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: 23.3ms | ActiveRecord: 3.2ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" 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", nil], ["city", "Marseille"], ["created_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 94], ["office", nil], ["tel", nil], ["updated_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00], ["zip", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 LIMIT 1 Started GET "/adherent/members/94/coord" for 127.0.0.1 at 2013-08-29 07:46:28 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 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 9ms (Views: 5.1ms | ActiveRecord: 0.5ms)  (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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) 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" = 93) LIMIT 1  (0.3ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.3ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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-29 07:46:28 +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" = 93 Adherent::Adhesion Load (0.5ms) 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.0ms) 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.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 96 LIMIT 1 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.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 98 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 98 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 37ms (Views: 30.7ms | ActiveRecord: 4.0ms) Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.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", #], ["created_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/adhesions" for 127.0.0.1 at 2013-08-29 07:46:28 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"94"} Organism Load (4.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", "94"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (5.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 111 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 111 Rendered layouts/adherent/_header.html.haml (1.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 31ms (Views: 14.0ms | ActiveRecord: 10.4ms)  (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 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  (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  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.4ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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-29 07:46:28 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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 12ms (Views: 9.1ms | ActiveRecord: 0.4ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members" Started POST "/adherent/members" for 127.0.0.1 at 2013-08-29 07:46:28 +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.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'ADH1' AND "adherent_members"."organism_id" = 93) 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", Thu, 29 Aug 2013 05:46:28 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 93], ["updated_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/147/coord/new Completed 302 Found in 7ms (ActiveRecord: 1.1ms) Started GET "/adherent/members/147/coord/new" for 127.0.0.1 at 2013-08-29 07:46:28 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"147"} 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", "147"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 147 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.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 14ms (Views: 10.5ms | ActiveRecord: 0.7ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"   (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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" = 1) 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", Thu, 29 Aug 2013 05:46:28 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) 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", Thu, 29 Aug 2013 05:46:28 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 148], ["office", nil], ["tel", nil], ["updated_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 148 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 17]] SQL (0.2ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 148]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1059"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1062"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1065"} Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1064/payments Completed 302 Found in 3ms (ActiveRecord: 0.2ms)  (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 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 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", #], ["created_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:46:28 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 112 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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 (1.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 25ms (Views: 10.7ms | ActiveRecord: 1.1ms)  (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 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.2ms) 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" = 93) LIMIT 1  (0.0ms) ROLLBACK TO 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" = 94 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 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", #], ["created_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:46:28 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 113 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (10.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 26ms (Views: 20.4ms | ActiveRecord: 1.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:28 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} 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", "94"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00]] Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 113  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 10ms (ActiveRecord: 1.8ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:28 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} Organism Load (0.2ms) 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", "94"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 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.3ms | ActiveRecord: 1.7ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (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  (0.1ms) ROLLBACK TO 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" = 94 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 114  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:28 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 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 22ms (Views: 11.4ms | ActiveRecord: 1.8ms)  (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 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 94 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 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", #], ["created_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:28 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", #], ["created_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 115  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:46:28 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 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: 11.2ms | ActiveRecord: 1.9ms) Started GET "/adherent/payments/37/reglements/new" for 127.0.0.1 at 2013-08-29 07:46:28 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"37"} 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", "37"]] Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 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" = 115 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 16ms (Views: 8.6ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) 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.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (14.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", #], ["created_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 116  (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", 116], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 116  (0.3ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 117  (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", 117], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 117  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 117  (0.8ms) ROLLBACK  (0.0ms) BEGIN  (0.8ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00]]  (1.9ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 118  (3.4ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 118], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:46:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.5ms) BEGIN  (1.1ms) ROLLBACK  (0.0ms) BEGIN  (1.8ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) ROLLBACK  (0.1ms) BEGIN  (1.6ms) ROLLBACK  (0.2ms) BEGIN  (1.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (2.1ms) ROLLBACK  (0.1ms) 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 Adherent::Member Exists (0.8ms) 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.4ms) 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", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 149], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:46:29 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" = 149 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 149 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", #], ["created_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 149], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 05:46:29 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", #], ["created_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 149], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 149 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 149 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 119  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 120  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 119 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 119], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["payment_id", 38], ["updated_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 120 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 120], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["payment_id", 38], ["updated_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.7ms) 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", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 150], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:46:29 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" = 150 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 150 ORDER BY to_date DESC LIMIT 1  (0.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", #], ["created_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 150], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 150], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 150 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 150 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 121  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 122  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 121 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", 121], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["payment_id", 39], ["updated_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) ROLLBACK  (0.0ms) BEGIN 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  (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", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 151], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 151 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 151 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", #], ["created_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 151], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 151], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 151 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 151 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 123  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 124  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 123 SQL (1.6ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 123], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["payment_id", 40], ["updated_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 124 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 124], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["payment_id", 40], ["updated_at", Thu, 29 Aug 2013 05:46:29 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" = 40  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 40  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members/94/adhesions/new" for 127.0.0.1 at 2013-08-29 07:46:29 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 14ms (Views: 8.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members/94/adhesions/new" for 127.0.0.1 at 2013-08-29 07:46:29 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 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 (2.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 21ms (Views: 16.0ms | ActiveRecord: 1.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Started POST "/adherent/members/94/adhesions" for 127.0.0.1 at 2013-08-29 07:46:29 +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"=>"94"} 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", "94"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 94], ["to_date", Thu, 31 Jul 2014], ["updated_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET "/adherent/members/94/adhesions" for 127.0.0.1 at 2013-08-29 07:46:29 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 125 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 125 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: 1.4ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (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", #], ["created_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/adhesions" for 127.0.0.1 at 2013-08-29 07:46:29 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 126 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 126 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: 19.6ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (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", #], ["created_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/adhesions" for 127.0.0.1 at 2013-08-29 07:46:29 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 127 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 127 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 14ms (Views: 9.2ms | ActiveRecord: 2.4ms) Started GET "/adherent/members/94/adhesions/127/edit" for 127.0.0.1 at 2013-08-29 07:46:29 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"94", "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", "94"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "127"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (6.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 13ms (Views: 10.1ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (0.0ms) 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  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (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", #], ["created_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/adhesions" for 127.0.0.1 at 2013-08-29 07:46:29 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 128 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 128 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: 15.5ms | ActiveRecord: 1.3ms) Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:46:29 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 128 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 128 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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 15ms (Views: 9.2ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1069"} Organism Load (4.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 9ms (Views: 2.4ms | ActiveRecord: 4.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1070"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.5ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1071", "id"=>"1072"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1073"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1075"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1075/payments Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1077"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1077/payments Completed 302 Found in 4ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1079"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (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.2ms) 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.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.0ms) BEGIN 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  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Tue, 06 Jun 1944], ["created_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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.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", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.2ms) 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", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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) ROLLBACK  (0.0ms) BEGIN Adherent::Adhesion Load (1.2ms) 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.2ms) 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  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:46:29 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" = 155 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 155 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", #], ["created_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 155], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:29 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" = 155 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 155 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 156 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 156 ORDER BY to_date DESC LIMIT 1  (0.3ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 156], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 156 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 156 ORDER BY to_date DESC LIMIT 1  (0.3ms) ROLLBACK  (0.0ms) 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.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", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 157 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 157 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", #], ["created_at", Thu, 29 Aug 2013 05:46:29 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 157], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:46:29 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" = 157 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 157 ORDER BY to_date DESC LIMIT 1  (0.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' AND "adherent_members"."organism_id" = 1) 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", Thu, 29 Aug 2013 05:47:18 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:47:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", Thu, 29 Aug 2013 05:47:18 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 158], ["office", nil], ["tel", nil], ["updated_at", Thu, 29 Aug 2013 05:47:18 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 158 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 18]] SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 158]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.0ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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-29 07:47: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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 93 Adherent::Adhesion Load (0.5ms) 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.2ms) 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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 96 LIMIT 1 Adherent::Adhesion Load (0.3ms) 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 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (31.7ms) Rendered layouts/adherent/_header.html.haml (1.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 59ms (Views: 44.2ms | ActiveRecord: 5.8ms)  (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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (3.0ms) ROLLBACK TO 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-29 07:47: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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 93 Adherent::Adhesion Load (0.3ms) 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.3ms) 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.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 96 LIMIT 1 Adherent::Adhesion Load (0.3ms) 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.3ms) 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 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 30ms (Views: 23.9ms | ActiveRecord: 3.5ms)  (0.1ms) 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 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  (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  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.3ms) ROLLBACK TO 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-29 07:47:19 +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 (22.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 30ms (Views: 27.6ms | ActiveRecord: 0.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  Started POST "/adherent/members" for 127.0.0.1 at 2013-08-29 07:47:19 +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.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) 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" = 93) 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", Thu, 29 Aug 2013 05:47:19 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 93], ["updated_at", Thu, 29 Aug 2013 05:47:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/159/coord/new Completed 302 Found in 7ms (ActiveRecord: 1.1ms) Started GET "/adherent/members/159/coord/new" for 127.0.0.1 at 2013-08-29 07:47:19 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"159"} 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", "159"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 159 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (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 22ms (Views: 18.1ms | ActiveRecord: 1.0ms)  (0.3ms) 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 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (3.2ms) ROLLBACK TO 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-29 07:47:19 +0200 Processing by Adherent::MembersController#index as HTML 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"."organism_id" = 93 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.3ms) 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.3ms) 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 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 97 ORDER BY to_date Adherent::Coord Load (0.3ms) 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 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.8ms) Completed 200 OK in 34ms (Views: 27.3ms | ActiveRecord: 3.7ms) Adherent::Member Load (1.2ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/94/adhesions" for 127.0.0.1 at 2013-08-29 07:47:19 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"94"} Organism Load (4.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", "94"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Redirected to http://www.example.com/adherent/members/94/adhesions/new Completed 302 Found in 54ms (ActiveRecord: 5.0ms) Started GET "/adherent/members/94/adhesions/new" for 127.0.0.1 at 2013-08-29 07:47:19 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 34ms (Views: 15.5ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.2ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.3ms) ROLLBACK TO 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-29 07:47: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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 93 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 LIMIT 1 Adherent::Adhesion Load (0.3ms) 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.3ms) 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 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 97 ORDER BY to_date Adherent::Coord Load (0.3ms) 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 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 38ms (Views: 30.7ms | ActiveRecord: 4.6ms) Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/94/coord" for 127.0.0.1 at 2013-08-29 07:47:19 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 LIMIT 1 Redirected to http://www.example.com/adherent/members/94/coord/new Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET "/adherent/members/94/coord/new" for 127.0.0.1 at 2013-08-29 07:47:19 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 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 15ms (Views: 11.3ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) COMMIT  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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-29 07:47:19 +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" = 93 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.3ms) 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 ORDER BY to_date Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 96 LIMIT 1 Adherent::Adhesion Load (0.2ms) 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.3ms) 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 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 31ms (Views: 23.9ms | ActiveRecord: 4.0ms) Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-29 07:47:19 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (5.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.0ms) Completed 200 OK in 11ms (Views: 9.0ms | ActiveRecord: 0.2ms)  (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 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  (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  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.2ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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-29 07:47: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" = 93 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.5ms) 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 96 LIMIT 1 Adherent::Adhesion Load (0.3ms) 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.3ms) 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 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: 22.5ms | ActiveRecord: 3.4ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" 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", nil], ["city", "Marseille"], ["created_at", Thu, 29 Aug 2013 05:47:19 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 94], ["office", nil], ["tel", nil], ["updated_at", Thu, 29 Aug 2013 05:47:19 UTC +00:00], ["zip", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 LIMIT 1 Started GET "/adherent/members/94/coord" for 127.0.0.1 at 2013-08-29 07:47:19 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 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 9ms (Views: 5.2ms | ActiveRecord: 0.8ms)  (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 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  (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  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 1  (1.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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-29 07:47:19 +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.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 93 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.3ms) 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 96 LIMIT 1 Adherent::Adhesion Load (0.3ms) 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.3ms) 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 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 29ms (Views: 21.5ms | ActiveRecord: 3.4ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/94/edit" for 127.0.0.1 at 2013-08-29 07:47:19 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"94"} 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", "94"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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 13ms (Views: 10.0ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) COMMIT  (0.1ms) BEGIN Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (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  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Exists (2.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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-29 07:47:20 +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" = 93 Adherent::Adhesion Load (0.3ms) 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 95 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 96 LIMIT 1 Adherent::Adhesion Load (0.2ms) 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 (10.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 98 ORDER BY to_date Adherent::Coord Load (2.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 98 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 147ms (Views: 129.2ms | ActiveRecord: 15.7ms) Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:20 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} Organism Load (1.0ms) 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", "94"]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 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 22ms (Views: 16.3ms | ActiveRecord: 3.8ms)  (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 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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-29 07:47:20 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.1ms) 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"."organism_id" = 93 Adherent::Adhesion Load (0.5ms) 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 95 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 96 LIMIT 1 Adherent::Adhesion Load (0.2ms) 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 98 ORDER BY to_date Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 98 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 33ms (Views: 22.2ms | ActiveRecord: 4.7ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1  (0.2ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:47:20 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/adhesions" for 127.0.0.1 at 2013-08-29 07:47:20 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 132 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 132 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 24ms (Views: 18.8ms | ActiveRecord: 2.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1003"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1005"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1005/payments Completed 302 Found in 4ms (ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1007"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1007/payments Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.6ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1009"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1011", "id"=>"1012"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1013"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1014"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN 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.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 93 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1015"} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members Completed 302 Found in 3ms (ActiveRecord: 0.8ms)  (1.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1016"} Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members Completed 302 Found in 2ms (ActiveRecord: 0.2ms)  (0.1ms) 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 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1019"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1019 Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1020"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1021"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1021 Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1022"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1022 Completed 302 Found in 3ms (ActiveRecord: 0.4ms)  (0.1ms) 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 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) 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 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' 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", Thu, 29 Aug 2013 05:47:20 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 93], ["updated_at", Thu, 29 Aug 2013 05:47:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/160/coord/new Completed 302 Found in 6ms (ActiveRecord: 1.1ms)  (0.1ms) 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.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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" = 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", Mon, 06 Jun 1955], ["created_at", Thu, 29 Aug 2013 05:47:20 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 93], ["updated_at", Thu, 29 Aug 2013 05:47:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/161/coord/new Completed 302 Found in 7ms (ActiveRecord: 1.3ms)  (0.1ms) 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 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 93) 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", Thu, 29 Aug 2013 05:47:20 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 93], ["updated_at", Thu, 29 Aug 2013 05:47:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/162/coord/new Completed 302 Found in 8ms (ActiveRecord: 0.9ms)  (0.0ms) ROLLBACK  (0.1ms) 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 Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) 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.0ms) 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.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  (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", Thu, 29 Aug 2013 05:47:20 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:47:20 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 163 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 163 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", #], ["created_at", Thu, 29 Aug 2013 05:47:20 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 163], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 163 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 163 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.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", Thu, 29 Aug 2013 05:47:20 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:47:20 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" = 164 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 164 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", #], ["created_at", Thu, 29 Aug 2013 05:47:20 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 164], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:20 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" = 164 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 164 ORDER BY to_date DESC LIMIT 1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Thu, 29 Aug 2013 05:47:20 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:47:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 165 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 165 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", #], ["created_at", Thu, 29 Aug 2013 05:47:20 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 165], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 165 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 165 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.8ms) 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.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 (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" IS NULL AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.2ms) 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.2ms) 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", Thu, 29 Aug 2013 05:47:20 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:47:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.0ms) 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.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", Thu, 29 Aug 2013 05:47:20 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:47:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' 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", Tue, 06 Jun 1944], ["created_at", Thu, 29 Aug 2013 05:47:20 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:47:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1025", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.5ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1027", "id"=>"1"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1029"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1030"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1030/adhesions/new Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1031"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1032"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1032/adhesions Completed 302 Found in 4ms (ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1034"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1034/adhesions Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1036"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1038"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1040", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1040/adhesions Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1042", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1044", "id"=>"1"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1046", "id"=>"1"} Organism Load (0.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1046/adhesions Completed 302 Found in 2ms (ActiveRecord: 0.1ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (3.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (6.4ms) SELECT "adherent_members".* FROM "adherent_members"   (6.9ms) SAVEPOINT active_record_1 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", #], ["created_at", Thu, 29 Aug 2013 05:47:21 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:47:21 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/adhesions" for 127.0.0.1 at 2013-08-29 07:47:21 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"94"} Organism Load (1.2ms) 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"."id" = $1 LIMIT 1 [["id", "94"]]  (1.0ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (5.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94  (1.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 136 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 136 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 46ms (Views: 29.9ms | ActiveRecord: 11.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (1.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Thu, 29 Aug 2013 05:47:21 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:47:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/adhesions" for 127.0.0.1 at 2013-08-29 07:47:21 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]]  (0.5ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94  (4.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 137 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 137 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 22ms (Views: 13.3ms | ActiveRecord: 5.8ms) Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:47:21 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 137 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 137 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (18.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 40ms (Views: 25.0ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (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", #], ["created_at", Thu, 29 Aug 2013 05:47:21 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:47:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/adhesions" for 127.0.0.1 at 2013-08-29 07:47:21 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 138 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 138 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: 11.1ms | ActiveRecord: 1.4ms) Started GET "/adherent/members/94/adhesions/138/edit" for 127.0.0.1 at 2013-08-29 07:47:21 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"94", "id"=>"138"} 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", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "138"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (13.0ms) 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 21ms (Views: 17.2ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members/94/adhesions/new" for 127.0.0.1 at 2013-08-29 07:47:21 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (3.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 24ms (Views: 8.2ms | ActiveRecord: 3.7ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Started POST "/adherent/members/94/adhesions" for 127.0.0.1 at 2013-08-29 07:47:21 +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"=>"94"} 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", "94"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:47:21 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 94], ["to_date", Thu, 31 Jul 2014], ["updated_at", Thu, 29 Aug 2013 05:47:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/adhesions Completed 302 Found in 6ms (ActiveRecord: 1.1ms) Started GET "/adherent/members/94/adhesions" for 127.0.0.1 at 2013-08-29 07:47:21 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 139 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 139 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 12ms (Views: 8.4ms | ActiveRecord: 1.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members/94/adhesions/new" for 127.0.0.1 at 2013-08-29 07:47:21 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"94"} Organism Load (3.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (6.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (18.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 40ms (Views: 21.5ms | ActiveRecord: 10.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (9.7ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1  (0.6ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:47:21 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:21 UTC +00:00]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.0ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:21 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:47:21 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 140  (6.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:21 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 41 Adherent::Reglement Load (0.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 41  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 41 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 41 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 41 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: 29.2ms | ActiveRecord: 2.8ms)  (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 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 94 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 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", #], ["created_at", Thu, 29 Aug 2013 05:47:21 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (4.0ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:21 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:47:21 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 141  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:21 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_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 172ms (Views: 163.0ms | ActiveRecord: 2.1ms) Started GET "/adherent/payments/42/reglements/new" for 127.0.0.1 at 2013-08-29 07:47:21 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"42"} 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", "42"]] Adherent::Member Load (5.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (2.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 141 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (23.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 67ms (Views: 37.6ms | ActiveRecord: 9.8ms)  (0.1ms) ROLLBACK  (1.0ms) BEGIN  (0.1ms) COMMIT  (0.9ms) BEGIN Organism Load (1.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.7ms) 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" = 93) LIMIT 1  (1.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (1.9ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (6.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (4.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1  (5.5ms) SAVEPOINT active_record_1 SQL (4.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", #], ["created_at", Thu, 29 Aug 2013 05:47:21 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:21 UTC +00:00]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:47:21 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} Organism Load (3.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "94"]] Adherent::Adhesion Load (4.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (1.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 142 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (27.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 56ms (Views: 34.7ms | ActiveRecord: 12.3ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:22 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} 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", "94"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 142  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 17ms (ActiveRecord: 2.1ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:22 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_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.1ms) Completed 200 OK in 21ms (Views: 15.5ms | ActiveRecord: 3.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94  (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 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (5.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.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", #], ["created_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:47:22 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} Organism Load (1.2ms) 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", "94"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 143 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 25ms (Views: 15.9ms | ActiveRecord: 2.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.2ms) 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members/94/coord/new" for 127.0.0.1 at 2013-08-29 07:47:22 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"94"} Organism Load (1.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", "94"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (12.5ms) 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 28ms (Views: 17.0ms | ActiveRecord: 2.0ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_coords" Started POST "/adherent/members/94/coord" for 127.0.0.1 at 2013-08-29 07:47:22 +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"=>"94"} 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", "94"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 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", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 94], ["office", ""], ["tel", ""], ["updated_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["zip", ""]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/adhesions/new Completed 302 Found in 6ms (ActiveRecord: 1.1ms) Started GET "/adherent/members/94/adhesions/new" for 127.0.0.1 at 2013-08-29 07:47:22 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 13ms (Views: 8.0ms | ActiveRecord: 1.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members/94/coord/new" for 127.0.0.1 at 2013-08-29 07:47:22 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.3ms) Rendered layouts/adherent/_header.html.haml (3.3ms) 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: 1.1ms) Started POST "/adherent/members/94/coord" for 127.0.0.1 at 2013-08-29 07:47:22 +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"=>"94"} 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", "94"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 LIMIT 1  (0.4ms) 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", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 94], ["office", ""], ["tel", ""], ["updated_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 1.7ms) Started GET "/adherent/members/94/adhesions/new" for 127.0.0.1 at 2013-08-29 07:47:22 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 14ms (Views: 7.7ms | ActiveRecord: 1.3ms) Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 LIMIT 1  (0.1ms) ROLLBACK  (0.2ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members/94/coord/new" for 127.0.0.1 at 2013-08-29 07:47:22 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"94"} Organism Load (0.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", "94"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.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 18ms (Views: 13.4ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/94/coord" for 127.0.0.1 at 2013-08-29 07:47:22 +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"=>"94"} 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", "94"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 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", ""], ["created_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 94], ["office", ""], ["tel", ""], ["updated_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/adhesions/new Completed 302 Found in 6ms (ActiveRecord: 1.4ms) Started GET "/adherent/members/94/adhesions/new" for 127.0.0.1 at 2013-08-29 07:47:22 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (5.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 14ms (Views: 8.2ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members/94/coord/new" for 127.0.0.1 at 2013-08-29 07:47:22 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.9ms) 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 17ms (Views: 10.7ms | ActiveRecord: 2.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AllpaymentsController#index as HTML Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" INNER JOIN "adherent_members" ON "adherent_payments"."member_id" = "adherent_members"."id" WHERE "adherent_members"."organism_id" = 93 Completed 200 OK in 13ms (Views: 2.6ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.4ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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.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", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:47:22 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", #], ["created_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 169], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:47:22 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" = 169 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 169 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", #], ["created_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 169], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 05:47:22 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", #], ["created_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 169], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 169 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 169 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 144  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 145  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 144 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", 144], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["payment_id", 44], ["updated_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 145 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 145], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["payment_id", 44], ["updated_at", Thu, 29 Aug 2013 05:47:22 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 (1.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.3ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (2.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", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.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", #], ["created_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 170], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 170 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 170 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", #], ["created_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 170], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 05:47:22 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", #], ["created_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 170], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 170 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 170 ORDER BY to_date  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 146  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 147  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 146 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", 146], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["payment_id", 45], ["updated_at", Thu, 29 Aug 2013 05:47:22 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.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '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", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00]]  (0.3ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 171], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 171 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 171 ORDER BY to_date DESC LIMIT 1  (0.5ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 171], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 05:47:22 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", #], ["created_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 171], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 171 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 171 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 148  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 149  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 148 SQL (2.6ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 148], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["payment_id", 46], ["updated_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00]]  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 149 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", 149], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["payment_id", 46], ["updated_at", Thu, 29 Aug 2013 05:47:22 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" = 46  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (1.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 94 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 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", #], ["created_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:47:22 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} Organism Load (0.9ms) 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", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 150 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 150 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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 20ms (Views: 9.1ms | ActiveRecord: 2.0ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:22 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} 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", "94"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 150 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 150 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", 150], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["payment_id", 47], ["updated_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 12ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:22 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 150 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 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: 19.5ms | ActiveRecord: 2.0ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.8ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47  (0.4ms) 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 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 94 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 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", #], ["created_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:47:22 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (1.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 151 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 151 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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 15ms (Views: 7.3ms | ActiveRecord: 2.3ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:22 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} 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", "94"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 151 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 151 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", 151], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["payment_id", 48], ["updated_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 12ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:22 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} Organism Load (0.6ms) 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", "94"]] Adherent::Payment Load (1.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 48 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 151 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 48  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 48 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 48 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 48 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 17ms (Views: 12.0ms | ActiveRecord: 3.6ms) Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 151  (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 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.3ms) ROLLBACK TO 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" = 94 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1  (0.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", #], ["created_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:47:22 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 152 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 152 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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 15ms (Views: 8.1ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:22 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} 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", "94"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 152 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 152 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", 152], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00], ["payment_id", 49], ["updated_at", Thu, 29 Aug 2013 05:47:22 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 15ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:22 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 49 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 152 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 49  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 49 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 49 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 49 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: 11.6ms | ActiveRecord: 2.3ms) Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 152  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 152  (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 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  (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  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 94 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 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", #], ["created_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:47:23 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 153 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 153 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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 16ms (Views: 9.5ms | ActiveRecord: 1.0ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:23 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} 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", "94"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 153 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 153 SQL (0.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 153], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00], ["payment_id", 50], ["updated_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 12ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:23 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 50 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 153 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 50  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 50 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 50 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 50 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: 11.4ms | ActiveRecord: 2.4ms) Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 153  (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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.2ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.2ms) 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 94 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 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", #], ["created_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:47:23 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 154 CACHE (4.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 154 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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 28ms (Views: 16.0ms | ActiveRecord: 5.9ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:23 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} Organism Load (4.2ms) 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", "94"]]  (1.3ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00]] Adherent::Member Load (1.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (1.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 154 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 154 SQL (0.8ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 154], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00], ["payment_id", 51], ["updated_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00]]  (7.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 37ms (ActiveRecord: 19.1ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:23 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (5.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "94"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (5.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 51 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 154 LIMIT 1 Adherent::Member Load (4.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (1.9ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 51  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 51 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 51 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 51 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 47ms (Views: 14.6ms | ActiveRecord: 18.9ms) Adherent::Payment Load (4.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 ORDER BY to_date DESC LIMIT 1  (5.6ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 95], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 Adherent::Adhesion Load (1.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 ORDER BY to_date DESC LIMIT 1  (1.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", #], ["created_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 96], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/51/reglements/new" for 127.0.0.1 at 2013-08-29 07:47:23 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"51"} Organism Load (4.1ms) 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", "51"]] Adherent::Member Load (4.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 51  (2.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 51 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (2.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 154  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 155  (4.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 156 Adherent::Reglement Load (0.8ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 51 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 51 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 155 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 96 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 156 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (19.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 54ms (Views: 23.1ms | ActiveRecord: 20.9ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (3.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.2ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.2ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.0ms) 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" = 93) LIMIT 1  (0.8ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (2.2ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (1.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1  (3.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", #], ["created_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:47:23 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} Organism Load (6.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", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 157 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 157 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (13.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 31ms (Views: 19.2ms | ActiveRecord: 7.0ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:23 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} Organism Load (5.0ms) 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", "94"]]  (0.1ms) SAVEPOINT active_record_1 SQL (4.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 157 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 157 SQL (3.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 157], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00], ["payment_id", 52], ["updated_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 25ms (ActiveRecord: 14.7ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:23 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} Organism Load (4.8ms) 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", "94"]] Adherent::Payment Load (5.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 52 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 157 LIMIT 1 Adherent::Member Load (2.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 52  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 52 Adherent::Reglement Load (7.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 52 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 52 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 35ms (Views: 11.3ms | ActiveRecord: 22.0ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 ORDER BY to_date DESC LIMIT 1  (6.9ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 95], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:23 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" = 96 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.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", #], ["created_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 96], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/52/reglements/new" for 127.0.0.1 at 2013-08-29 07:47:23 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"52"} Organism Load (1.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (5.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "52"]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 52  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 52 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (2.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 157  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 158  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 159 Adherent::Reglement Load (5.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 52 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 52 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 158 Adherent::Member Load (4.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 96 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 159 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (14.4ms) 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 41ms (Views: 14.7ms | ActiveRecord: 20.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (5.2ms) COMMIT  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (1.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Exists (4.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 94 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 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", #], ["created_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00]]  (2.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:47:23 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} Organism Load (7.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (3.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "94"]] Adherent::Adhesion Load (2.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 160 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 160 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (76.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 101ms (Views: 80.3ms | ActiveRecord: 13.4ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:23 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} 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", "94"]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 160 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 160 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", 160], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00], ["payment_id", 53], ["updated_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 14ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:23 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 160 LIMIT 1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53 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: 30.7ms | ActiveRecord: 2.3ms) Adherent::Payment Load (0.9ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 ORDER BY to_date DESC LIMIT 1  (1.0ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 95], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 ORDER BY to_date DESC LIMIT 1  (1.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", #], ["created_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 96], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/53/reglements/new" for 127.0.0.1 at 2013-08-29 07:47:23 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"53"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "53"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (3.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53 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" = 160  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 161  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 162 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 161 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 96 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 162 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (18.6ms) 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 45ms (Views: 29.1ms | ActiveRecord: 7.2ms)  (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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Exists (6.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.3ms) 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" = 93) LIMIT 1  (0.7ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1  (0.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:47:23 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (5.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 163 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 163 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (10.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 31ms (Views: 15.2ms | ActiveRecord: 6.0ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:23 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} 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", "94"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 163 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 163 SQL (3.6ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 163], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00], ["payment_id", 54], ["updated_at", Thu, 29 Aug 2013 05:47:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 19ms (ActiveRecord: 6.0ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:23 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} Organism Load (0.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", "94"]] Adherent::Payment Load (3.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 54 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 163 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 54  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 54 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 54 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 54 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: 22.0ms | ActiveRecord: 6.3ms) Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.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", #], ["created_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 95], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:24 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" = 96 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 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", #], ["created_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 96], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/54/reglements/new" for 127.0.0.1 at 2013-08-29 07:47:24 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"54"} Organism Load (3.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (6.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "54"]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (5.9ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 54  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 54 Adherent::Adhesion Load (1.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (4.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 163  (1.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 164  (2.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 165 Adherent::Reglement Load (4.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 54 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 54 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 164 Adherent::Member Load (6.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 96 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 165 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (30.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 89ms (Views: 40.3ms | ActiveRecord: 37.6ms) Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 163 Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (3.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 54  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 54  (0.4ms) 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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.0ms) 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" = 93) LIMIT 1  (1.0ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.4ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (5.6ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (2.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (2.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1  (3.9ms) SAVEPOINT active_record_1 SQL (8.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", #], ["created_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:47:24 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 166 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 166 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (12.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 29ms (Views: 16.7ms | ActiveRecord: 2.1ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:24 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} 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", "94"]]  (0.6ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 166 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 166 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", 166], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00], ["payment_id", 55], ["updated_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 20ms (ActiveRecord: 3.3ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:24 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (5.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "94"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 55 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 166 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 55  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 55 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 55 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 55 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: 23.3ms | ActiveRecord: 7.7ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 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", #], ["created_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 95], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 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", #], ["created_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 96], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/55/reglements/new" for 127.0.0.1 at 2013-08-29 07:47:24 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"55"} 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", "55"]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 55  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 55 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 166  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 167  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 168 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 55 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 55 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 167 Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 96 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 168 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (10.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 45ms (Views: 24.4ms | ActiveRecord: 4.7ms) Started POST "/adherent/payments/55/reglements" for 127.0.0.1 at 2013-08-29 07:47:24 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"167"}, "commit"=>"Enregistrer", "payment_id"=>"55"} Organism Load (0.7ms) 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", "55"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "167"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 55  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 55  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 167  (0.1ms) SAVEPOINT active_record_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", 167], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00], ["payment_id", 55], ["updated_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 18ms (ActiveRecord: 4.3ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:24 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} Organism Load (0.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", "94"]] Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 55 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 167 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 166 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 55  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 55 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 55 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 55 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 (3.8ms) Completed 200 OK in 32ms (Views: 25.1ms | ActiveRecord: 4.3ms) Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 166 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1  (0.2ms) ROLLBACK  (0.5ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 94 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 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", #], ["created_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:47:24 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} Organism Load (0.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", "94"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (1.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 169 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 169 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (16.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 36ms (Views: 19.9ms | ActiveRecord: 3.1ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:24 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} 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", "94"]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 169 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 169 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", 169], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00], ["payment_id", 56], ["updated_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00]]  (2.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 35ms (ActiveRecord: 6.3ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:24 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} Organism Load (11.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", "94"]] Adherent::Payment Load (1.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 169 LIMIT 1 Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56  (2.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56 Adherent::Reglement Load (1.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56 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 50ms (Views: 28.8ms | ActiveRecord: 19.1ms) Adherent::Payment Load (1.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 Adherent::Adhesion Load (1.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 ORDER BY to_date DESC LIMIT 1  (1.2ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 95], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (3.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 ORDER BY to_date DESC LIMIT 1  (1.8ms) SAVEPOINT active_record_1 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", #], ["created_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 96], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/56/reglements/new" for 127.0.0.1 at 2013-08-29 07:47:24 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"56"} 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", "56"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 169  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 170  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 171 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 170 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 96 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 171 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.1ms) 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 23ms (Views: 13.5ms | ActiveRecord: 2.9ms) Started POST "/adherent/payments/56/reglements" for 127.0.0.1 at 2013-08-29 07:47:24 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"170"}, "commit"=>"Enregistrer", "payment_id"=>"56"} 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", "56"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "170"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 170  (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", 170], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00], ["payment_id", 56], ["updated_at", Thu, 29 Aug 2013 05:47:24 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" = 94 LIMIT 1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 10ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:24 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 170 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 169 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56 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.4ms | ActiveRecord: 2.6ms)  (0.1ms) 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 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.2ms) 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 94 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:47:24 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 172 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 172 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 17ms (Views: 9.3ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:24 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} 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", "94"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 172 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 172 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", 172], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00], ["payment_id", 57], ["updated_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 13ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:24 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 172 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 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: 11.0ms | ActiveRecord: 2.2ms) Adherent::Payment Load (0.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 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", #], ["created_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 95], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:24 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" = 96 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 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", #], ["created_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 96], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:24 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/57/reglements/new" for 127.0.0.1 at 2013-08-29 07:47:25 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"57"} 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", "57"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 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" = 172  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 173  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 174 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 173 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 96 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 174 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.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 22ms (Views: 12.1ms | ActiveRecord: 2.9ms) Started POST "/adherent/payments/57/reglements" for 127.0.0.1 at 2013-08-29 07:47:25 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"173"}, "commit"=>"Enregistrer", "payment_id"=>"57"} 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", "57"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "173"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 173  (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", 173], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00], ["payment_id", 57], ["updated_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 11ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:25 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 173 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 172 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 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: 15.0ms | ActiveRecord: 2.5ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" ORDER BY "adherent_reglements"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 173 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1  (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 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 94 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1  (0.4ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:47:25 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} Organism Load (3.1ms) 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"."id" = $1 LIMIT 1 [["id", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 175 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 175 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 25ms (Views: 9.2ms | ActiveRecord: 4.3ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:25 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} 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", "94"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 175 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 175 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 175], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00], ["payment_id", 58], ["updated_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 12ms (ActiveRecord: 2.0ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:25 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 175 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58 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.2ms | ActiveRecord: 2.3ms) Adherent::Payment Load (1.0ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 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", #], ["created_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 95], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 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", #], ["created_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 96], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/58/reglements/new" for 127.0.0.1 at 2013-08-29 07:47:25 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"58"} 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", "58"]] Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 175  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 176  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 177 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 176 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 96 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 177 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.0ms) 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 37ms (Views: 24.6ms | ActiveRecord: 3.5ms) Started POST "/adherent/payments/58/reglements" for 127.0.0.1 at 2013-08-29 07:47:25 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"176"}, "commit"=>"Enregistrer", "payment_id"=>"58"} 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", "58"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "176"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 176  (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", 176], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00], ["payment_id", 58], ["updated_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00]]  (1.5ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 13ms (ActiveRecord: 3.6ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:25 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} Organism Load (0.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", "94"]] Adherent::Payment Load (1.0ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 176 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 175 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58 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.6ms | ActiveRecord: 3.1ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* 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 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  (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  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 94 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 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", #], ["created_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:47:25 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 178 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 178 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 21ms (Views: 10.2ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:25 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "94"]]  (1.0ms) SAVEPOINT active_record_1 SQL (2.5ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 178 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 178 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", 178], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00], ["payment_id", 59], ["updated_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 31ms (ActiveRecord: 7.7ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:25 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (1.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 178 LIMIT 1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59 Rendered layouts/adherent/_header.html.haml (1.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 28ms (Views: 21.8ms | ActiveRecord: 4.1ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 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", #], ["created_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 95], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 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", #], ["created_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 96], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/59/reglements/new" for 127.0.0.1 at 2013-08-29 07:47:25 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"59"} 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", "59"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 178  (2.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 179  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 180 Adherent::Reglement Load (0.8ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 179 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 96 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 180 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (17.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 53ms (Views: 24.0ms | ActiveRecord: 6.9ms) Started POST "/adherent/payments/59/reglements" for 127.0.0.1 at 2013-08-29 07:47:25 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"179"}, "commit"=>"Enregistrer", "payment_id"=>"59"} 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", "59"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "179"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 179  (0.1ms) SAVEPOINT active_record_1 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", 179], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00], ["payment_id", 59], ["updated_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 20ms (ActiveRecord: 3.5ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:25 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} Organism Load (3.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", "94"]] Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 179 LIMIT 1 Adherent::Member Load (1.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 95 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 178 LIMIT 1 Adherent::Member Load (1.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59 Adherent::Reglement Load (1.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59 CACHE (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59 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 45ms (Views: 31.6ms | ActiveRecord: 10.3ms) Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 95 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 179  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 179  (0.2ms) 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 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.4ms) 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1  (2.7ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:47:25 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (11.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "94"]] Adherent::Adhesion Load (5.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (4.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 181 CACHE (2.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 181 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (17.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 59ms (Views: 21.1ms | ActiveRecord: 24.9ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:25 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} 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", "94"]]  (8.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", #], ["created_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00]] Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (2.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 181 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 181 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", 181], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00], ["payment_id", 60], ["updated_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 43ms (ActiveRecord: 13.9ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:25 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (6.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 60 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 181 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 60  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 60 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 60 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 60 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 37ms (Views: 26.2ms | ActiveRecord: 9.5ms)  (2.9ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) COMMIT  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.2ms) 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.2ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.3ms) 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" = 93) LIMIT 1  (3.3ms) ROLLBACK TO SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 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", #], ["created_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "adherent_reglements"  Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:47:25 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (4.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 182 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 182 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.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 29ms (Views: 16.5ms | ActiveRecord: 5.6ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:26 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (5.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "94"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:47:26 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:47:26 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 182 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 182 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", 182], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:26 UTC +00:00], ["payment_id", 61], ["updated_at", Thu, 29 Aug 2013 05:47:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 26ms (ActiveRecord: 7.8ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:26 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (4.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "94"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 61 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 182 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 61  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 61 Adherent::Reglement Load (5.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 61 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 61 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.2ms) Completed 200 OK in 30ms (Views: 14.8ms | ActiveRecord: 11.5ms)  (0.4ms) 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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO 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" = 93) LIMIT 1  (0.5ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 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" = 94 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date DESC LIMIT 1  (0.2ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:47:26 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 94], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/94/payments/new" for 127.0.0.1 at 2013-08-29 07:47:26 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"94"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (3.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "94"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 183 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 183 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 21ms (Views: 9.2ms | ActiveRecord: 4.9ms) Started POST "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:26 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"94"} Organism Load (0.8ms) 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", "94"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:47:26 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 94], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:47:26 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 183 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 183 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", 183], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:26 UTC +00:00], ["payment_id", 62], ["updated_at", Thu, 29 Aug 2013 05:47:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/94/payments Completed 302 Found in 12ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/94/payments" for 127.0.0.1 at 2013-08-29 07:47:26 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"94"} 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", "94"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 94 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 62 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 183 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 94 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 62  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 62 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 62 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 62 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: 11.5ms | ActiveRecord: 2.3ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 94 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 183  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1048"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1050"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.4ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1052"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.3ms)  (1.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1054"} Organism Load (2.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 11ms (Views: 5.4ms | ActiveRecord: 2.1ms)  (1.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1056"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.5ms)  (0.9ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1058"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1058/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1060"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 2ms (Views: 0.8ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1062"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1062/coord Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1064"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1066"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1068"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1068/coord Completed 302 Found in 3ms (ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1071"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1070/payments Completed 302 Found in 2ms (ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1073"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1076"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.5ms)  (0.5ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (1.6ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (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", #], ["created_at", Thu, 29 Aug 2013 05:47:26 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:26 UTC +00:00]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 184  (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", 184], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:26 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:47:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 184  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:47:26 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:26 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 185  (0.2ms) 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", 185], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:26 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:47:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 185  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 185  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (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", #], ["created_at", Thu, 29 Aug 2013 05:47:26 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 186  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 186], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:26 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:47:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) COMMIT  (0.0ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (2.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) COMMIT  (0.1ms) BEGIN Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (4.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (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 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (1.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 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  (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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 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  (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" = 93) LIMIT 1  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1002"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  Completed 200 OK in 12ms (Views: 6.5ms | ActiveRecord: 2.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1005"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1008"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1007/payments Completed 302 Found in 4ms (ActiveRecord: 0.3ms)  (0.6ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (0.2ms) 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (3.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN 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  (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 (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", Thu, 29 Aug 2013 05:47:32 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:47:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Thu, 29 Aug 2013 05:47:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 172], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:47:32 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" = 172 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 172 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", #], ["created_at", Thu, 29 Aug 2013 05:47:32 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 172], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 05:47:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:32 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 172], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:47:32 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 172 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 172 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 187  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 188  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 187 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", 187], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:32 UTC +00:00], ["payment_id", 63], ["updated_at", Thu, 29 Aug 2013 05:47:32 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 188 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 188], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:32 UTC +00:00], ["payment_id", 63], ["updated_at", Thu, 29 Aug 2013 05:47:32 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.2ms) 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", Thu, 29 Aug 2013 05:47:32 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:47:32 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", #], ["created_at", Thu, 29 Aug 2013 05:47:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 173], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:47:32 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" = 173 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 173 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", #], ["created_at", Thu, 29 Aug 2013 05:47:32 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 173], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 05:47:32 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", #], ["created_at", Thu, 29 Aug 2013 05:47:32 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 173], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:47:32 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 173 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 173 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 189  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 190  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 189 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", 189], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:32 UTC +00:00], ["payment_id", 64], ["updated_at", Thu, 29 Aug 2013 05:47:32 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.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", Thu, 29 Aug 2013 05:47:32 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:47:32 UTC +00:00]]  (1.2ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:47:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 174], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:47:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 174 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 174 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", #], ["created_at", Thu, 29 Aug 2013 05:47:32 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 174], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 05:47:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:32 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 174], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:47:32 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 174 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 174 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 191  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 192  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 191 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", 191], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:32 UTC +00:00], ["payment_id", 65], ["updated_at", Thu, 29 Aug 2013 05:47:32 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 192 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 192], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:32 UTC +00:00], ["payment_id", 65], ["updated_at", Thu, 29 Aug 2013 05:47:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 65  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 65  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1009"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 5ms (Views: 2.6ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1010"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1011"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1013"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1013/payments Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1015"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1015/payments Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.4ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1017"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1019", "id"=>"1020"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.4ms | ActiveRecord: 0.3ms)  (3.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (3.4ms) 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"."organism_id" = 93 Completed 200 OK in 11ms (Views: 2.0ms | ActiveRecord: 4.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (0.7ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Organism Load (3.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 3.6ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1023"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.5ms)  (0.0ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1024"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) 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 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1027"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1027 Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1028"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1028 Completed 302 Found in 4ms (ActiveRecord: 0.4ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1029"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1030"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1030 Completed 302 Found in 3ms (ActiveRecord: 0.4ms)  (0.1ms) 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 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 93) 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", Thu, 29 Aug 2013 05:47:33 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 93], ["updated_at", Thu, 29 Aug 2013 05:47:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/175/coord/new Completed 302 Found in 7ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.0ms) 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 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 93) 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", Thu, 29 Aug 2013 05:47:33 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 93], ["updated_at", Thu, 29 Aug 2013 05:47:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/176/coord/new Completed 302 Found in 6ms (ActiveRecord: 1.0ms)  (0.7ms) 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.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 93) 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", Mon, 06 Jun 1955], ["created_at", Thu, 29 Aug 2013 05:47:33 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 93], ["updated_at", Thu, 29 Aug 2013 05:47:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/177/coord/new Completed 302 Found in 6ms (ActiveRecord: 1.0ms)  (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.0ms) BEGIN 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  (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.0ms) BEGIN Adherent::Member Exists (0.2ms) 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  (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", Tue, 06 Jun 1944], ["created_at", Thu, 29 Aug 2013 05:47:33 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:47:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) 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", Thu, 29 Aug 2013 05:47:33 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:47:33 UTC +00:00]]  (0.1ms) RELEASE 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  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Thu, 29 Aug 2013 05:47:33 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:47:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 2) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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.0ms) BEGIN Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Adhesion Load (0.7ms) 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.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", Thu, 29 Aug 2013 05:47:33 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:47: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" = 181 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 181 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", #], ["created_at", Thu, 29 Aug 2013 05:47:33 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 181], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:33 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 181 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 181 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) 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", Thu, 29 Aug 2013 05:47:33 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:47: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" = 182 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 182 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", #], ["created_at", Thu, 29 Aug 2013 05:47:33 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 182], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47: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" = 182 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 182 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.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", Thu, 29 Aug 2013 05:47:33 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:47: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" = 183 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 183 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", #], ["created_at", Thu, 29 Aug 2013 05:47:33 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 183], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47: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" = 183 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 183 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.0ms) COMMIT  (0.1ms) BEGIN Organism Load (0.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.2ms) 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (6.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (1.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (1.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 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  (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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 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  (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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) 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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.4ms) 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" = 93) LIMIT 1  (1.7ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.5ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (1.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (2.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (3.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (2.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.9ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.6ms) BEGIN  (0.2ms) COMMIT  (0.3ms) BEGIN Organism Load (1.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (2.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (1.9ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.7ms) BEGIN  (0.1ms) COMMIT  (0.7ms) BEGIN Organism Load (0.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (1.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (2.0ms) ROLLBACK TO SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (2.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.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" = 93) LIMIT 1  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.5ms) BEGIN  (0.1ms) COMMIT  (5.2ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (6.0ms) ROLLBACK TO SAVEPOINT active_record_1  (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 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 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  (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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) 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 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  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) LIMIT 1  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.0ms) 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 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  (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  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (4.9ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1031"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1033"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1035"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.3ms)  (0.2ms) 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 Redirected to http://test.host/adherent/members/1037/coord Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.1ms) 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 Redirected to http://test.host/adherent/members/1039/coord Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1041"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.6ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1043"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1045"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1045/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1047"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1049"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1051"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AllpaymentsController#index as HTML Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" INNER JOIN "adherent_members" ON "adherent_payments"."member_id" = "adherent_members"."id" WHERE "adherent_members"."organism_id" = 93 Completed 200 OK in 13ms (Views: 2.7ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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", #], ["created_at", Thu, 29 Aug 2013 05:47:34 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 196  (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", 196], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:34 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:47:34 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" = 196  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Thu, 29 Aug 2013 05:47:34 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 197  (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", 197], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:34 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:47:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 197  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 197  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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", #], ["created_at", Thu, 29 Aug 2013 05:47:34 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:47:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 198  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 198], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:47:34 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:47:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) 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.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1056"} Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 4ms (Views: 2.5ms | ActiveRecord: 0.2ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1057"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1057/adhesions/new Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1058"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 2ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.6ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1059"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1061", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1061/adhesions Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1063", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1063/adhesions Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1065", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.3ms)  (0.9ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1067", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1069"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1069/adhesions Completed 302 Found in 3ms (ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1071"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Redirected to http://test.host/adherent/members/1071/adhesions Completed 302 Found in 2ms (ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1073"} Organism Load (0.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1075", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 0.9ms | ActiveRecord: 0.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1077", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (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" = 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", Thu, 29 Aug 2013 05:47:34 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:47:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", nil], ["city", "Lille"], ["created_at", Thu, 29 Aug 2013 05:47:34 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 184], ["office", nil], ["tel", nil], ["updated_at", Thu, 29 Aug 2013 05:47:34 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 184 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 23]] SQL (1.0ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 184]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML Organism Load (3.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (42.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/new.html.erb within layouts/adherent/application (0.2ms) Completed 200 OK in 103ms (Views: 6.5ms | ActiveRecord: 57.9ms)  (0.5ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1001"} 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", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1001 Completed 302 Found in 7ms (ActiveRecord: 1.2ms)  (0.8ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1002"} 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", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 3.1ms | ActiveRecord: 0.8ms)  (0.9ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1003"} 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", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1003 Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1004"} Organism Load (0.3ms) 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", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1004 Completed 302 Found in 5ms (ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} 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", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Organism Load (0.9ms) 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", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 1.6ms)  (0.1ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 0.8ms)  (0.1ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:30 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" = 'A001' AND "adherent_members"."organism_id" = 9) LIMIT 1 SQL (50.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", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 9], ["updated_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1/coord/new Completed 302 Found in 69ms (ActiveRecord: 51.8ms)  (0.1ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' 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", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 10], ["updated_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/2/coord/new Completed 302 Found in 8ms (ActiveRecord: 2.2ms)  (0.1ms) 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.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", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:30 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" = 'A001' AND "adherent_members"."organism_id" = 11) LIMIT 1 SQL (1.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", Mon, 06 Jun 1955], ["created_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 11], ["updated_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/3/coord/new Completed 302 Found in 22ms (ActiveRecord: 3.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.8ms)  (1.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} Organism Load (2.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", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 2.7ms)  (0.0ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML 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", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 14 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 1.2ms)  (0.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 (0.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.1ms)  (1.7ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1009"} 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", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 6ms (ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1010"} 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", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1011"} 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", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 2.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1013"} 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", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1013/payments Completed 302 Found in 8ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1015"} 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", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 1.4ms)  (0.5ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1017"} 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", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1017/payments Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1019"} 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", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1020"} 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", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:30 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::PaymentsController#show as HTML Parameters: {"member_id"=>"1021", "id"=>"1022"} Organism Load (2.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.5ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.4ms | ActiveRecord: 4.3ms)  (8.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.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:30 UTC +00:00]]  (0.1ms) RELEASE 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" = 25) LIMIT 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" = 25) 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", Thu, 29 Aug 2013 05:48:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 25], ["updated_at", Thu, 29 Aug 2013 05:48:30 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/4/coord/new" for 127.0.0.1 at 2013-08-29 07:48:31 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"4"} 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", "4"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (32.7ms) Rendered layouts/adherent/_header.html.haml (1.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 138ms (Views: 50.3ms | ActiveRecord: 2.5ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_coords" Started POST "/adherent/members/4/coord" for 127.0.0.1 at 2013-08-29 07:48:31 +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"=>"4"} 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", "4"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (39.1ms) 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", Thu, 29 Aug 2013 05:48:31 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 4], ["office", ""], ["tel", ""], ["updated_at", Thu, 29 Aug 2013 05:48:31 UTC +00:00], ["zip", ""]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/4/adhesions/new Completed 302 Found in 53ms (ActiveRecord: 40.3ms) Started GET "/adherent/members/4/adhesions/new" for 127.0.0.1 at 2013-08-29 07:48:31 +0200 Processing by Adherent::AdhesionsController#new 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::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (8.1ms) 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 44ms (Views: 14.5ms | ActiveRecord: 5.0ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) ROLLBACK  (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", Thu, 29 Aug 2013 05:48:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:31 UTC +00:00]]  (0.1ms) RELEASE 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" = 26) LIMIT 1  (0.0ms) 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" = 26) 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", Thu, 29 Aug 2013 05:48:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 26], ["updated_at", Thu, 29 Aug 2013 05:48:31 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/5/coord/new" for 127.0.0.1 at 2013-08-29 07:48:31 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"5"} 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", "5"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (62.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 70ms (Views: 65.1ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/5/coord" for 127.0.0.1 at 2013-08-29 07:48:31 +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"=>"5"} 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", "5"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 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", Thu, 29 Aug 2013 05:48:31 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 5], ["office", ""], ["tel", ""], ["updated_at", Thu, 29 Aug 2013 05:48:31 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/5/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 1.4ms) Started GET "/adherent/members/5/adhesions/new" for 127.0.0.1 at 2013-08-29 07:48:31 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"5"} 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", "5"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 Adherent::Adhesion Load (1.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 14ms (Views: 8.1ms | ActiveRecord: 2.0ms) Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Thu, 29 Aug 2013 05:48:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:31 UTC +00:00]]  (0.1ms) RELEASE 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" = 27) LIMIT 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" = 27) 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", Thu, 29 Aug 2013 05:48:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 27], ["updated_at", Thu, 29 Aug 2013 05:48:31 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/6/coord/new" for 127.0.0.1 at 2013-08-29 07:48:31 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"6"} 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", "6"]] Adherent::Coord Load (0.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 6 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (11.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 21ms (Views: 14.6ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Thu, 29 Aug 2013 05:48:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:31 UTC +00:00]]  (0.1ms) RELEASE 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" = 28) LIMIT 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" = 28) 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", Thu, 29 Aug 2013 05:48:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 28], ["updated_at", Thu, 29 Aug 2013 05:48:31 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/7/coord/new" for 127.0.0.1 at 2013-08-29 07:48:31 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"7"} 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", "7"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 7 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (11.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 18ms (Views: 14.0ms | ActiveRecord: 0.7ms) Started POST "/adherent/members/7/coord" for 127.0.0.1 at 2013-08-29 07:48:31 +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"=>"7"} 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", "7"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 7 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", ""], ["created_at", Thu, 29 Aug 2013 05:48:31 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 7], ["office", ""], ["tel", ""], ["updated_at", Thu, 29 Aug 2013 05:48:31 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/7/adhesions/new Completed 302 Found in 6ms (ActiveRecord: 1.2ms) Started GET "/adherent/members/7/adhesions/new" for 127.0.0.1 at 2013-08-29 07:48:31 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"7"} 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", "7"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 7 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 7 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 14ms (Views: 8.6ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AllpaymentsController#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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" INNER JOIN "adherent_members" ON "adherent_payments"."member_id" = "adherent_members"."id" WHERE "adherent_members"."organism_id" = 29 Completed 200 OK in 19ms (Views: 1.9ms | ActiveRecord: 2.9ms)  (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 (0.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:31 UTC +00:00]]  (0.1ms) RELEASE 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" = 30) LIMIT 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" = 30) 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", Thu, 29 Aug 2013 05:48:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 30], ["updated_at", Thu, 29 Aug 2013 05:48:31 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members/8/adhesions/new" for 127.0.0.1 at 2013-08-29 07:48:31 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"8"} 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", "8"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 8 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 8 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 15ms (Views: 10.4ms | ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Organism Load (2.0ms) 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", Thu, 29 Aug 2013 05:48:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:31 UTC +00:00]]  (0.1ms) RELEASE 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" = 31) LIMIT 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" = 31) 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", Thu, 29 Aug 2013 05:48:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 31], ["updated_at", Thu, 29 Aug 2013 05:48:31 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/9/adhesions/new" for 127.0.0.1 at 2013-08-29 07:48:31 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"9"} 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", "9"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 9 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 9 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (5.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 14ms (Views: 9.1ms | ActiveRecord: 1.0ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 9 Started POST "/adherent/members/9/adhesions" for 127.0.0.1 at 2013-08-29 07:48:31 +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"=>"9"} 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", "9"]]  (0.1ms) SAVEPOINT active_record_1 SQL (36.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", #], ["created_at", Thu, 29 Aug 2013 05:48:31 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 9], ["to_date", Thu, 31 Jul 2014], ["updated_at", Thu, 29 Aug 2013 05:48:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/9/adhesions Completed 302 Found in 46ms (ActiveRecord: 37.8ms) Started GET "/adherent/members/9/adhesions" for 127.0.0.1 at 2013-08-29 07:48:31 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"9"} Organism Load (1.7ms) 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"."id" = $1 LIMIT 1 [["id", "9"]]  (2.9ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 9 Adherent::Adhesion Load (2.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 9  (51.2ms) 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 97ms (Views: 32.0ms | ActiveRecord: 61.1ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 9  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Thu, 29 Aug 2013 05:48:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:31 UTC +00:00]]  (0.2ms) RELEASE 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" = 32) LIMIT 1  (0.0ms) 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" = 32) 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", Thu, 29 Aug 2013 05:48:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 32], ["updated_at", Thu, 29 Aug 2013 05:48:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:48:31 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 10], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:48:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/10/adhesions" for 127.0.0.1 at 2013-08-29 07:48:31 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"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"]]  (1.0ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 10 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 10  (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 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 72ms (Views: 67.2ms | ActiveRecord: 2.5ms)  (0.1ms) 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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:31 UTC +00:00]]  (0.1ms) RELEASE 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" = 33) LIMIT 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" = 33) 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", Thu, 29 Aug 2013 05:48:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 33], ["updated_at", Thu, 29 Aug 2013 05:48:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (0.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", #], ["created_at", Thu, 29 Aug 2013 05:48:31 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 11], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:48:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/11/adhesions" for 127.0.0.1 at 2013-08-29 07:48:31 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"11"} Organism Load (0.3ms) 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", "11"]]  (0.4ms) SELECT COUNT(*) 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  (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 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.8ms | ActiveRecord: 1.8ms) Started GET "/adherent/members/11/adhesions/3/edit" for 127.0.0.1 at 2013-08-29 07:48:31 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"11", "id"=>"3"} 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", "11"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 11 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "3"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (14.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 24ms (Views: 18.5ms | ActiveRecord: 1.0ms)  (2.5ms) ROLLBACK  (0.0ms) BEGIN Organism Load (2.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (35.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:31 UTC +00:00]]  (0.2ms) RELEASE 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" = 34) LIMIT 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" = 34) 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", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 34], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 12], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/12/adhesions" for 127.0.0.1 at 2013-08-29 07:48:32 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"12"} 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", "12"]]  (0.2ms) SELECT COUNT(*) 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  (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 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.2ms | ActiveRecord: 1.4ms) Started GET "/adherent/members/12/payments/new" for 127.0.0.1 at 2013-08-29 07:48:32 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"12"} 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", "12"]] Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 12 ORDER BY to_date  (0.3ms) 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 (12.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 36ms (Views: 17.8ms | ActiveRecord: 2.1ms)  (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.0ms) BEGIN Adherent::Member Exists (0.2ms) 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.0ms) BEGIN Adherent::Member Exists (0.1ms) 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.0ms) BEGIN Adherent::Member Exists (0.2ms) 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.3ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Tue, 06 Jun 1944], ["created_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) 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.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", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.0ms) 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", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.6ms) RELEASE 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" = 2) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) 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.0ms) BEGIN Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Adhesion Load (0.7ms) 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.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.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", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:48:32 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" = 16 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 16 ORDER BY to_date DESC LIMIT 1  (0.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", #], ["created_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 16], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 16 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 16 ORDER BY to_date DESC 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.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", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:48:32 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" = 17 Adherent::Adhesion Load (0.2ms) 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.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", #], ["created_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 17], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:32 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" = 17 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 17 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) 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", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:48:32 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" = 18 Adherent::Adhesion Load (0.2ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 18], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:32 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" = 18 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 18 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (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" = 'Adh1' 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", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", nil], ["city", "Lille"], ["created_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 19], ["office", nil], ["tel", nil], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 19 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 4]] SQL (0.1ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 19]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (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", #], ["created_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8  (0.3ms) SAVEPOINT active_record_1 SQL (66.1ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 8], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 9  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 9], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (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", #], ["created_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 10  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 10  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1029"} 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", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:32 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 7ms (Views: 1.9ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1032"} 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", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:32 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 6ms (Views: 1.0ms | ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_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.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1034/payments Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1036"} 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", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1036/coord Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1038"} 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", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1040"} Organism Load (0.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (4.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", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1040/coord Completed 302 Found in 11ms (ActiveRecord: 5.4ms)  (0.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1042"} Organism Load (0.8ms) 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", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 2.5ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1044"} 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", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1046"} Organism Load (2.5ms) 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", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1046/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 3.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1048"} 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", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1050"} 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", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1052"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1054"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 2.0ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1056"} 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", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:32 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.2ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (1.0ms) 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", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.1ms) RELEASE 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" = 49) LIMIT 1  (0.2ms) 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" = 49) 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", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 49], ["updated_at", Thu, 29 Aug 2013 05:48: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" = 20 Adherent::Adhesion Load (0.2ms) 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 (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", #], ["created_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 20], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/20/payments/new" for 127.0.0.1 at 2013-08-29 07:48:32 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"20"} 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", "20"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 20 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 11 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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 16ms (Views: 10.3ms | ActiveRecord: 1.1ms)  (0.4ms) ROLLBACK  (0.3ms) 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", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.1ms) RELEASE 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" = 50) LIMIT 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" = 50) 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", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 50], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.0ms) 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" = 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.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", #], ["created_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 21], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/21/payments/new" for 127.0.0.1 at 2013-08-29 07:48:32 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"21"} 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", "21"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 21 ORDER BY to_date  (0.3ms) 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/payments/_form.html.haml (4.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 19ms (Views: 10.9ms | ActiveRecord: 1.3ms)  (20.9ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 21 Started POST "/adherent/members/21/payments" for 127.0.0.1 at 2013-08-29 07:48:32 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"21"} 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", "21"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 21], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 21 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 21 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 12  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/21/payments Completed 302 Found in 15ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/21/payments" for 127.0.0.1 at 2013-08-29 07:48:32 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"21"} 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", "21"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 21 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* 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  (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.6ms) 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.0ms) Completed 200 OK in 22ms (Views: 17.3ms | ActiveRecord: 2.4ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 21  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.1ms) RELEASE 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" = 51) LIMIT 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" = 51) 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", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 51], ["updated_at", Thu, 29 Aug 2013 05:48: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.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 22 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 22 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", #], ["created_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 22], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (26.5ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 05:48:32 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 22], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:48:32 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.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 13  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/22/payments" for 127.0.0.1 at 2013-08-29 07:48:32 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"22"} 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", "22"]] Adherent::Payment Load (1.0ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 22 Adherent::Reglement Load (5.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 2 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 2  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 2 Adherent::Reglement Load (6.1ms) 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.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 26ms (Views: 10.8ms | ActiveRecord: 13.1ms)  (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.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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 52) LIMIT 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" = 52) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 52], ["updated_at", Thu, 29 Aug 2013 05:48: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" = 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", #], ["created_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 23], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:33 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", #], ["created_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 23], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 23 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 23 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 14  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/23/payments" for 127.0.0.1 at 2013-08-29 07:48:33 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"23"} 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", "23"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 23 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* 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  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 3 Adherent::Reglement Load (0.3ms) 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: 11.0ms | ActiveRecord: 1.8ms) Started GET "/adherent/payments/3/reglements/new" for 127.0.0.1 at 2013-08-29 07:48:33 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"3"} Organism Load (0.5ms) 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", "3"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 23 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::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (1.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 14 Adherent::Reglement Load (2.3ms) 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 /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (17.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 47ms (Views: 36.7ms | ActiveRecord: 5.0ms)  (0.1ms) ROLLBACK  (0.5ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1058", "id"=>"1"} Organism Load (1.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1058/adhesions Completed 302 Found in 8ms (ActiveRecord: 3.2ms)  (1.5ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1060", "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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1062", "id"=>"1"} 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1062/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1064", "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.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1066"} Organism Load (1.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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1068"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1068/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1070"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1072"} Organism Load (4.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1072/adhesions Completed 302 Found in 13ms (ActiveRecord: 5.1ms)  (5.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1074", "id"=>"1"} 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 1.3ms | ActiveRecord: 4.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1076", "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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1078"} 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1078/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1079"} 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1080"} 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 66) LIMIT 1  (0.1ms) 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" = 66) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 66], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 66) LIMIT 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" = 66) LIMIT 1 SQL (0.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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 66], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 66) LIMIT 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" = 66) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 66], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 66) LIMIT 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" = 66) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 66], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 66) LIMIT 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" = 66) LIMIT 1 SQL (0.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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 66], ["updated_at", Thu, 29 Aug 2013 05:48:33 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-29 07:48:33 +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" = 66 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 24 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 24 LIMIT 1 Adherent::Adhesion Load (1.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 25 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 25 LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 26 ORDER BY to_date Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 26 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 27 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 28 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 28 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 35ms (Views: 26.0ms | ActiveRecord: 6.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.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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 67) LIMIT 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" = 67) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 67], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 67) LIMIT 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" = 67) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 67], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 67) LIMIT 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" = 67) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 67], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 67) LIMIT 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" = 67) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 67], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.3ms) RELEASE 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" = 67) LIMIT 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" = 67) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 67], ["updated_at", Thu, 29 Aug 2013 05:48:33 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-29 07:48:33 +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 (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 67 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 29 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 29 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 30 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 31 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 31 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 32 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 32 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 33 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 33 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 30ms (Views: 23.1ms | ActiveRecord: 3.4ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) 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.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 68) LIMIT 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" = 68) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 68], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 68) LIMIT 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" = 68) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 68], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 68) LIMIT 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" = 68) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 68], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 68) LIMIT 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" = 68) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 68], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 68) LIMIT 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" = 68) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 68], ["updated_at", Thu, 29 Aug 2013 05:48:33 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" for 127.0.0.1 at 2013-08-29 07:48:33 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.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"."organism_id" = 68 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 34 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 35 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 36 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 36 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 37 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 37 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 38 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 38 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 30ms (Views: 23.6ms | ActiveRecord: 3.1ms) Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/34/adhesions" for 127.0.0.1 at 2013-08-29 07:48:33 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"34"} 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", "34"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 Redirected to http://www.example.com/adherent/members/34/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET "/adherent/members/34/adhesions/new" for 127.0.0.1 at 2013-08-29 07:48:33 +0200 Processing by Adherent::AdhesionsController#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.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "34"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (5.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 13ms (Views: 8.2ms | ActiveRecord: 0.9ms)  (0.3ms) 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.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 69) LIMIT 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" = 69) LIMIT 1 SQL (0.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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 69], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 69) LIMIT 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" = 69) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 69], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 69) LIMIT 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" = 69) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 69], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 69) LIMIT 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" = 69) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 69], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 69) LIMIT 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" = 69) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 69], ["updated_at", Thu, 29 Aug 2013 05:48:33 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-29 07:48:33 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.0ms) 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" = 69 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 39 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 40 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 40 LIMIT 1 Adherent::Adhesion Load (1.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 41 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 41 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 42 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 42 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 43 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 43 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 31ms (Views: 22.9ms | ActiveRecord: 5.4ms) Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/39/edit" for 127.0.0.1 at 2013-08-29 07:48:33 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"39"} Organism Load (0.8ms) 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", "39"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (6.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 15ms (Views: 12.2ms | ActiveRecord: 0.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  (0.3ms) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 70) LIMIT 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" = 70) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 70], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 70) LIMIT 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" = 70) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 70], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 70) LIMIT 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" = 70) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 70], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 70) LIMIT 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" = 70) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 70], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 70) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 70) LIMIT 1 SQL (0.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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 70], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.2ms) 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-29 07:48:33 +0200 Processing by Adherent::MembersController#index as HTML 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"."organism_id" = 70 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 44 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 44 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 45 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 45 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 46 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 46 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 47 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 47 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 48 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 48 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 30ms (Views: 23.2ms | ActiveRecord: 3.7ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" 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", nil], ["city", "Marseille"], ["created_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 44], ["office", nil], ["tel", nil], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["zip", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 44 LIMIT 1 Started GET "/adherent/members/44/coord" for 127.0.0.1 at 2013-08-29 07:48:33 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"44"} 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", "44"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 44 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 9ms (Views: 4.1ms | ActiveRecord: 0.7ms)  (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 (0.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.2ms) RELEASE 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  (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" = 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 71], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 71) LIMIT 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" = 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 71], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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  (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.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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 71], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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  (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.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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 71], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 71) LIMIT 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 71], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members" for 127.0.0.1 at 2013-08-29 07:48:33 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.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"."organism_id" = 71 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 49 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 49 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 50 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 50 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 51 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 51 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 52 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 52 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 53 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 53 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 28ms (Views: 22.4ms | ActiveRecord: 3.0ms) Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/49/payments" for 127.0.0.1 at 2013-08-29 07:48:33 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"49"} 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", "49"]] Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 49 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 7ms (Views: 4.7ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 72) LIMIT 1  (0.0ms) 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" = 72) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 72], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 72) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 72) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 72], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.2ms) RELEASE 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" = 72) LIMIT 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" = 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 72], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 72) LIMIT 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" = 72) 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", Thu, 29 Aug 2013 05:48:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 72], ["updated_at", Thu, 29 Aug 2013 05:48:33 UTC +00:00]]  (0.1ms) RELEASE 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  (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" = 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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 72], ["updated_at", Thu, 29 Aug 2013 05:48:34 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-29 07:48:34 +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" = 72 Adherent::Adhesion Load (2.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 54 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 54 LIMIT 1 Adherent::Adhesion Load (2.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 55 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 55 LIMIT 1 Adherent::Adhesion Load (2.4ms) 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.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 57 LIMIT 1 Adherent::Adhesion Load (0.2ms) 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 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 38ms (Views: 26.0ms | ActiveRecord: 9.7ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 54 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 54 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", #], ["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 54], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (3.6ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/54/adhesions" for 127.0.0.1 at 2013-08-29 07:48:34 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"54"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (4.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "54"]]  (0.1ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 54 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 54  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 15 CACHE (1.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_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 21ms (Views: 6.8ms | ActiveRecord: 6.8ms)  (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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE 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" = 73) LIMIT 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" = 73) 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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 73], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE 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" = 73) LIMIT 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" = 73) 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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 73], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.4ms) RELEASE 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" = 73) LIMIT 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" = 73) 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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 73], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE 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" = 73) LIMIT 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" = 73) 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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 73], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE 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" = 73) LIMIT 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" = 73) 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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 73], ["updated_at", Thu, 29 Aug 2013 05:48:34 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-29 07:48:34 +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.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 73 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.6ms) 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 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.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 61 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 62 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 62 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 63 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 63 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 35ms (Views: 25.4ms | ActiveRecord: 4.5ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/59/coord" for 127.0.0.1 at 2013-08-29 07:48:34 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"59"} 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", "59"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 59 LIMIT 1 Redirected to http://www.example.com/adherent/members/59/coord/new Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET "/adherent/members/59/coord/new" for 127.0.0.1 at 2013-08-29 07:48:34 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"59"} 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", "59"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 59 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.8ms) 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 15ms (Views: 10.5ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.6ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE 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  (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" = 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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 74], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE 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" = 74) LIMIT 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.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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 74], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.0ms) RELEASE 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  (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" = 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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 74], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE 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" = 74) LIMIT 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" = 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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 74], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE 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" = 74) LIMIT 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" = 74) 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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 74], ["updated_at", Thu, 29 Aug 2013 05:48:34 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-29 07:48:34 +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" = 74 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.3ms) 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 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 66 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 66 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 67 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 67 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 68 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 68 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 31ms (Views: 23.5ms | ActiveRecord: 3.4ms) Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-29 07:48:34 +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 (5.4ms) 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 12ms (Views: 9.7ms | ActiveRecord: 0.3ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE 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" = 75) LIMIT 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" = 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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 75], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE 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" = 75) LIMIT 1  (0.2ms) 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" = 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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 75], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE 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" = 75) LIMIT 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" = 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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 75], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE 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" = 75) LIMIT 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" = 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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 75], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.2ms) RELEASE 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" = 75) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' 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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 75], ["updated_at", Thu, 29 Aug 2013 05:48:34 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/new" for 127.0.0.1 at 2013-08-29 07:48:34 +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 (5.9ms) 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 11ms (Views: 9.1ms | ActiveRecord: 0.3ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_members" Started POST "/adherent/members" for 127.0.0.1 at 2013-08-29 07:48:34 +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.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.0ms) 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" = 75) 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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 75], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/74/coord/new Completed 302 Found in 7ms (ActiveRecord: 1.1ms) Started GET "/adherent/members/74/coord/new" for 127.0.0.1 at 2013-08-29 07:48:34 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"74"} 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", "74"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 74 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.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 19ms (Views: 12.2ms | ActiveRecord: 0.8ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"   (0.2ms) 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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 75], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 75 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 75 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", #], ["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 75], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 05:48:34 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", #], ["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 75], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 75 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 75 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 16  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 17  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 16 SQL (0.8ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["payment_id", 4], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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.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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:48:34 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", #], ["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 76], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:48: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" = 76 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 76 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", #], ["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 76], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 76], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 76 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 76 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 18  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 19  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 18 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", 18], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["payment_id", 5], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 19 SQL (0.3ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["payment_id", 5], ["updated_at", Thu, 29 Aug 2013 05:48:34 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" = 5  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 5  (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.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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 05:48:34 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", #], ["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 77], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 05:48: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" = 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  (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", #], ["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 77], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 05:48:34 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", #], ["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 77], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 77 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 77 ORDER BY to_date  (0.2ms) 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  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20 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", 20], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["payment_id", 6], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 21 SQL (1.9ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 21], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["payment_id", 6], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (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.0ms) BEGIN  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE 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" = 76) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' 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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 76], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE 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" = 76) LIMIT 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" = 76) 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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 76], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE 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" = 76) LIMIT 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.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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 76], ["updated_at", Thu, 29 Aug 2013 05:48: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 (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 78 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 78 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", #], ["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 78], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/78/payments/new" for 127.0.0.1 at 2013-08-29 07:48:34 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"78"} 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", "78"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 78 ORDER BY to_date  (0.3ms) 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 (4.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 17ms (Views: 8.0ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/78/payments" for 127.0.0.1 at 2013-08-29 07:48:34 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"78"} 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", "78"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 78], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 78 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 78 ORDER BY to_date  (0.2ms) 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.6ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["payment_id", 7], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/78/payments Completed 302 Found in 13ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/78/payments" for 127.0.0.1 at 2013-08-29 07:48:34 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"78"} 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", "78"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 78 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 7 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 22 LIMIT 1 Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 78 LIMIT 1 Adherent::Reglement Load (0.3ms) 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.2ms) 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 26ms (Views: 20.4ms | ActiveRecord: 3.6ms) Adherent::Adhesion Load (1.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 78 ORDER BY to_date  (2.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 22  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) COMMIT  (0.6ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (4.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE 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" = 77) LIMIT 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" = 77) 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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 77], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 77) LIMIT 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 (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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 77], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.8ms) RELEASE 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" = 77) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 77) 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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 77], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (2.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 81 Adherent::Adhesion Load (2.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 81 ORDER BY to_date DESC LIMIT 1  (1.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 81], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/81/payments/new" for 127.0.0.1 at 2013-08-29 07:48:34 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"81"} Organism Load (2.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", "81"]] Adherent::Adhesion Load (2.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 81 ORDER BY to_date  (2.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (11.3ms) Rendered layouts/adherent/_header.html.haml (0.3ms) 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 31ms (Views: 19.1ms | ActiveRecord: 7.2ms) Started POST "/adherent/members/81/payments" for 127.0.0.1 at 2013-08-29 07:48:34 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"81"} 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", "81"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 81], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 81 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 81 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23 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", 23], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["payment_id", 8], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/81/payments Completed 302 Found in 13ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/81/payments" for 127.0.0.1 at 2013-08-29 07:48:34 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"81"} 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", "81"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 81 Adherent::Reglement Load (0.4ms) 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" = 23 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 81 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::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 16ms (Views: 12.3ms | ActiveRecord: 2.2ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 81 ORDER BY "adherent_payments"."id" DESC 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  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE 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" = 78) LIMIT 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" = 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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 78], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE 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" = 78) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' 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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 78], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.7ms) RELEASE 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  (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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 78], ["updated_at", Thu, 29 Aug 2013 05:48: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 (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 84 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 84 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (16.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 84], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/84/payments/new" for 127.0.0.1 at 2013-08-29 07:48:34 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"84"} 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", "84"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 84 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 24 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/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.0ms) Completed 200 OK in 14ms (Views: 9.1ms | ActiveRecord: 1.0ms) Started POST "/adherent/members/84/payments" for 127.0.0.1 at 2013-08-29 07:48:34 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"84"} 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", "84"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 84], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 84 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 84 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 24 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 24 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", 24], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["payment_id", 9], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/84/payments Completed 302 Found in 12ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/84/payments" for 127.0.0.1 at 2013-08-29 07:48:34 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"84"} 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", "84"]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 84 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 24 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 84 LIMIT 1 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 Adherent::Reglement Load (9.1ms) 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 78ms (Views: 64.8ms | ActiveRecord: 11.1ms) Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 84 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 24  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.2ms) RELEASE 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" = 79) LIMIT 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" = 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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 79], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 79) LIMIT 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" = 79) 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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 79], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE 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  (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" = 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", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 79], ["updated_at", Thu, 29 Aug 2013 05:48: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 (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 87 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 87 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", #], ["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 87], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/87/payments/new" for 127.0.0.1 at 2013-08-29 07:48:34 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"87"} 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", "87"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 87 ORDER BY to_date  (0.2ms) 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.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 16ms (Views: 7.8ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/87/payments" for 127.0.0.1 at 2013-08-29 07:48:34 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"87"} 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", "87"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 87], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:48:34 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 87 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 87 ORDER BY to_date  (0.2ms) 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 (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", 25], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["payment_id", 10], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/87/payments Completed 302 Found in 16ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/87/payments" for 127.0.0.1 at 2013-08-29 07:48:35 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"87"} 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", "87"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 87 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10 Adherent::Adhesion Load (0.2ms) 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" = 87 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 16ms (Views: 12.5ms | ActiveRecord: 2.2ms) Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 87 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 25  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 25  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE 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  (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" = 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", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 80], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (3.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 80) LIMIT 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" = 80) 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", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 80], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 80) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' 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", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 80], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (2.6ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 90 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 90 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", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 90], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements" Started GET "/adherent/members/90/payments/new" for 127.0.0.1 at 2013-08-29 07:48:35 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"90"} 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", "90"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 90 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 26 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 26 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 15ms (Views: 9.3ms | ActiveRecord: 0.9ms) Started POST "/adherent/members/90/payments" for 127.0.0.1 at 2013-08-29 07:48:35 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"90"} Organism Load (0.7ms) 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", "90"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 90], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 90 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 90 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 26 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 26 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", 26], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["payment_id", 11], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/90/payments Completed 302 Found in 13ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/90/payments" for 127.0.0.1 at 2013-08-29 07:48:35 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"90"} Organism Load (0.3ms) 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", "90"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 90 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 26 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 90 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 16ms (Views: 11.1ms | ActiveRecord: 3.2ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 81) LIMIT 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" = 81) 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", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 81], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 81) LIMIT 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" = 81) 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", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 81], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 81) LIMIT 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" = 81) 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", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 81], ["updated_at", Thu, 29 Aug 2013 05:48: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" = 93 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 93 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", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 93], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/93/payments/new" for 127.0.0.1 at 2013-08-29 07:48:35 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"93"} 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", "93"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 93 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 27 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/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 17ms (Views: 8.6ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/93/payments" for 127.0.0.1 at 2013-08-29 07:48:35 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"93"} 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", "93"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 93], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 93 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 93 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 27 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 27 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", 27], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["payment_id", 12], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/93/payments Completed 302 Found in 13ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/93/payments" for 127.0.0.1 at 2013-08-29 07:48:35 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"93"} Organism Load (1.0ms) 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", "93"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 93 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 27 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 93 LIMIT 1 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 Adherent::Reglement Load (0.2ms) 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 15ms (Views: 10.9ms | ActiveRecord: 2.8ms) Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 93 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 27  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 82) LIMIT 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" = 82) 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", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 82], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 82) LIMIT 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" = 82) 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", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 82], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 82) LIMIT 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" = 82) 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", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 82], ["updated_at", Thu, 29 Aug 2013 05:48: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" = 96 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 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", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 96], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 96 Started GET "/adherent/members/96/payments/new" for 127.0.0.1 at 2013-08-29 07:48:35 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"96"} 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", "96"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 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 (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 17ms (Views: 8.7ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/96/payments" for 127.0.0.1 at 2013-08-29 07:48:35 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"96"} Organism Load (1.0ms) 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", "96"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 96], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 96 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 96 ORDER BY to_date  (0.2ms) 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.7ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["payment_id", 13], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/96/payments Completed 302 Found in 13ms (ActiveRecord: 3.2ms) Started GET "/adherent/members/96/payments" for 127.0.0.1 at 2013-08-29 07:48:35 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"96"} 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", "96"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 96 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 13 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 28 LIMIT 1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 96 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 13  (0.2ms) 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 16ms (Views: 11.0ms | ActiveRecord: 2.4ms)  (0.8ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 96  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 83) LIMIT 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" = 83) 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", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 83], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 83) LIMIT 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" = 83) 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", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 83], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 83) LIMIT 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" = 83) 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", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 83], ["updated_at", Thu, 29 Aug 2013 05:48: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" = 99 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 99 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", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 99], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/99/payments/new" for 127.0.0.1 at 2013-08-29 07:48:35 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"99"} Organism Load (1.8ms) 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", "99"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 99 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 29 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 29 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 18ms (Views: 8.8ms | ActiveRecord: 3.1ms) Started POST "/adherent/members/99/payments" for 127.0.0.1 at 2013-08-29 07:48:35 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"99"} 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", "99"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 99], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 99 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 99 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 29 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 29 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", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["payment_id", 14], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/99/payments Completed 302 Found in 12ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/99/payments" for 127.0.0.1 at 2013-08-29 07:48:35 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"99"} 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", "99"]] Adherent::Payment Load (1.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 99 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 14 Adherent::Adhesion Load (0.2ms) 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" = 99 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: 11.0ms | ActiveRecord: 3.2ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 99 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 100 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 100 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (10.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", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 100], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 101 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 101 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", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 101], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/14/reglements/new" for 127.0.0.1 at 2013-08-29 07:48:35 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"14"} Organism Load (0.2ms) 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", "14"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 99 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 14  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 14 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" = 29  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 30  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 31 Adherent::Reglement Load (0.3ms) 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 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 100 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 30 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 101 LIMIT 1 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/reglements/_form.html.haml (9.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 24ms (Views: 14.6ms | ActiveRecord: 2.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.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", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 84) LIMIT 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" = 84) 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", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 84], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 84) LIMIT 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" = 84) 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", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 84], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 84) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 84) 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", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 84], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 102 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 102 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", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 102], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/102/payments/new" for 127.0.0.1 at 2013-08-29 07:48:35 +0200 Processing by Adherent::PaymentsController#new 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::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 102 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 (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 17ms (Views: 11.1ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/102/payments" for 127.0.0.1 at 2013-08-29 07:48:35 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "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"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 102], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 102 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 102 ORDER BY to_date  (0.5ms) 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 (6.1ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["payment_id", 15], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/102/payments Completed 302 Found in 21ms (ActiveRecord: 8.4ms) Started GET "/adherent/members/102/payments" for 127.0.0.1 at 2013-08-29 07:48:35 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"102"} Organism Load (1.9ms) 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::Payment Load (0.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 102 Adherent::Reglement Load (1.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 15 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 32 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 102 LIMIT 1 Adherent::Reglement Load (0.3ms) 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.4ms) 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.7ms) 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: 5.3ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 102 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 103 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 103 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", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 103], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:35 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" = 104 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 104 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", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 104], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/15/reglements/new" for 127.0.0.1 at 2013-08-29 07:48:35 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"15"} 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", "15"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 102 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::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" = 32  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 33  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 34 Adherent::Reglement Load (0.3ms) 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 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 103 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 33 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 104 LIMIT 1 CACHE (0.0ms) 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/reglements/_form.html.haml (7.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 21ms (Views: 12.5ms | ActiveRecord: 2.7ms)  (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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 85) LIMIT 1  (0.2ms) 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" = 85) 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", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 85], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 85) LIMIT 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" = 85) 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", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 85], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 85) LIMIT 1  (0.0ms) 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" = 85) 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", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 85], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) 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" = 105 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 105 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 105], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/105/payments/new" for 127.0.0.1 at 2013-08-29 07:48:35 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"105"} 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", "105"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 105 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 35 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 35 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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 15ms (Views: 8.2ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/105/payments" for 127.0.0.1 at 2013-08-29 07:48:35 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"105"} 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", "105"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 105], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 105 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 105 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 35 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 35 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", 35], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["payment_id", 16], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/105/payments Completed 302 Found in 13ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/105/payments" for 127.0.0.1 at 2013-08-29 07:48:35 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"105"} 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", "105"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 105 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" = 35 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 105 LIMIT 1 Adherent::Reglement Load (0.2ms) 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 15ms (Views: 10.9ms | ActiveRecord: 2.2ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 105 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 106 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 106 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", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 106], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:35 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" = 107 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 107 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", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 107], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/16/reglements/new" for 127.0.0.1 at 2013-08-29 07:48:35 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"16"} 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", "16"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 105 LIMIT 1 Adherent::Reglement Load (0.2ms) 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::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" = 35  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37 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 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 106 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 107 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.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 23ms (Views: 12.8ms | ActiveRecord: 2.9ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 105 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 35 Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 105 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.2ms) 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  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 86) LIMIT 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" = 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", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 86], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 86) LIMIT 1  (1.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" = 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", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 86], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 86) LIMIT 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" = 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", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 86], ["updated_at", Thu, 29 Aug 2013 05:48: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" = 108 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 108 ORDER BY to_date DESC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 108], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/108/payments/new" for 127.0.0.1 at 2013-08-29 07:48:35 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"108"} Organism Load (0.8ms) 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", "108"]] Adherent::Adhesion Load (0.4ms) 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" = 38 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 38 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 18ms (Views: 10.2ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/108/payments" for 127.0.0.1 at 2013-08-29 07:48:35 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "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"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 108], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 108 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 108 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 38 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 38 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", 38], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["payment_id", 17], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/108/payments Completed 302 Found in 13ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/108/payments" for 127.0.0.1 at 2013-08-29 07:48:35 +0200 Processing by Adherent::PaymentsController#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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "108"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 108 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 17 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 38 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 108 LIMIT 1 Adherent::Reglement Load (0.2ms) 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 (0.2ms) 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 15ms (Views: 11.2ms | ActiveRecord: 2.2ms) Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 108 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 109 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 109 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", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 109], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:35 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" = 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  (0.1ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 110], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/17/reglements/new" for 127.0.0.1 at 2013-08-29 07:48:35 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"17"} 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", "17"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 108 LIMIT 1 Adherent::Reglement Load (0.0ms) 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::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 38  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 39  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 40 Adherent::Reglement Load (0.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 Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 109 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 39 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 110 LIMIT 1 CACHE (0.0ms) 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/reglements/_form.html.haml (70.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 84ms (Views: 73.5ms | ActiveRecord: 3.7ms)  (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", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 87) LIMIT 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" = 87) 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", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 87], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 87) LIMIT 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" = 87) 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", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 87], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.0ms) RELEASE 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" = 87) LIMIT 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" = 87) 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", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 87], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 111 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 111 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", #], ["created_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 111], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/111/payments/new" for 127.0.0.1 at 2013-08-29 07:48:35 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"111"} Organism Load (0.7ms) 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", "111"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 111 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 41 CACHE (0.0ms) 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.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: 9.5ms | ActiveRecord: 1.7ms) Started POST "/adherent/members/111/payments" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"111"} 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", "111"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 111], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 111 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 111 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 41 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 41 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", 41], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["payment_id", 18], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/111/payments Completed 302 Found in 14ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/111/payments" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::PaymentsController#index 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.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "111"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 111 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 18 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 41 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 111 LIMIT 1 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.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: 11.9ms | ActiveRecord: 2.5ms) Adherent::Payment Load (0.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 111 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) 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  (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", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 112], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:36 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" = 113 Adherent::Adhesion Load (0.2ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 113], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/18/reglements/new" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"18"} 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", "18"]] Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 111 LIMIT 1 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 18  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 18 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 41  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 42  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 43 Adherent::Reglement Load (0.3ms) 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 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 112 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 42 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 113 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 43 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (14.9ms) 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 39ms (Views: 17.6ms | ActiveRecord: 4.3ms) Started POST "/adherent/payments/18/reglements" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"42"}, "commit"=>"Enregistrer", "payment_id"=>"18"} 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", "18"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "42"]] 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  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 42  (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", 42], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["payment_id", 18], ["updated_at", Thu, 29 Aug 2013 05:48:36 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" = 111 LIMIT 1 Redirected to http://www.example.com/adherent/members/111/payments Completed 302 Found in 10ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/111/payments" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::PaymentsController#index 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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "111"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 111 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 18 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 41 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 111 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 42 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 112 LIMIT 1 Adherent::Reglement Load (0.1ms) 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.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.9ms | ActiveRecord: 2.7ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 112 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 42  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 42  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 88) LIMIT 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" = 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", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 88], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 88) LIMIT 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" = 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", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 88], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]]  (0.6ms) RELEASE 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" = 88) LIMIT 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" = 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", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 88], ["updated_at", Thu, 29 Aug 2013 05:48: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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 114 Adherent::Adhesion Load (0.2ms) 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.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", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 114], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/114/payments/new" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"114"} Organism Load (3.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "114"]] Adherent::Adhesion Load (2.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 114 ORDER BY to_date  (1.5ms) 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 (13.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 36ms (Views: 18.3ms | ActiveRecord: 9.3ms) Started POST "/adherent/members/114/payments" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"114"} 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", "114"]]  (0.4ms) SAVEPOINT active_record_1 SQL (2.4ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 114], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]] Adherent::Member Load (1.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 114 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 114 ORDER BY to_date  (0.9ms) 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 SQL (3.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 44], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["payment_id", 19], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/114/payments Completed 302 Found in 27ms (ActiveRecord: 10.3ms) Started GET "/adherent/members/114/payments" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"114"} Organism Load (1.2ms) 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"."id" = $1 LIMIT 1 [["id", "114"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 114 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 19 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 44 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 114 LIMIT 1 Adherent::Reglement Load (0.6ms) 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.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 21ms (Views: 14.4ms | ActiveRecord: 3.9ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 114 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) 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.7ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 115], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.7ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 116], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/19/reglements/new" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"19"} 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", "19"]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 114 LIMIT 1 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::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" = 44  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 45  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 46 Adherent::Reglement Load (0.5ms) 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 Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 115 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 45 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 116 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 46 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 23ms (Views: 13.7ms | ActiveRecord: 3.4ms) Started POST "/adherent/payments/19/reglements" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"45"}, "commit"=>"Enregistrer", "payment_id"=>"19"} 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", "19"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "45"]] Adherent::Reglement Load (0.3ms) 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  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 45  (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", 45], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["payment_id", 19], ["updated_at", Thu, 29 Aug 2013 05:48:36 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" = 114 LIMIT 1 Redirected to http://www.example.com/adherent/members/114/payments Completed 302 Found in 10ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/114/payments" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"114"} 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", "114"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 114 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 19 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 44 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 114 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 45 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 115 LIMIT 1 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 19  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 19 Adherent::Reglement Load (0.3ms) 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.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 17ms (Views: 13.1ms | ActiveRecord: 2.9ms) Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 89) LIMIT 1  (0.1ms) 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" = 89) 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", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 89], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 89) LIMIT 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" = 89) 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", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 89], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 89) LIMIT 1  (0.0ms) 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" = 89) 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", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 89], ["updated_at", Thu, 29 Aug 2013 05:48: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.2ms) 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) 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", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 117], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/117/payments/new" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"117"} 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", "117"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 117 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 47 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 47 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (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 20ms (Views: 9.6ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/117/payments" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"117"} 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", "117"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 117], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 117 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 117 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 47 CACHE (0.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["payment_id", 20], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/117/payments Completed 302 Found in 14ms (ActiveRecord: 3.2ms) Started GET "/adherent/members/117/payments" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"117"} Organism Load (0.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", "117"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 117 Adherent::Reglement Load (0.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 47 LIMIT 1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 117 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 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 74ms (Views: 69.6ms | ActiveRecord: 2.9ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 117 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 118 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 118 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", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 118], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:36 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" = 119 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 119 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", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 119], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/20/reglements/new" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"20"} 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", "20"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 117 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 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" = 47  (0.1ms) 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" = 49 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 118 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 48 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 119 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 49 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 31ms (Views: 21.5ms | ActiveRecord: 3.2ms) Started POST "/adherent/payments/20/reglements" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"48"}, "commit"=>"Enregistrer", "payment_id"=>"20"} 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", "20"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "48"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 48  (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", 48], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["payment_id", 20], ["updated_at", Thu, 29 Aug 2013 05:48:36 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" = 117 LIMIT 1 Redirected to http://www.example.com/adherent/members/117/payments Completed 302 Found in 10ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/117/payments" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"117"} 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", "117"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 117 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 47 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 117 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 48 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 118 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 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.3ms) Completed 200 OK in 19ms (Views: 14.2ms | ActiveRecord: 2.9ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" ORDER BY "adherent_reglements"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 48 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 118 LIMIT 1  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 90) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 90) 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", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 90], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 90) LIMIT 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" = 90) 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", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 90], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 90) LIMIT 1  (0.0ms) 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" = 90) 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", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 90], ["updated_at", Thu, 29 Aug 2013 05:48: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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 120 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 120 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", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 120], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/120/payments/new" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"120"} 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", "120"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 120 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 50 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 50 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 19ms (Views: 9.6ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/120/payments" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"120"} 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", "120"]]  (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", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 120], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 120 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 120 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 50 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 50 SQL (0.8ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["payment_id", 21], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/120/payments Completed 302 Found in 14ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/120/payments" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"120"} 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", "120"]] Adherent::Payment Load (1.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 120 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 21 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 50 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 120 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 21  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 21 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 21 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 21 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.8ms | ActiveRecord: 3.6ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 120 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 121 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 121 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 121], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:36 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" = 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  (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", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 122], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/21/reglements/new" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"21"} 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", "21"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 120 LIMIT 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 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (1.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 50  (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 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 21 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 21 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 121 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 51 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 122 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 52 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_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 23ms (Views: 12.6ms | ActiveRecord: 3.7ms) Started POST "/adherent/payments/21/reglements" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"51"}, "commit"=>"Enregistrer", "payment_id"=>"21"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.9ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "21"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "51"]] 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.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 51  (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", 51], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["payment_id", 21], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 120 LIMIT 1 Redirected to http://www.example.com/adherent/members/120/payments Completed 302 Found in 9ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/120/payments" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"120"} 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", "120"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 120 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 21 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 50 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 120 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 51 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 121 LIMIT 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 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 21 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 21 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 17ms (Views: 13.3ms | ActiveRecord: 2.6ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 50 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 120 LIMIT 1  (0.1ms) 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.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]]  (0.1ms) RELEASE 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  (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.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", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 91], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 91) LIMIT 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" = 91) 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", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 91], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 91) LIMIT 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" = 91) 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", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 91], ["updated_at", Thu, 29 Aug 2013 05:48: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.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  (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", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 123], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/123/payments/new" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"123"} Organism Load (0.3ms) 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", "123"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 123 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 53 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 53 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 18ms (Views: 8.7ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/123/payments" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"123"} 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", "123"]]  (0.1ms) 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", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 123], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 123 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 123 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 53 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 53 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", 53], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["payment_id", 22], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/123/payments Completed 302 Found in 15ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/123/payments" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::PaymentsController#index 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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "123"]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 123 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 53 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 123 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 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: 11.8ms | ActiveRecord: 2.5ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 123 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 124 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 124 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", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 124], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:36 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" = 125 Adherent::Adhesion Load (0.1ms) 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.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", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 125], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/22/reglements/new" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"22"} 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", "22"]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 123 LIMIT 1 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 53  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 54  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 55 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 124 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 54 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 125 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 55 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (7.5ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 25ms (Views: 11.7ms | ActiveRecord: 3.7ms) Started POST "/adherent/payments/22/reglements" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"54"}, "commit"=>"Enregistrer", "payment_id"=>"22"} 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", "22"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "54"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 54  (0.2ms) 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", 54], ["amount", #], ["created_at", Thu, 29 Aug 2013 05:48:36 UTC +00:00], ["payment_id", 22], ["updated_at", Thu, 29 Aug 2013 05:48:36 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" = 123 LIMIT 1 Redirected to http://www.example.com/adherent/members/123/payments Completed 302 Found in 12ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/123/payments" for 127.0.0.1 at 2013-08-29 07:48:36 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"123"} 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", "123"]] Adherent::Payment Load (0.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 123 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 53 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 123 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 54 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 124 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 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.1ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) 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 Connecting to database specified by database.yml  (0.5ms) BEGIN  (75.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (15.9ms) 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 (175.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", Thu, 29 Aug 2013 13:25:22 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 13:25:22 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (69.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", #], ["created_at", Thu, 29 Aug 2013 13:25:23 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 126], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 13:25:23 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (2.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 126 Adherent::Adhesion Load (2.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 126 ORDER BY to_date DESC LIMIT 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", #], ["created_at", Thu, 29 Aug 2013 13:25:23 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 126], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 13:25:23 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (14.6ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 13:25:23 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 126], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 13:25:23 UTC +00:00]] Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 126 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 126 ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 56  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 57  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 56 SQL (0.8ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 56], ["amount", #], ["created_at", Thu, 29 Aug 2013 13:25:23 UTC +00:00], ["payment_id", 23], ["updated_at", Thu, 29 Aug 2013 13:25:23 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 57 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 57], ["amount", #], ["created_at", Thu, 29 Aug 2013 13:25:23 UTC +00:00], ["payment_id", 23], ["updated_at", Thu, 29 Aug 2013 13:25:23 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.3ms) 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  (0.2ms) ROLLBACK  (0.0ms) BEGIN 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  (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.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", Thu, 29 Aug 2013 13:25:23 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 13:25:23 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", #], ["created_at", Thu, 29 Aug 2013 13:25:23 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 127], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 13:25:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 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.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", #], ["created_at", Thu, 29 Aug 2013 13:25:23 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 127], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 13:25:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 13:25:23 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 127], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 13:25:23 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.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 58  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 59  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 58 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", 58], ["amount", #], ["created_at", Thu, 29 Aug 2013 13:25:23 UTC +00:00], ["payment_id", 24], ["updated_at", Thu, 29 Aug 2013 13:25:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) 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", Thu, 29 Aug 2013 13:25:23 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 13:25:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (18.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", #], ["created_at", Thu, 29 Aug 2013 13:25:23 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 128], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 13:25:23 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" = 128 Adherent::Adhesion Load (1.6ms) 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.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", #], ["created_at", Thu, 29 Aug 2013 13:25:23 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 128], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 13:25:23 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", #], ["created_at", Thu, 29 Aug 2013 13:25:23 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 128], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 13:25:23 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 128 LIMIT 1 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" = 60  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 61  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 60 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 60], ["amount", #], ["created_at", Thu, 29 Aug 2013 13:25:23 UTC +00:00], ["payment_id", 25], ["updated_at", Thu, 29 Aug 2013 13:25:23 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 61 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", 61], ["amount", #], ["created_at", Thu, 29 Aug 2013 13:25:23 UTC +00:00], ["payment_id", 25], ["updated_at", Thu, 29 Aug 2013 13:25:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  (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.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.8ms) 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.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (4.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", Thu, 29 Aug 2013 13:32:53 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 13:32:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Thu, 29 Aug 2013 13:32:53 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 129], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 13:32:53 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" = 129 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 129 ORDER BY to_date DESC LIMIT 1  (1.5ms) 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", #], ["created_at", Thu, 29 Aug 2013 13:32:53 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 129], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 13:32:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Thu, 29 Aug 2013 13:32:53 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 129], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 13:32:53 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 129 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 129 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 62  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 63  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 62 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 62], ["amount", #], ["created_at", Thu, 29 Aug 2013 13:32:53 UTC +00:00], ["payment_id", 26], ["updated_at", Thu, 29 Aug 2013 13:32:53 UTC +00:00]]  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 63 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 63], ["amount", #], ["created_at", Thu, 29 Aug 2013 13:32:53 UTC +00:00], ["payment_id", 26], ["updated_at", Thu, 29 Aug 2013 13:32:53 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" = 26  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 26  (0.5ms) ROLLBACK  (0.0ms) BEGIN 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  (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", Thu, 29 Aug 2013 13:32:53 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 13:32:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Thu, 29 Aug 2013 13:32:53 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 130], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 13:32:53 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" = 130 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 130 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", #], ["created_at", Thu, 29 Aug 2013 13:32:53 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 130], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 13:32:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 13:32:53 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 130], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 13:32:53 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 130 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 130 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 64  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 65  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 64 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", 64], ["amount", #], ["created_at", Thu, 29 Aug 2013 13:32:53 UTC +00:00], ["payment_id", 27], ["updated_at", Thu, 29 Aug 2013 13:32:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.5ms) 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.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", Thu, 29 Aug 2013 13:32:53 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 13:32:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Thu, 29 Aug 2013 13:32:53 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 131], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 13:32:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 131 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 131 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", #], ["created_at", Thu, 29 Aug 2013 13:32:53 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 131], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 13:32:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Thu, 29 Aug 2013 13:32:53 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 131], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 13:32:53 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 131 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 131 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 66  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 67  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 66 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", 66], ["amount", #], ["created_at", Thu, 29 Aug 2013 13:32:53 UTC +00:00], ["payment_id", 28], ["updated_at", Thu, 29 Aug 2013 13:32:53 UTC +00:00]]  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 67 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 67], ["amount", #], ["created_at", Thu, 29 Aug 2013 13:32:53 UTC +00:00], ["payment_id", 28], ["updated_at", Thu, 29 Aug 2013 13:32:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) 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.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.9ms) 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 (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", Thu, 29 Aug 2013 13:35:17 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", #], ["created_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 132], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 132 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 132 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", #], ["created_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 132], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 132], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 132 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 132 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 68  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 69  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 68 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 68], ["amount", #], ["created_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00], ["payment_id", 29], ["updated_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 69 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 69], ["amount", #], ["created_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00], ["payment_id", 29], ["updated_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.2ms) 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", Thu, 29 Aug 2013 13:35:17 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00]]  (0.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 133], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 133 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 133 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", #], ["created_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 133], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 133], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 133 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 133 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 70  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 71  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 70 SQL (0.8ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 70], ["amount", #], ["created_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00], ["payment_id", 30], ["updated_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) 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", Thu, 29 Aug 2013 13:35:17 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 134], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 13:35:17 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" = 134 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 134 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", #], ["created_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 134], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 134], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 134 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 134 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 72  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 73  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 72 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", 72], ["amount", #], ["created_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00], ["payment_id", 31], ["updated_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 73 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 73], ["amount", #], ["created_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00], ["payment_id", 31], ["updated_at", Thu, 29 Aug 2013 13:35:17 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (42.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (8.5ms) 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 (27.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", Thu, 29 Aug 2013 18:32:49 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 18:32:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (23.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", #], ["created_at", Thu, 29 Aug 2013 18:32:49 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 135], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 18:32:49 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" = 135 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 135 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", #], ["created_at", Thu, 29 Aug 2013 18:32:49 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 135], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 18:32:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", #], ["created_at", Thu, 29 Aug 2013 18:32:49 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 135], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:32:49 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 135 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 135 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 74  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 75  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 74 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 74], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:49 UTC +00:00], ["payment_id", 32], ["updated_at", Thu, 29 Aug 2013 18:32:49 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 75 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", 75], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:49 UTC +00:00], ["payment_id", 32], ["updated_at", Thu, 29 Aug 2013 18:32:49 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" = 32  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32  (0.3ms) 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.3ms) 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", Thu, 29 Aug 2013 18:32:49 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 18:32:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Thu, 29 Aug 2013 18:32:49 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 136], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 18:32:49 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 136 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 136 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", #], ["created_at", Thu, 29 Aug 2013 18:32:49 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 136], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 18:32:49 UTC +00:00]]  (0.2ms) 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", #], ["created_at", Thu, 29 Aug 2013 18:32:49 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 136], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:32:49 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 136 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 136 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 76  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 77  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 76 SQL (1.0ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 76], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:49 UTC +00:00], ["payment_id", 33], ["updated_at", Thu, 29 Aug 2013 18:32:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.3ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (1.0ms) 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.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", Thu, 29 Aug 2013 18:32:49 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 18:32:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Thu, 29 Aug 2013 18:32:49 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 137], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 18:32:49 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" = 137 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 137 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", #], ["created_at", Thu, 29 Aug 2013 18:32:49 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 137], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 18:32:49 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", #], ["created_at", Thu, 29 Aug 2013 18:32:49 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 137], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:32:49 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 137 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 137 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 78  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 79  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 78 SQL (1.0ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 78], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:49 UTC +00:00], ["payment_id", 34], ["updated_at", Thu, 29 Aug 2013 18:32:49 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 79 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", 79], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:49 UTC +00:00], ["payment_id", 34], ["updated_at", Thu, 29 Aug 2013 18:32:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1001"} Organism Load (21.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (20.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/show.html.erb within layouts/adherent/application (0.6ms) Completed 200 OK in 196ms (Views: 115.1ms | ActiveRecord: 54.1ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1003"} Organism Load (0.4ms) 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", Thu, 29 Aug 2013 18:32:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1005"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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", Thu, 29 Aug 2013 18:32:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1007"} 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", Thu, 29 Aug 2013 18:32:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1007/coord Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1009"} Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Thu, 29 Aug 2013 18:32:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1009/coord Completed 302 Found in 6ms (ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1011"} 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", Thu, 29 Aug 2013 18:32:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1013"} 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", Thu, 29 Aug 2013 18:32:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1013/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1015"} Organism Load (1.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", Thu, 29 Aug 2013 18:32:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1017"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.7ms) 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", Thu, 29 Aug 2013 18:32:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 1.5ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1019"} 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", Thu, 29 Aug 2013 18:32:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:50 UTC +00:00]]  (0.0ms) 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::CoordsController#new as HTML Parameters: {"member_id"=>"1021"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:50 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (1.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 103) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 103) 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", Thu, 29 Aug 2013 18:32:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 103], ["updated_at", Thu, 29 Aug 2013 18:32:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 103) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 103) 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", Thu, 29 Aug 2013 18:32:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 103], ["updated_at", Thu, 29 Aug 2013 18:32:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 103) LIMIT 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" = 103) 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", Thu, 29 Aug 2013 18:32:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 103], ["updated_at", Thu, 29 Aug 2013 18:32:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 103) LIMIT 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" = 103) 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", Thu, 29 Aug 2013 18:32:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 103], ["updated_at", Thu, 29 Aug 2013 18:32:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 103) LIMIT 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" = 103) 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", Thu, 29 Aug 2013 18:32:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 103], ["updated_at", Thu, 29 Aug 2013 18:32:50 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-29 20:32:50 +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" = 103 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 138 ORDER BY to_date Adherent::Coord Load (28.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 138 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 139 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 139 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 140 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 140 LIMIT 1 Adherent::Adhesion Load (3.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 141 ORDER BY to_date Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 141 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 142 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 142 LIMIT 1 Rendered layouts/adherent/_header.html.haml (6.5ms) 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.0ms) Completed 200 OK in 136ms (Views: 91.5ms | ActiveRecord: 37.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 104) LIMIT 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" = 104) 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", Thu, 29 Aug 2013 18:32:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 104], ["updated_at", Thu, 29 Aug 2013 18:32:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 104) LIMIT 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" = 104) 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", Thu, 29 Aug 2013 18:32:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 104], ["updated_at", Thu, 29 Aug 2013 18:32:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 104) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 104) 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", Thu, 29 Aug 2013 18:32:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 104], ["updated_at", Thu, 29 Aug 2013 18:32:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 104) LIMIT 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" = 104) 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", Thu, 29 Aug 2013 18:32:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 104], ["updated_at", Thu, 29 Aug 2013 18:32:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 104) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 104) 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", Thu, 29 Aug 2013 18:32:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 104], ["updated_at", Thu, 29 Aug 2013 18:32:50 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-29 20:32:50 +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.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 104 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 143 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 143 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 144 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 144 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 145 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 145 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 146 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 146 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 147 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 147 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 29ms (Views: 22.5ms | ActiveRecord: 4.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (1.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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 105) LIMIT 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" = 105) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 105], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 105) LIMIT 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" = 105) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 105], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 105) LIMIT 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" = 105) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 105], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 105) LIMIT 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" = 105) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 105], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 105) LIMIT 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" = 105) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 105], ["updated_at", Thu, 29 Aug 2013 18:32:51 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-29 20:32:51 +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" = 105 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 148 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 148 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 149 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 149 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 150 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 150 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 151 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 151 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 152 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 152 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 31ms (Views: 24.9ms | ActiveRecord: 3.4ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 106) LIMIT 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" = 106) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 106], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 106) LIMIT 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" = 106) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 106], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 106) LIMIT 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" = 106) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 106], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 106) LIMIT 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" = 106) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 106], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 106) LIMIT 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" = 106) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 106], ["updated_at", Thu, 29 Aug 2013 18:32:51 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-29 20:32:51 +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" = 106 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 153 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 153 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 154 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 154 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 155 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 155 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 156 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 156 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 157 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 157 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.2ms) Completed 200 OK in 33ms (Views: 24.5ms | ActiveRecord: 4.3ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (26.2ms) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 153], ["office", nil], ["tel", nil], ["updated_at", Thu, 29 Aug 2013 18:32:51 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" = 153 LIMIT 1 Started GET "/adherent/members/153/coord" for 127.0.0.1 at 2013-08-29 20:32:51 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"153"} Organism Load (0.4ms) 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", "153"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 153 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 13ms (Views: 5.1ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.2ms) RELEASE 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" = 107) LIMIT 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" = 107) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 107], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 107) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 107) LIMIT 1 SQL (1.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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 107], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 107) LIMIT 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" = 107) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 107], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 107) LIMIT 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" = 107) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 107], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 107) LIMIT 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" = 107) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 107], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.0ms) 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-29 20:32:51 +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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 107 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 158 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 158 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 159 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 159 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 160 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 160 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 161 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 161 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 162 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 162 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 27ms (Views: 22.0ms | ActiveRecord: 3.1ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/158/payments" for 127.0.0.1 at 2013-08-29 20:32:51 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"158"} 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", "158"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 158 Rendered collection (0.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 28ms (Views: 23.9ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 108) LIMIT 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" = 108) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 108], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 108) LIMIT 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" = 108) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 108], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 108) LIMIT 1  (0.0ms) 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" = 108) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 108], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 108) LIMIT 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" = 108) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 108], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 108) LIMIT 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" = 108) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 108], ["updated_at", Thu, 29 Aug 2013 18:32:51 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-29 20:32:51 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.5ms) 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" = 108 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 163 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 163 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 164 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 164 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 165 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 165 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 166 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 166 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 167 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 167 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 35ms (Views: 24.6ms | ActiveRecord: 5.2ms) Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 163 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 163 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", #], ["created_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 163], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/163/adhesions" for 127.0.0.1 at 2013-08-29 20:32:51 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"163"} 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", "163"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 163 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 163  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 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 35ms (Views: 30.1ms | ActiveRecord: 1.6ms)  (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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 109) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 109) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 109], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 109) LIMIT 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" = 109) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 109], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 109) LIMIT 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" = 109) LIMIT 1 SQL (0.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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 109], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 109) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 109) LIMIT 1 SQL (9.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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 109], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 109) LIMIT 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" = 109) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 109], ["updated_at", Thu, 29 Aug 2013 18:32:51 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-29 20:32:51 +0200 Processing by Adherent::MembersController#index as HTML 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"."organism_id" = 109 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 168 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 168 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 169 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 169 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 170 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 170 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 171 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 171 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 172 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 172 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 29ms (Views: 21.8ms | ActiveRecord: 4.2ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/168/adhesions" for 127.0.0.1 at 2013-08-29 20:32:51 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"168"} 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", "168"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 168 Redirected to http://www.example.com/adherent/members/168/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET "/adherent/members/168/adhesions/new" for 127.0.0.1 at 2013-08-29 20:32:51 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"168"} Organism Load (0.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", "168"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 168 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 168 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (33.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 65ms (Views: 58.3ms | ActiveRecord: 0.8ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.0ms) RELEASE 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" = 110) LIMIT 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" = 110) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 110], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.6ms) RELEASE 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" = 110) LIMIT 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" = 110) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 110], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 110) LIMIT 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" = 110) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 110], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 110) LIMIT 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" = 110) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 110], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 110) LIMIT 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" = 110) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 110], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members" for 127.0.0.1 at 2013-08-29 20:32:51 +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" = 110 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 173 ORDER BY to_date Adherent::Coord Load (0.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 173 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 174 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 174 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 175 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 175 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 176 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 176 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 177 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 177 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 31ms (Views: 25.0ms | ActiveRecord: 3.2ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/173/edit" for 127.0.0.1 at 2013-08-29 20:32:51 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"173"} 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", "173"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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 19ms (Views: 15.9ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.7ms) BEGIN  (0.2ms) COMMIT  (0.1ms) BEGIN 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 111) LIMIT 1  (0.2ms) 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" = 111) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 111], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 111) LIMIT 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" = 111) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 111], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 111) LIMIT 1  (0.0ms) 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" = 111) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 111], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 111) LIMIT 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" = 111) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 111], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (4.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 111) LIMIT 1  (0.9ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 111) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 111], ["updated_at", Thu, 29 Aug 2013 18:32:51 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-29 20:32:51 +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" = 111 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 178 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 178 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 179 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 179 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 180 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 180 LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 181 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 181 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 182 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 182 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 29ms (Views: 22.8ms | ActiveRecord: 3.9ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/178/coord" for 127.0.0.1 at 2013-08-29 20:32:51 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"178"} 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", "178"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 178 LIMIT 1 Redirected to http://www.example.com/adherent/members/178/coord/new Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET "/adherent/members/178/coord/new" for 127.0.0.1 at 2013-08-29 20:32:51 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"178"} 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", "178"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 178 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (13.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 23ms (Views: 18.6ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 112) LIMIT 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" = 112) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 112], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 112) LIMIT 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" = 112) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 112], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 112) LIMIT 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" = 112) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 112], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.0ms) RELEASE 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" = 112) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 112) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 112], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 112) LIMIT 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" = 112) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 112], ["updated_at", Thu, 29 Aug 2013 18:32:51 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/new" for 127.0.0.1 at 2013-08-29 20:32:51 +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 (5.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 13ms (Views: 10.7ms | ActiveRecord: 0.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members" Started POST "/adherent/members" for 127.0.0.1 at 2013-08-29 20:32:51 +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.3ms) 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" = 112) 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", Thu, 29 Aug 2013 18:32:51 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 112], ["updated_at", Thu, 29 Aug 2013 18:32:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/188/coord/new Completed 302 Found in 6ms (ActiveRecord: 1.2ms) Started GET "/adherent/members/188/coord/new" for 127.0.0.1 at 2013-08-29 20:32:51 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"188"} 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", "188"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 188 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.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 15ms (Views: 11.1ms | ActiveRecord: 0.7ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"   (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1023"} 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1025"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.8ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1025/payments Completed 302 Found in 7ms (ActiveRecord: 1.5ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1027"} 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1027/payments Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1029"} 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1031"} Organism Load (0.5ms) 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 2.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1032"} 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1033", "id"=>"1034"} 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.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  (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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 120) LIMIT 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" = 120) 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 120], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 120) LIMIT 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" = 120) 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 120], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 120) LIMIT 1  (0.2ms) 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" = 120) 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 120], ["updated_at", Thu, 29 Aug 2013 18:32:52 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" = 189 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 189 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", #], ["created_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 189], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/189/payments/new" for 127.0.0.1 at 2013-08-29 20:32:52 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"189"} 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", "189"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 189 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 81 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 81 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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 23ms (Views: 16.8ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/189/payments" for 127.0.0.1 at 2013-08-29 20:32:52 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"189"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "189"]]  (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", #], ["created_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 189], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]] Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 189 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 189 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 81 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 81 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", 81], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["payment_id", 35], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/189/payments Completed 302 Found in 14ms (ActiveRecord: 3.6ms) Started GET "/adherent/members/189/payments" for 127.0.0.1 at 2013-08-29 20:32:52 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"189"} 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", "189"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 189 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 81 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 189 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 189 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (21.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 32ms (Views: 26.4ms | ActiveRecord: 2.6ms) Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 189 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 81  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 121) LIMIT 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" = 121) 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 121], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 121) LIMIT 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" = 121) 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 121], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 121) LIMIT 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" = 121) 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 121], ["updated_at", Thu, 29 Aug 2013 18:32:52 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" = 192 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 192 ORDER BY to_date DESC LIMIT 1  (1.5ms) 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", #], ["created_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 192], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/192/payments/new" for 127.0.0.1 at 2013-08-29 20:32:52 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"192"} Organism Load (3.9ms) 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", "192"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 192 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 82 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 82 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (9.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: 12.3ms | ActiveRecord: 4.8ms) Started POST "/adherent/members/192/payments" for 127.0.0.1 at 2013-08-29 20:32:52 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"192"} Organism Load (0.9ms) 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", "192"]]  (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", #], ["created_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 192], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 192 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 192 ORDER BY to_date  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 82 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 82 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", 82], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["payment_id", 36], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/192/payments Completed 302 Found in 13ms (ActiveRecord: 3.1ms) Started GET "/adherent/members/192/payments" for 127.0.0.1 at 2013-08-29 20:32:52 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"192"} 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", "192"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 192 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 82 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 192 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 192 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 21ms (Views: 16.1ms | ActiveRecord: 2.5ms) Adherent::Adhesion Load (1.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 192 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 82  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 82  (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.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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 122) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 122) 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 122], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 122) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 122) 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 122], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 122) LIMIT 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" = 122) 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 122], ["updated_at", Thu, 29 Aug 2013 18:32:52 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 195 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 195 ORDER BY to_date DESC LIMIT 1  (0.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", #], ["created_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 195], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/195/payments/new" for 127.0.0.1 at 2013-08-29 20:32:52 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"195"} 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", "195"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 195 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 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 14ms (Views: 8.5ms | ActiveRecord: 0.9ms) Started POST "/adherent/members/195/payments" for 127.0.0.1 at 2013-08-29 20:32:52 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"195"} 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", "195"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 195], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]] Adherent::Member Load (1.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 195 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 195 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 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", 83], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["payment_id", 37], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/195/payments Completed 302 Found in 67ms (ActiveRecord: 4.4ms) Started GET "/adherent/members/195/payments" for 127.0.0.1 at 2013-08-29 20:32:52 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"195"} 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", "195"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 195 Adherent::Reglement Load (0.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 83 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 195 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 195 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (10.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: 13.3ms | ActiveRecord: 2.9ms) Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 195 ORDER BY to_date  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 123) LIMIT 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" = 123) 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 123], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 123) LIMIT 1  (0.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" = 123) 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 123], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 123) LIMIT 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" = 123) 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 123], ["updated_at", Thu, 29 Aug 2013 18:32:52 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" = 198 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 198 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", #], ["created_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 198], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/198/payments/new" for 127.0.0.1 at 2013-08-29 20:32:52 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"198"} Organism Load (0.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", "198"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 198 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 84 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 84 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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.2ms) Completed 200 OK in 20ms (Views: 10.0ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/198/payments" for 127.0.0.1 at 2013-08-29 20:32:52 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"198"} 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", "198"]]  (0.2ms) 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", #], ["created_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 198], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 198 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 198 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 84 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 84 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", 84], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["payment_id", 38], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/198/payments Completed 302 Found in 15ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/198/payments" for 127.0.0.1 at 2013-08-29 20:32:52 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"198"} Organism Load (0.8ms) 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", "198"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 198 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 84 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 198 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 198 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (10.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 18ms (Views: 13.4ms | ActiveRecord: 2.7ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 198 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (1.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38  (0.4ms) 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 124) LIMIT 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" = 124) 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 124], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 124) LIMIT 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" = 124) 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 124], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 124) LIMIT 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" = 124) 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 124], ["updated_at", Thu, 29 Aug 2013 18:32:52 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" = 201 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 201 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", #], ["created_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 201], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/201/payments/new" for 127.0.0.1 at 2013-08-29 20:32:52 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"201"} 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", "201"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 201 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 85 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 85 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.2ms) 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 16ms (Views: 8.7ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/201/payments" for 127.0.0.1 at 2013-08-29 20:32:52 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"201"} 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", "201"]]  (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", #], ["created_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 201], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 201 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 201 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 85 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 85 SQL (15.6ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 85], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["payment_id", 39], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/201/payments Completed 302 Found in 28ms (ActiveRecord: 17.5ms) Started GET "/adherent/members/201/payments" for 127.0.0.1 at 2013-08-29 20:32:52 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"201"} 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", "201"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 201 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 85 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 201 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 201 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (10.4ms) 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: 14.0ms | ActiveRecord: 2.3ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 201 ORDER BY to_date  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 85  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 125) LIMIT 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" = 125) 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 125], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 125) LIMIT 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" = 125) 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 125], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 125) LIMIT 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" = 125) 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 125], ["updated_at", Thu, 29 Aug 2013 18:32:52 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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 204 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 204 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", #], ["created_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 204], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements" Started GET "/adherent/members/204/payments/new" for 127.0.0.1 at 2013-08-29 20:32:52 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"204"} 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", "204"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 204 ORDER BY to_date  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 86 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 86 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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 17ms (Views: 9.3ms | ActiveRecord: 1.6ms) Started POST "/adherent/members/204/payments" for 127.0.0.1 at 2013-08-29 20:32:52 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"204"} 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", "204"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 204], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 204 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 204 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 86 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 86 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", 86], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["payment_id", 40], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/204/payments Completed 302 Found in 12ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/204/payments" for 127.0.0.1 at 2013-08-29 20:32:52 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"204"} 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", "204"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 204 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 40 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 86 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 204 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 40  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 40 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 40 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 40 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 204 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 17ms (Views: 12.4ms | ActiveRecord: 2.5ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 126) LIMIT 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" = 126) 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 126], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 126) LIMIT 1  (0.5ms) 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" = 126) 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 126], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 126) LIMIT 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" = 126) 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 126], ["updated_at", Thu, 29 Aug 2013 18:32:52 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" = 207 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 207 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", #], ["created_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 207], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 207 Started GET "/adherent/members/207/payments/new" for 127.0.0.1 at 2013-08-29 20:32:52 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"207"} 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", "207"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 207 ORDER BY to_date  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 87 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 87 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.2ms) 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 17ms (Views: 9.2ms | ActiveRecord: 0.9ms) Started POST "/adherent/members/207/payments" for 127.0.0.1 at 2013-08-29 20:32:52 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"207"} 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", "207"]]  (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", #], ["created_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 207], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 207 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 207 ORDER BY to_date  (1.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 87 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 87 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", 87], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["payment_id", 41], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/207/payments Completed 302 Found in 15ms (ActiveRecord: 3.6ms) Started GET "/adherent/members/207/payments" for 127.0.0.1 at 2013-08-29 20:32:52 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"207"} 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", "207"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 207 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 41 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 87 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 207 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 41  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 41 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 41 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 41 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 207 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (8.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: 13.5ms | ActiveRecord: 2.2ms)  (0.6ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 207  (0.0ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 127) LIMIT 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" = 127) 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 127], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.2ms) RELEASE 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" = 127) LIMIT 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" = 127) 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 127], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 127) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 127) 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", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 127], ["updated_at", Thu, 29 Aug 2013 18:32:52 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" = 210 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 210 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", #], ["created_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 210], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/210/payments/new" for 127.0.0.1 at 2013-08-29 20:32:52 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"210"} Organism Load (1.7ms) 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", "210"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 210 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 88 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 88 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 17ms (Views: 8.4ms | ActiveRecord: 2.6ms) Started POST "/adherent/members/210/payments" for 127.0.0.1 at 2013-08-29 20:32:53 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"210"} 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", "210"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 210], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 210 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 210 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 88 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 88 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", 88], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["payment_id", 42], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/210/payments Completed 302 Found in 13ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/210/payments" for 127.0.0.1 at 2013-08-29 20:32:53 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"210"} 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", "210"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 210 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 88 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 210 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42 Adherent::Reglement Load (0.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 210 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 18ms (Views: 13.4ms | ActiveRecord: 2.1ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 210 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 211 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 211 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", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 211], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:53 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" = 212 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 212 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", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 212], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/42/reglements/new" for 127.0.0.1 at 2013-08-29 20:32:53 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"42"} 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", "42"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 210 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 88  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 89  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 90 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 211 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 89 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 212 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 90 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (13.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 32ms (Views: 21.3ms | ActiveRecord: 3.4ms)  (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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE 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" = 128) LIMIT 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" = 128) 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", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 128], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE 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" = 128) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 128) 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", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 128], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE 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" = 128) LIMIT 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" = 128) 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", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 128], ["updated_at", Thu, 29 Aug 2013 18:32:53 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" = 213 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 213 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", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 213], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/213/payments/new" for 127.0.0.1 at 2013-08-29 20:32:53 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"213"} Organism Load (0.3ms) 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", "213"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 213 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 91 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 91 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.0ms) Completed 200 OK in 16ms (Views: 8.6ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/213/payments" for 127.0.0.1 at 2013-08-29 20:32:53 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"213"} 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", "213"]]  (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", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 213], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 213 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 213 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 91 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 91 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", 91], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["payment_id", 43], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/213/payments Completed 302 Found in 12ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/213/payments" for 127.0.0.1 at 2013-08-29 20:32:53 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"213"} 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", "213"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 213 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 91 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 213 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 213 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.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 16ms (Views: 12.1ms | ActiveRecord: 2.2ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 213 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 214 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 214 ORDER BY to_date DESC LIMIT 1  (0.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", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 214], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:53 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" = 215 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 215 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", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 215], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/43/reglements/new" for 127.0.0.1 at 2013-08-29 20:32:53 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"43"} Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.9ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "43"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 213 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 91  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 93 Adherent::Reglement Load (1.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43 Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 214 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 215 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 93 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (10.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 29ms (Views: 16.8ms | ActiveRecord: 5.2ms)  (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 (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE 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" = 129) LIMIT 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" = 129) 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", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 129], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE 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" = 129) LIMIT 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" = 129) 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", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 129], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE 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" = 129) LIMIT 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" = 129) 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", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 129], ["updated_at", Thu, 29 Aug 2013 18:32:53 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" = 216 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 216 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", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 216], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/216/payments/new" for 127.0.0.1 at 2013-08-29 20:32:53 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"216"} 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", "216"]] Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 216 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 94 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 94 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 17ms (Views: 9.2ms | ActiveRecord: 2.3ms) Started POST "/adherent/members/216/payments" for 127.0.0.1 at 2013-08-29 20:32:53 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"216"} 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", "216"]]  (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", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 216], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 216 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 216 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 94 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 94 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", 94], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["payment_id", 44], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/216/payments Completed 302 Found in 12ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/216/payments" for 127.0.0.1 at 2013-08-29 20:32:53 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"216"} 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", "216"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 216 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 44 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 94 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 216 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 44  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 44 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 44 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 44 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 216 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 17ms (Views: 13.1ms | ActiveRecord: 2.3ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 216 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 217 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 217 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", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 217], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:53 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" = 218 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 218 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", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 218], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/44/reglements/new" for 127.0.0.1 at 2013-08-29 20:32:53 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"44"} 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", "44"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 216 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 44  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 44 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" = 94  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 44 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 44 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 217 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 218 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 22ms (Views: 13.5ms | ActiveRecord: 2.8ms) Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 216 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 94 Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 216 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 44  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 44  (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.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE 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" = 130) LIMIT 1  (0.0ms) 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" = 130) 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", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 130], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE 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" = 130) LIMIT 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" = 130) 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", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 130], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE 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" = 130) LIMIT 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" = 130) 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", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 130], ["updated_at", Thu, 29 Aug 2013 18:32:53 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" = 219 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 219 ORDER BY to_date DESC LIMIT 1  (1.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 219], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/219/payments/new" for 127.0.0.1 at 2013-08-29 20:32:53 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"219"} 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", "219"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 219 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 97 CACHE (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 97 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.0ms) 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 18ms (Views: 9.9ms | ActiveRecord: 1.6ms) Started POST "/adherent/members/219/payments" for 127.0.0.1 at 2013-08-29 20:32:53 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"219"} 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", "219"]]  (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", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 219], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]] Adherent::Member Load (1.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 219 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 219 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 97 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 97 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", 97], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["payment_id", 45], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/219/payments Completed 302 Found in 13ms (ActiveRecord: 3.3ms) Started GET "/adherent/members/219/payments" for 127.0.0.1 at 2013-08-29 20:32:53 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"219"} 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", "219"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 219 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 45 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 97 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 219 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 45  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 45 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 45 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 45 CACHE (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 219 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (10.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 17ms (Views: 13.7ms | ActiveRecord: 2.3ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 219 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 220 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 220 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", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 220], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:53 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" = 221 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 221 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", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 221], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/45/reglements/new" for 127.0.0.1 at 2013-08-29 20:32:53 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"45"} 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", "45"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 219 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 45  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 45 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" = 97  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 98  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 99 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 45 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 45 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 220 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 98 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 221 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 99 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.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 21ms (Views: 12.0ms | ActiveRecord: 3.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE 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" = 131) LIMIT 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" = 131) 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", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 131], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 131) LIMIT 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" = 131) 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", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 131], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE 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" = 131) LIMIT 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" = 131) 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", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 131], ["updated_at", Thu, 29 Aug 2013 18:32:53 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" = 222 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 222 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", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 222], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/222/payments/new" for 127.0.0.1 at 2013-08-29 20:32:53 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"222"} 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", "222"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 222 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 100 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 100 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 17ms (Views: 9.6ms | ActiveRecord: 1.0ms) Started POST "/adherent/members/222/payments" for 127.0.0.1 at 2013-08-29 20:32:53 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"222"} 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", "222"]]  (0.6ms) 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", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 222], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 222 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 222 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 100 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 100 SQL (8.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 100], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["payment_id", 46], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/222/payments Completed 302 Found in 21ms (ActiveRecord: 10.9ms) Started GET "/adherent/members/222/payments" for 127.0.0.1 at 2013-08-29 20:32:53 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"222"} 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", "222"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 222 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 100 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 222 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 222 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.0ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 17ms (Views: 13.1ms | ActiveRecord: 2.2ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 222 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 223 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 223 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", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 223], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:53 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" = 224 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 224 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", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 224], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/46/reglements/new" for 127.0.0.1 at 2013-08-29 20:32:53 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"46"} 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", "46"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 222 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46 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" = 100  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 101  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 102 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 223 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 101 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 224 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 102 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.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 22ms (Views: 11.9ms | ActiveRecord: 3.2ms) Started POST "/adherent/payments/46/reglements" for 127.0.0.1 at 2013-08-29 20:32:53 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"101"}, "commit"=>"Enregistrer", "payment_id"=>"46"} 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", "46"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "101"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 101  (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", 101], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["payment_id", 46], ["updated_at", Thu, 29 Aug 2013 18:32:53 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" = 222 LIMIT 1 Redirected to http://www.example.com/adherent/members/222/payments Completed 302 Found in 10ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/222/payments" for 127.0.0.1 at 2013-08-29 20:32:53 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"222"} 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", "222"]] Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 222 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 100 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 222 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 101 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 223 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 222 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (10.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 19ms (Views: 14.0ms | ActiveRecord: 3.3ms)  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.1ms) 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", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE 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" = 132) LIMIT 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" = 132) 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", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 132], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE 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" = 132) LIMIT 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" = 132) 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", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 132], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE 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" = 132) LIMIT 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" = 132) 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", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 132], ["updated_at", Thu, 29 Aug 2013 18:32:53 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" = 225 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 225 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", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 225], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/225/payments/new" for 127.0.0.1 at 2013-08-29 20:32:53 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"225"} 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", "225"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 225 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 103 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 103 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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 21ms (Views: 10.0ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/225/payments" for 127.0.0.1 at 2013-08-29 20:32:53 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"225"} 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", "225"]]  (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", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 225], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 225 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 225 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 103 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 103 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", 103], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["payment_id", 47], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/225/payments Completed 302 Found in 14ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/225/payments" for 127.0.0.1 at 2013-08-29 20:32:53 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"225"} 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", "225"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 225 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 103 LIMIT 1 Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 225 LIMIT 1 Adherent::Reglement Load (1.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 Adherent::Reglement Load (4.8ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 225 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (20.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 28ms (Views: 17.4ms | ActiveRecord: 9.0ms) Adherent::Payment Load (6.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 225 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 226 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 226 ORDER BY to_date DESC LIMIT 1  (0.8ms) 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", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 226], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:53 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" = 227 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 227 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", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 227], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/47/reglements/new" for 127.0.0.1 at 2013-08-29 20:32:53 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"47"} 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", "47"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 225 LIMIT 1 Adherent::Reglement Load (0.8ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (1.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 103  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 104  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 105 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 Adherent::Member Load (3.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 226 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 104 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 227 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 105 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (13.3ms) 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 28ms (Views: 13.1ms | ActiveRecord: 8.1ms) Started POST "/adherent/payments/47/reglements" for 127.0.0.1 at 2013-08-29 20:32:53 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"104"}, "commit"=>"Enregistrer", "payment_id"=>"47"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.0ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "47"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "104"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 104  (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", 104], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["payment_id", 47], ["updated_at", Thu, 29 Aug 2013 18:32:53 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" = 225 LIMIT 1 Redirected to http://www.example.com/adherent/members/225/payments Completed 302 Found in 9ms (ActiveRecord: 2.0ms) Started GET "/adherent/members/225/payments" for 127.0.0.1 at 2013-08-29 20:32:53 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"225"} 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", "225"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 225 Adherent::Reglement Load (0.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 103 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 225 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 104 LIMIT 1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 226 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 225 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (13.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 20ms (Views: 15.8ms | ActiveRecord: 2.8ms) Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 226 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 104  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 104  (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 (0.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE 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" = 133) LIMIT 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" = 133) LIMIT 1 SQL (1.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", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 133], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE 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" = 133) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 133) 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", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 133], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE 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" = 133) LIMIT 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" = 133) 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", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 133], ["updated_at", Thu, 29 Aug 2013 18:32:53 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" = 228 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 228 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", #], ["created_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 228], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/228/payments/new" for 127.0.0.1 at 2013-08-29 20:32:53 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"228"} 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", "228"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 228 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 106 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 106 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.3ms) Rendered layouts/adherent/_header.html.haml (0.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 18ms (Views: 11.4ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/228/payments" for 127.0.0.1 at 2013-08-29 20:32:54 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"228"} 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", "228"]]  (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", #], ["created_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 228], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 228 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 228 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 106 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 106 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", 106], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["payment_id", 48], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/228/payments Completed 302 Found in 13ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/228/payments" for 127.0.0.1 at 2013-08-29 20:32:54 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"228"} 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", "228"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 228 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 48 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 106 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 228 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 48  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 48 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 48 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 48 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 228 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (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.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: 2.5ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 228 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 229 Adherent::Adhesion Load (2.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 229 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 229], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:54 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" = 230 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 230 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", #], ["created_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 230], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/48/reglements/new" for 127.0.0.1 at 2013-08-29 20:32:54 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"48"} 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", "48"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 228 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 48  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 48 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" = 106  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 107  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 108 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 48 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 48 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 229 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 107 Adherent::Member Load (1.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 230 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 108 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 24ms (Views: 12.5ms | ActiveRecord: 4.3ms) Started POST "/adherent/payments/48/reglements" for 127.0.0.1 at 2013-08-29 20:32:54 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"107"}, "commit"=>"Enregistrer", "payment_id"=>"48"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "48"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "107"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 48  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 48  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 107  (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", 107], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["payment_id", 48], ["updated_at", Thu, 29 Aug 2013 18:32:54 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" = 228 LIMIT 1 Redirected to http://www.example.com/adherent/members/228/payments Completed 302 Found in 10ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/228/payments" for 127.0.0.1 at 2013-08-29 20:32:54 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"228"} 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", "228"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 228 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 48 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 106 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 228 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 107 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 229 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 48  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 48 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 48 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 48 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 228 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (13.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 21ms (Views: 16.1ms | ActiveRecord: 3.0ms) Adherent::Reglement Load (0.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" ORDER BY "adherent_reglements"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 107 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 229 LIMIT 1  (0.0ms) 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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.1ms) RELEASE 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" = 134) LIMIT 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" = 134) 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", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 134], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.1ms) RELEASE 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" = 134) LIMIT 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" = 134) 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", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 134], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.1ms) RELEASE 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" = 134) LIMIT 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" = 134) 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", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 134], ["updated_at", Thu, 29 Aug 2013 18:32:54 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" = 231 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 231 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", #], ["created_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 231], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/231/payments/new" for 127.0.0.1 at 2013-08-29 20:32:54 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"231"} 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", "231"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 231 ORDER BY to_date  (1.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 109 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 109 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.0ms) Completed 200 OK in 18ms (Views: 8.3ms | ActiveRecord: 2.9ms) Started POST "/adherent/members/231/payments" for 127.0.0.1 at 2013-08-29 20:32:54 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"231"} 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", "231"]]  (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", #], ["created_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 231], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 231 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 231 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 109 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 109 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", 109], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["payment_id", 49], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/231/payments Completed 302 Found in 14ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/231/payments" for 127.0.0.1 at 2013-08-29 20:32:54 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"231"} 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", "231"]] Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 231 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 49 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 109 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 231 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 49  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 49 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 49 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 49 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 231 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (14.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 22ms (Views: 17.3ms | ActiveRecord: 3.2ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 231 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 232 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 232 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", #], ["created_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 232], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 233 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 233 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", #], ["created_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 233], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/49/reglements/new" for 127.0.0.1 at 2013-08-29 20:32:54 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"49"} 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", "49"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 231 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 49  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 49 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" = 109  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 110  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 111 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 49 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 49 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 232 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 110 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 233 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 111 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.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.0ms) Completed 200 OK in 24ms (Views: 11.8ms | ActiveRecord: 3.1ms) Started POST "/adherent/payments/49/reglements" for 127.0.0.1 at 2013-08-29 20:32:54 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"110"}, "commit"=>"Enregistrer", "payment_id"=>"49"} 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", "49"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "110"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 49  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 49  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 110  (0.0ms) 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", 110], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["payment_id", 49], ["updated_at", Thu, 29 Aug 2013 18:32:54 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" = 231 LIMIT 1 Redirected to http://www.example.com/adherent/members/231/payments Completed 302 Found in 9ms (ActiveRecord: 2.0ms) Started GET "/adherent/members/231/payments" for 127.0.0.1 at 2013-08-29 20:32:54 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"231"} 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", "231"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 231 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 49 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 109 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 231 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 110 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 232 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 49  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 49 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 49 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 49 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 231 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (10.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.6ms) Completed 200 OK in 18ms (Views: 14.4ms | ActiveRecord: 2.6ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 109 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 231 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.9ms) 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", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.1ms) RELEASE 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" = 135) LIMIT 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" = 135) 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", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 135], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.1ms) RELEASE 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" = 135) LIMIT 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" = 135) 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", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 135], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.1ms) RELEASE 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" = 135) LIMIT 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" = 135) 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", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 135], ["updated_at", Thu, 29 Aug 2013 18:32:54 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" = 234 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 234 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", #], ["created_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 234], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/234/payments/new" for 127.0.0.1 at 2013-08-29 20:32:54 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"234"} 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", "234"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 234 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 112 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 112 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: 9.5ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/234/payments" for 127.0.0.1 at 2013-08-29 20:32:54 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"234"} 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", "234"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 234], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 234 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 234 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 112 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 112 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", 112], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["payment_id", 50], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/234/payments Completed 302 Found in 12ms (ActiveRecord: 1.9ms) Started GET "/adherent/members/234/payments" for 127.0.0.1 at 2013-08-29 20:32:54 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"234"} 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", "234"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 234 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 50 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 112 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 234 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 50  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 50 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 50 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 50 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 234 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 17ms (Views: 12.3ms | ActiveRecord: 2.4ms) Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 234 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 235 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 235 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", #], ["created_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 235], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:54 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" = 236 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 236 ORDER BY to_date DESC LIMIT 1  (0.3ms) 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", #], ["created_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 236], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/50/reglements/new" for 127.0.0.1 at 2013-08-29 20:32:54 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"50"} 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", "50"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 234 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 50  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 50 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 112  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 113  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 114 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 50 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 50 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 235 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 113 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 236 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 114 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 22ms (Views: 13.0ms | ActiveRecord: 2.8ms) Started POST "/adherent/payments/50/reglements" for 127.0.0.1 at 2013-08-29 20:32:54 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"113"}, "commit"=>"Enregistrer", "payment_id"=>"50"} 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", "50"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "113"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 50  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 50  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 113  (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", 113], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["payment_id", 50], ["updated_at", Thu, 29 Aug 2013 18:32:54 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" = 234 LIMIT 1 Redirected to http://www.example.com/adherent/members/234/payments Completed 302 Found in 10ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/234/payments" for 127.0.0.1 at 2013-08-29 20:32:54 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"234"} 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", "234"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 234 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 50 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 112 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 234 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 113 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 235 LIMIT 1 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 50  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 50 Adherent::Reglement Load (0.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 50 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 50 CACHE (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 234 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (11.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 19ms (Views: 14.7ms | ActiveRecord: 3.3ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements"   (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1036"} 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", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:54 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: 0.9ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1039"} 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", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1042"} 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", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1041/payments Completed 302 Found in 3ms (ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"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", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 7ms (ActiveRecord: 1.0ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1044"} Organism Load (0.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 6ms (ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} 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", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.9ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.0ms) 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", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.9ms)  (0.1ms) 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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:54 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" = 'A001' AND "adherent_members"."organism_id" = 143) 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", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 143], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/237/coord/new Completed 302 Found in 10ms (ActiveRecord: 1.5ms)  (0.1ms) 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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.4ms) 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", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:54 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" = 'A001' AND "adherent_members"."organism_id" = 145) 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", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 145], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/238/coord/new Completed 302 Found in 9ms (ActiveRecord: 3.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001", "birthdate"=>"06/06/1955"}} Organism Load (0.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.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", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:54 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" = 'A001' AND "adherent_members"."organism_id" = 146) 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", Mon, 06 Jun 1955], ["created_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 146], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/239/coord/new Completed 302 Found in 11ms (ActiveRecord: 2.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} 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", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:54 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::MembersController#edit as HTML Parameters: {"id"=>"998"} Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.0ms) 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", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 2.2ms)  (0.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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (1.6ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1049"} Organism Load (0.1ms) 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", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1050"} 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", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1050 Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1051"} 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", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1051 Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1052"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1052 Completed 302 Found in 5ms (ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (1.0ms) BEGIN Processing by Adherent::MembersController#index as HTML 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", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 154 Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 1.2ms)  (0.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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' 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", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 240], ["office", nil], ["tel", nil], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 240 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) SAVEPOINT active_record_1 SQL (27.6ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 7]] SQL (0.1ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 240]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:54 UTC +00:00]]  (0.1ms) RELEASE 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" = 156) LIMIT 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" = 156) 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", Thu, 29 Aug 2013 18:32:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 156], ["updated_at", Thu, 29 Aug 2013 18:32:54 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/241/coord/new" for 127.0.0.1 at 2013-08-29 20:32:54 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"241"} 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", "241"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 241 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (9.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 19ms (Views: 13.4ms | ActiveRecord: 0.8ms) Started POST "/adherent/members/241/coord" for 127.0.0.1 at 2013-08-29 20:32:55 +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"=>"241"} 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", "241"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 241 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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 241], ["office", ""], ["tel", ""], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/241/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 1.7ms) Started GET "/adherent/members/241/adhesions/new" for 127.0.0.1 at 2013-08-29 20:32:55 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"241"} Organism Load (0.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", "241"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 241 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 241 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 13ms (Views: 8.1ms | ActiveRecord: 1.0ms) Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 241 LIMIT 1  (0.1ms) 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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE 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" = 157) LIMIT 1  (0.2ms) 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" = 157) 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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 157], ["updated_at", Thu, 29 Aug 2013 18:32:55 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/242/coord/new" for 127.0.0.1 at 2013-08-29 20:32:55 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"242"} 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", "242"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 242 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (9.4ms) Rendered layouts/adherent/_header.html.haml (0.3ms) 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.7ms | ActiveRecord: 0.8ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords" Started POST "/adherent/members/242/coord" for 127.0.0.1 at 2013-08-29 20:32:55 +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"=>"242"} 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", "242"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 242 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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 242], ["office", ""], ["tel", ""], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/242/adhesions/new Completed 302 Found in 6ms (ActiveRecord: 1.2ms) Started GET "/adherent/members/242/adhesions/new" for 127.0.0.1 at 2013-08-29 20:32:55 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"242"} 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", "242"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 242 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 242 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 14ms (Views: 9.0ms | ActiveRecord: 0.9ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_coords"   (0.2ms) 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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE 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" = 158) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 158) 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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 158], ["updated_at", Thu, 29 Aug 2013 18:32:55 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/243/coord/new" for 127.0.0.1 at 2013-08-29 20:32:55 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"243"} 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", "243"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 243 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.9ms) 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 19ms (Views: 14.5ms | ActiveRecord: 1.2ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.9ms) 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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE 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" = 159) LIMIT 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" = 159) 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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 159], ["updated_at", Thu, 29 Aug 2013 18:32:55 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/244/coord/new" for 127.0.0.1 at 2013-08-29 20:32:55 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"244"} 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", "244"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 244 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (11.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 18ms (Views: 14.3ms | ActiveRecord: 0.9ms) Started POST "/adherent/members/244/coord" for 127.0.0.1 at 2013-08-29 20:32:55 +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"=>"244"} 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", "244"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 244 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", ""], ["created_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 244], ["office", ""], ["tel", ""], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/244/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 1.3ms) Started GET "/adherent/members/244/adhesions/new" for 127.0.0.1 at 2013-08-29 20:32:55 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"244"} 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", "244"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 244 Adherent::Adhesion Load (4.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 244 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 68ms (Views: 9.7ms | ActiveRecord: 4.6ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.3ms)  (9.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1056"} 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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1056/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1057"} 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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1058", "id"=>"1"} Organism Load (0.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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.6ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1060", "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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1060/adhesions Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1062", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (2.7ms) 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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1062/adhesions Completed 302 Found in 7ms (ActiveRecord: 3.6ms)  (4.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1064", "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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1068"} 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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1068/adhesions Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1070"} 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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1070/adhesions Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1072", "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.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1074", "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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.7ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1076"} 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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:55 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" = 115  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 115], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (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", #], ["created_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:55 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" = 116  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 116], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 116  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 116  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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", #], ["created_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:55 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" = 117  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 117], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 117  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AllpaymentsController#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.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" INNER JOIN "adherent_members" ON "adherent_payments"."member_id" = "adherent_members"."id" WHERE "adherent_members"."organism_id" = 173 Completed 200 OK in 32ms (Views: 2.6ms | ActiveRecord: 2.6ms)  (0.2ms) 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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE 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" = 174) LIMIT 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" = 174) 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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 174], ["updated_at", Thu, 29 Aug 2013 18:32:55 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/245/adhesions/new" for 127.0.0.1 at 2013-08-29 20:32:55 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"245"} 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", "245"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 245 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 245 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 14ms (Views: 8.6ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE 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" = 175) LIMIT 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" = 175) 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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 175], ["updated_at", Thu, 29 Aug 2013 18:32:55 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/246/adhesions/new" for 127.0.0.1 at 2013-08-29 20:32:55 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"246"} 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", "246"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 246 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 246 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (6.3ms) 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 16ms (Views: 11.4ms | ActiveRecord: 1.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 246 Started POST "/adherent/members/246/adhesions" for 127.0.0.1 at 2013-08-29 20:32:55 +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"=>"246"} Organism Load (0.9ms) 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", "246"]]  (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", #], ["created_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 246], ["to_date", Thu, 31 Jul 2014], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/246/adhesions Completed 302 Found in 7ms (ActiveRecord: 1.6ms) Started GET "/adherent/members/246/adhesions" for 127.0.0.1 at 2013-08-29 20:32:55 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"246"} 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", "246"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 246 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 246  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 118 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 118 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 11ms (Views: 7.5ms | ActiveRecord: 1.7ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 246  (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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE 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" = 176) LIMIT 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" = 176) 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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 176], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members"   (0.1ms) 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", #], ["created_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 247], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/247/adhesions" for 127.0.0.1 at 2013-08-29 20:32:55 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"247"} 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", "247"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 247 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 247  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 119 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 119 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: 10.0ms | ActiveRecord: 1.5ms)  (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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE 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" = 177) LIMIT 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" = 177) 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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 177], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members"  (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", #], ["created_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 248], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/248/adhesions" for 127.0.0.1 at 2013-08-29 20:32:55 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"248"} 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", "248"]]  (0.6ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 248 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 248  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 120 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 120 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 73ms (Views: 62.2ms | ActiveRecord: 1.9ms) Started GET "/adherent/members/248/adhesions/120/edit" for 127.0.0.1 at 2013-08-29 20:32:55 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"248", "id"=>"120"} 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", "248"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 248 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "120"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 15ms (Views: 11.6ms | ActiveRecord: 1.0ms)  (0.2ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE 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" = 178) LIMIT 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" = 178) 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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 178], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (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", #], ["created_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 249], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/249/adhesions" for 127.0.0.1 at 2013-08-29 20:32:55 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"249"} 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", "249"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 249 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 249  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 121 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 121 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.4ms) Completed 200 OK in 14ms (Views: 10.1ms | ActiveRecord: 1.5ms) Started GET "/adherent/members/249/payments/new" for 127.0.0.1 at 2013-08-29 20:32:55 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"249"} 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", "249"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 249 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 121 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 121 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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 15ms (Views: 7.9ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.3ms) BEGIN 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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE 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" = 179) LIMIT 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" = 179) 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", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 179], ["updated_at", Thu, 29 Aug 2013 18:32:55 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" = 250 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 250 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", #], ["created_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 250], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/250/payments/new" for 127.0.0.1 at 2013-08-29 20:32:55 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"250"} 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", "250"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 250 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 122 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.3ms) 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: 10.2ms | ActiveRecord: 1.0ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:56 UTC +00:00]]  (0.1ms) RELEASE 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" = 180) LIMIT 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" = 180) 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", Thu, 29 Aug 2013 18:32:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 180], ["updated_at", Thu, 29 Aug 2013 18:32:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 251 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 251 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", #], ["created_at", Thu, 29 Aug 2013 18:32:56 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 251], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/251/payments/new" for 127.0.0.1 at 2013-08-29 20:32:56 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"251"} 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", "251"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 251 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 123 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (7.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 16ms (Views: 11.2ms | ActiveRecord: 1.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 251 Started POST "/adherent/members/251/payments" for 127.0.0.1 at 2013-08-29 20:32:56 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"251"} 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", "251"]]  (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", #], ["created_at", Thu, 29 Aug 2013 18:32:56 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 251], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:32:56 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 251 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 251 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 123  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/251/payments Completed 302 Found in 10ms (ActiveRecord: 1.8ms) Started GET "/adherent/members/251/payments" for 127.0.0.1 at 2013-08-29 20:32:56 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"251"} 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", "251"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 251 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 51 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 51  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 51 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 51 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 51 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 251 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (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 13ms (Views: 9.9ms | ActiveRecord: 2.0ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 251  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:56 UTC +00:00]]  (0.1ms) RELEASE 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" = 181) LIMIT 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" = 181) 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", Thu, 29 Aug 2013 18:32:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 181], ["updated_at", Thu, 29 Aug 2013 18:32:56 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" = 252 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 252 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", #], ["created_at", Thu, 29 Aug 2013 18:32:56 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 252], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Thu, 29 Aug 2013 18:32:56 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 252], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:32:56 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 252 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 252 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 124  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/252/payments" for 127.0.0.1 at 2013-08-29 20:32:56 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"252"} 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"."id" = $1 LIMIT 1 [["id", "252"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 252 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 52 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 52  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 52 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 52 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 52 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 252 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (7.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 18ms (Views: 13.4ms | ActiveRecord: 2.7ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:32:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:32:56 UTC +00:00]]  (0.2ms) RELEASE 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" = 182) LIMIT 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" = 182) 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", Thu, 29 Aug 2013 18:32:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 182], ["updated_at", Thu, 29 Aug 2013 18:32:56 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" = 253 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 253 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (20.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", #], ["created_at", Thu, 29 Aug 2013 18:32:56 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 253], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:56 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", #], ["created_at", Thu, 29 Aug 2013 18:32:56 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 253], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:32:56 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 253 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 253 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 125  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/253/payments" for 127.0.0.1 at 2013-08-29 20:32:56 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"253"} 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", "253"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 253 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 253 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.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 13ms (Views: 9.8ms | ActiveRecord: 1.9ms) Started GET "/adherent/payments/53/reglements/new" for 127.0.0.1 at 2013-08-29 20:32:56 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"53"} 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", "53"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 253 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53 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" = 125 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 53 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (4.8ms) 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 17ms (Views: 10.3ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN 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  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.2ms) 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.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) 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.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", Tue, 06 Jun 1944], ["created_at", Thu, 29 Aug 2013 18:32:56 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 18:32:56 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) 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.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", Thu, 29 Aug 2013 18:32:56 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 18:32:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.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", Thu, 29 Aug 2013 18:32:56 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 18:32:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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) 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.0ms) 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.0ms) 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.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Thu, 29 Aug 2013 18:32:56 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 18:32:56 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" = 257 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 257 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", #], ["created_at", Thu, 29 Aug 2013 18:32:56 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 257], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:56 UTC +00:00]]  (1.7ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 257 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 257 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) 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", Thu, 29 Aug 2013 18:32:56 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 18:32:56 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" = 258 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 258 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", #], ["created_at", Thu, 29 Aug 2013 18:32:56 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 258], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:56 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" = 258 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 258 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) 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", Thu, 29 Aug 2013 18:32:56 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 18:32:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (3.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 259 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 259 ORDER BY to_date DESC LIMIT 1  (1.9ms) 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", #], ["created_at", Thu, 29 Aug 2013 18:32:56 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 259], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:32:56 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" = 259 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 259 ORDER BY to_date DESC LIMIT 1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:35:28 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:35:28 UTC +00:00]]  (0.1ms) RELEASE 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" = 183) LIMIT 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" = 183) 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", Thu, 29 Aug 2013 18:35:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 183], ["updated_at", Thu, 29 Aug 2013 18:35:28 UTC +00:00]]  (0.1ms) RELEASE 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" = 183) LIMIT 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" = 183) 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", Thu, 29 Aug 2013 18:35:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 183], ["updated_at", Thu, 29 Aug 2013 18:35:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 183) LIMIT 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" = 183) 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", Thu, 29 Aug 2013 18:35:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 183], ["updated_at", Thu, 29 Aug 2013 18:35:28 UTC +00:00]]  (0.1ms) RELEASE 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" = 183) LIMIT 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" = 183) 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", Thu, 29 Aug 2013 18:35:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 183], ["updated_at", Thu, 29 Aug 2013 18:35:28 UTC +00:00]]  (0.1ms) RELEASE 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" = 183) LIMIT 1  (0.0ms) 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" = 183) 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", Thu, 29 Aug 2013 18:35:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 183], ["updated_at", Thu, 29 Aug 2013 18:35:28 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-29 20:35:28 +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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 183 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 260 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 260 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 261 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 261 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 262 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 262 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 263 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 263 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 264 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 264 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (114.0ms) Rendered layouts/adherent/_header.html.haml (1.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 180ms (Views: 153.7ms | ActiveRecord: 7.9ms)  (4.4ms) ROLLBACK  (0.1ms) BEGIN Organism Load (1.1ms) 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", Thu, 29 Aug 2013 18:35:28 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:35:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 184) LIMIT 1  (1.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 184) 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", Thu, 29 Aug 2013 18:35:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 184], ["updated_at", Thu, 29 Aug 2013 18:35:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 184) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 184) 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", Thu, 29 Aug 2013 18:35:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 184], ["updated_at", Thu, 29 Aug 2013 18:35:28 UTC +00:00]]  (0.3ms) RELEASE 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" = 184) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 184) 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", Thu, 29 Aug 2013 18:35:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 184], ["updated_at", Thu, 29 Aug 2013 18:35:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 184) LIMIT 1  (1.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 184) LIMIT 1 SQL (1.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", Thu, 29 Aug 2013 18:35:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 184], ["updated_at", Thu, 29 Aug 2013 18:35:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 184) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 184) 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", Thu, 29 Aug 2013 18:35:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 184], ["updated_at", Thu, 29 Aug 2013 18:35:28 UTC +00:00]]  (0.1ms) 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-29 20:35:28 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.2ms) 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" = 184 Adherent::Adhesion Load (1.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 265 ORDER BY to_date Adherent::Coord Load (1.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 265 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 266 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 266 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 267 ORDER BY to_date Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 267 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 268 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 268 LIMIT 1 Adherent::Adhesion Load (1.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 269 ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 269 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 35ms (Views: 23.9ms | ActiveRecord: 9.0ms)  (0.4ms) 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 (33.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.1ms) RELEASE 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" = 185) LIMIT 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" = 185) 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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 185], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.1ms) RELEASE 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" = 185) LIMIT 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" = 185) 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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 185], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.1ms) RELEASE 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" = 185) LIMIT 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" = 185) 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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 185], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.1ms) RELEASE 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" = 185) LIMIT 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" = 185) 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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 185], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.1ms) RELEASE 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" = 185) LIMIT 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" = 185) LIMIT 1 SQL (3.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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 185], ["updated_at", Thu, 29 Aug 2013 18:35:29 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/new" for 127.0.0.1 at 2013-08-29 20:35:29 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (6.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (50.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 66ms (Views: 57.8ms | ActiveRecord: 6.1ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  Started POST "/adherent/members" for 127.0.0.1 at 2013-08-29 20:35:29 +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.3ms) 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" = 185) 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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 185], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/275/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.2ms) Started GET "/adherent/members/275/coord/new" for 127.0.0.1 at 2013-08-29 20:35:29 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"275"} 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", "275"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 275 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (18.0ms) 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 44ms (Views: 24.2ms | ActiveRecord: 1.1ms)  (0.7ms) SELECT COUNT(*) FROM "adherent_members"  (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.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.2ms) RELEASE 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" = 186) LIMIT 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" = 186) 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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 186], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.1ms) RELEASE 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" = 186) LIMIT 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" = 186) 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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 186], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.1ms) RELEASE 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" = 186) LIMIT 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" = 186) 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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 186], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.1ms) RELEASE 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" = 186) LIMIT 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" = 186) 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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 186], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.1ms) RELEASE 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" = 186) LIMIT 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" = 186) 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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 186], ["updated_at", Thu, 29 Aug 2013 18:35:29 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-29 20:35:29 +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" = 186 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 276 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 276 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 277 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 277 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 278 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 278 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 279 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 279 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 280 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 280 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 35ms (Views: 28.4ms | ActiveRecord: 3.7ms) Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-29 20:35:29 +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 (5.1ms) 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 12ms (Views: 9.0ms | ActiveRecord: 0.3ms)  (0.1ms) 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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.1ms) RELEASE 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" = 187) LIMIT 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" = 187) 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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 187], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.1ms) RELEASE 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" = 187) LIMIT 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" = 187) 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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 187], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 187) LIMIT 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" = 187) 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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 187], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 187) LIMIT 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" = 187) 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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 187], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.6ms) RELEASE 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" = 187) LIMIT 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" = 187) 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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 187], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members" for 127.0.0.1 at 2013-08-29 20:35:29 +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" = 187 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 281 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 281 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 282 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 282 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 283 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 283 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 284 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 284 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 285 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 285 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 35ms (Views: 27.5ms | ActiveRecord: 4.3ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/281/edit" for 127.0.0.1 at 2013-08-29 20:35:29 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"281"} 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", "281"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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 16ms (Views: 13.0ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.1ms) RELEASE 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" = 188) LIMIT 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" = 188) 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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 188], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.1ms) RELEASE 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" = 188) LIMIT 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" = 188) 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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 188], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.1ms) RELEASE 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" = 188) LIMIT 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" = 188) 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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 188], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (3.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 188) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 188) 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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 188], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.8ms) RELEASE 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" = 188) LIMIT 1  (4.6ms) 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" = 188) 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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 188], ["updated_at", Thu, 29 Aug 2013 18:35:29 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-29 20:35:29 +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" = 188 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 286 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 286 LIMIT 1 Adherent::Adhesion Load (5.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 287 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 287 LIMIT 1 Adherent::Adhesion Load (4.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 288 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 288 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 289 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 289 LIMIT 1 Adherent::Adhesion Load (3.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 290 ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 290 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 130ms (Views: 104.7ms | ActiveRecord: 16.1ms) Adherent::Member Load (3.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 286 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 286 ORDER BY to_date DESC LIMIT 1  (3.9ms) SAVEPOINT active_record_1 SQL (5.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", #], ["created_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 286], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/286/adhesions" for 127.0.0.1 at 2013-08-29 20:35:29 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"286"} 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", "286"]]  (0.1ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 286 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 286  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 129 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 129 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 61ms (Views: 37.1ms | ActiveRecord: 8.2ms)  (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 (4.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.1ms) RELEASE 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" = 189) LIMIT 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" = 189) LIMIT 1 SQL (5.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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 189], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.1ms) RELEASE 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" = 189) LIMIT 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" = 189) 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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 189], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.7ms) RELEASE 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" = 189) LIMIT 1  (5.2ms) 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" = 189) 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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 189], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.1ms) RELEASE 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" = 189) LIMIT 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" = 189) LIMIT 1 SQL (5.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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 189], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.1ms) RELEASE 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" = 189) LIMIT 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" = 189) 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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 189], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (1.9ms) 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-29 20:35:29 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (6.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"."organism_id" = 189 Adherent::Adhesion Load (3.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 291 ORDER BY to_date Adherent::Coord Load (3.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 291 LIMIT 1 Adherent::Adhesion Load (4.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 292 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 292 LIMIT 1 Adherent::Adhesion Load (7.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 293 ORDER BY to_date Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 293 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 294 ORDER BY to_date Adherent::Coord Load (4.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 294 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 295 ORDER BY to_date Adherent::Coord Load (4.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 295 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 68ms (Views: 29.5ms | ActiveRecord: 36.4ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/291/adhesions" for 127.0.0.1 at 2013-08-29 20:35:29 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"291"} Organism Load (4.9ms) 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", "291"]]  (2.8ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 291 Redirected to http://www.example.com/adherent/members/291/adhesions/new Completed 302 Found in 11ms (ActiveRecord: 8.0ms) Started GET "/adherent/members/291/adhesions/new" for 127.0.0.1 at 2013-08-29 20:35:29 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"291"} Organism Load (6.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "291"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 291 Adherent::Adhesion Load (1.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 291 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (16.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 45ms (Views: 30.4ms | ActiveRecord: 9.8ms)  (0.2ms) 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.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.1ms) RELEASE 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" = 190) LIMIT 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" = 190) 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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 190], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.1ms) RELEASE 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" = 190) LIMIT 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" = 190) 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", Thu, 29 Aug 2013 18:35:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 190], ["updated_at", Thu, 29 Aug 2013 18:35:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (12.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 190) LIMIT 1  (1.4ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 190) 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", Thu, 29 Aug 2013 18:35:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 190], ["updated_at", Thu, 29 Aug 2013 18:35:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (8.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 190) LIMIT 1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 190) LIMIT 1 SQL (5.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", Thu, 29 Aug 2013 18:35:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 190], ["updated_at", Thu, 29 Aug 2013 18:35:30 UTC +00:00]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (6.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 190) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (6.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 190) LIMIT 1 SQL (7.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", Thu, 29 Aug 2013 18:35:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 190], ["updated_at", Thu, 29 Aug 2013 18:35:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (1.7ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members" for 127.0.0.1 at 2013-08-29 20:35:30 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (11.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (5.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 190 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 296 ORDER BY to_date Adherent::Coord Load (3.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 296 LIMIT 1 Adherent::Adhesion Load (5.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 297 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 297 LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 298 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 298 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 299 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 299 LIMIT 1 Adherent::Adhesion Load (7.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 300 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 300 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 77ms (Views: 36.5ms | ActiveRecord: 36.5ms) Adherent::Member Load (4.6ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/296/coord" for 127.0.0.1 at 2013-08-29 20:35:30 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"296"} Organism Load (5.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", "296"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 296 LIMIT 1 Redirected to http://www.example.com/adherent/members/296/coord/new Completed 302 Found in 9ms (ActiveRecord: 5.7ms) Started GET "/adherent/members/296/coord/new" for 127.0.0.1 at 2013-08-29 20:35:30 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"296"} 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", "296"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 296 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (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.1ms) Completed 200 OK in 22ms (Views: 18.6ms | ActiveRecord: 0.8ms)  (7.8ms) 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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:35:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:35:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (5.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 191) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 191) 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", Thu, 29 Aug 2013 18:35:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 191], ["updated_at", Thu, 29 Aug 2013 18:35:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (4.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 191) LIMIT 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" = 191) 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", Thu, 29 Aug 2013 18:35:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 191], ["updated_at", Thu, 29 Aug 2013 18:35:30 UTC +00:00]]  (0.1ms) RELEASE 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" = 191) LIMIT 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" = 191) 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", Thu, 29 Aug 2013 18:35:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 191], ["updated_at", Thu, 29 Aug 2013 18:35:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (4.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 191) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 191) 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", Thu, 29 Aug 2013 18:35:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 191], ["updated_at", Thu, 29 Aug 2013 18:35:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 191) LIMIT 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" = 191) LIMIT 1 SQL (7.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", Thu, 29 Aug 2013 18:35:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 191], ["updated_at", Thu, 29 Aug 2013 18:35:30 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" for 127.0.0.1 at 2013-08-29 20:35:30 +0200 Processing by Adherent::MembersController#index as HTML 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"."organism_id" = 191 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 301 ORDER BY to_date Adherent::Coord Load (5.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 301 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 302 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 302 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 303 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 303 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 304 ORDER BY to_date Adherent::Coord Load (2.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 304 LIMIT 1 Adherent::Adhesion Load (5.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 305 ORDER BY to_date Adherent::Coord Load (1.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 305 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 55ms (Views: 33.4ms | ActiveRecord: 18.4ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/301/payments" for 127.0.0.1 at 2013-08-29 20:35:30 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"301"} 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", "301"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 301 Rendered collection (0.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 45ms (Views: 28.8ms | ActiveRecord: 6.5ms)  (0.0ms) 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 (4.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:35:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:35:30 UTC +00:00]]  (0.1ms) RELEASE 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" = 192) LIMIT 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" = 192) LIMIT 1 SQL (35.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", Thu, 29 Aug 2013 18:35:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 192], ["updated_at", Thu, 29 Aug 2013 18:35:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 192) LIMIT 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" = 192) LIMIT 1 SQL (2.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", Thu, 29 Aug 2013 18:35:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 192], ["updated_at", Thu, 29 Aug 2013 18:35:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (3.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 192) LIMIT 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" = 192) LIMIT 1 SQL (4.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", Thu, 29 Aug 2013 18:35:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 192], ["updated_at", Thu, 29 Aug 2013 18:35:30 UTC +00:00]]  (0.1ms) RELEASE 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" = 192) LIMIT 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" = 192) LIMIT 1 SQL (3.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", Thu, 29 Aug 2013 18:35:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 192], ["updated_at", Thu, 29 Aug 2013 18:35:30 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 192) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 192) 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", Thu, 29 Aug 2013 18:35:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 192], ["updated_at", Thu, 29 Aug 2013 18:35:30 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-29 20:35:30 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (8.0ms) 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" = 192 Adherent::Adhesion Load (6.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 306 ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 306 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 307 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 307 LIMIT 1 Adherent::Adhesion Load (4.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 308 ORDER BY to_date Adherent::Coord Load (4.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 308 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 309 ORDER BY to_date Adherent::Coord Load (2.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 309 LIMIT 1 Adherent::Adhesion Load (3.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 310 ORDER BY to_date Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 310 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 59ms (Views: 25.4ms | ActiveRecord: 31.5ms) Adherent::Member Load (8.4ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.3ms) 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", Thu, 29 Aug 2013 18:35:30 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 306], ["office", nil], ["tel", nil], ["updated_at", Thu, 29 Aug 2013 18:35:30 UTC +00:00], ["zip", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 306 LIMIT 1 Started GET "/adherent/members/306/coord" for 127.0.0.1 at 2013-08-29 20:35:30 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"306"} 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"."id" = $1 LIMIT 1 [["id", "306"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 306 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 14ms (Views: 5.5ms | ActiveRecord: 5.1ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1001"} Organism Load (1.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (6.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:38 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (0.2ms) Completed 200 OK in 49ms (Views: 6.4ms | ActiveRecord: 22.6ms)  (0.5ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1002"} 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", Thu, 29 Aug 2013 18:37:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1002/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1003"} 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1004"} 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.4ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1006", "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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1008", "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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 1.2ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1010", "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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1010/adhesions Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1012", "id"=>"1"} Organism Load (0.1ms) 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1012/adhesions Completed 302 Found in 8ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1014", "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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1016", "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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.3ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1018"} 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1018/adhesions Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1020"} 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1020/adhesions Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1022"} 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (0.1ms) 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 206 Completed 200 OK in 93ms (Views: 2.0ms | ActiveRecord: 4.4ms)  (0.2ms) ROLLBACK  (0.0ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.0ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 1.9ms | ActiveRecord: 3.1ms)  (0.1ms) ROLLBACK  (0.0ms) 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 18ms (Views: 1.4ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1026"} 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1026 Completed 302 Found in 8ms (ActiveRecord: 1.1ms)  (0.6ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1027"} 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1027 Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1028"} 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 2.4ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1029"} Organism Load (0.0ms) 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1029 Completed 302 Found in 4ms (ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1030"} 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1031"} 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 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" = 'A001' AND "adherent_members"."organism_id" = 217) 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 217], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/311/coord/new Completed 302 Found in 18ms (ActiveRecord: 2.0ms)  (10.6ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.2ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 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" = 'A001' AND "adherent_members"."organism_id" = 219) 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 219], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/312/coord/new Completed 302 Found in 11ms (ActiveRecord: 1.7ms)  (0.1ms) 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.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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 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" = 'A001' AND "adherent_members"."organism_id" = 220) 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 220], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/313/coord/new Completed 302 Found in 10ms (ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1034"} Organism Load (0.1ms) 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 3.0ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1036"} Organism Load (0.4ms) 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.0ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1038"} 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.5ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1040"} 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1042"} 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1044"} 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1044/coord Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1046"} 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1046/coord Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1048"} 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1050"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1052"} 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1052/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1054"} Organism Load (4.2ms) 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 5.9ms)  (2.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (1.0ms) BEGIN Organism Load (2.9ms) 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 234) LIMIT 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" = 234) LIMIT 1 SQL (1.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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 234], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE 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" = 234) LIMIT 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" = 234) 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 234], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 234) LIMIT 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" = 234) 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 234], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE 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" = 234) LIMIT 1  (0.2ms) 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" = 234) 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 234], ["updated_at", Thu, 29 Aug 2013 18:37:39 UTC +00:00]]  (0.1ms) RELEASE 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" = 234) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 234) 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", Thu, 29 Aug 2013 18:37:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 234], ["updated_at", Thu, 29 Aug 2013 18:37:39 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-29 20:37:40 +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" = 234 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 314 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 314 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 315 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 315 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 316 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 316 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 317 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 317 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 318 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 318 LIMIT 1 Rendered layouts/adherent/_header.html.haml (1.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 55ms (Views: 45.6ms | ActiveRecord: 6.4ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.1ms) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 235) LIMIT 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" = 235) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 235], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 235) LIMIT 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" = 235) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 235], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 235) LIMIT 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" = 235) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 235], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 235) LIMIT 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" = 235) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 235], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 235) LIMIT 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" = 235) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 235], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members" for 127.0.0.1 at 2013-08-29 20:37:40 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.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"."organism_id" = 235 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 319 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 319 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 320 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 320 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 321 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 321 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 322 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 322 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 323 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 323 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 28ms (Views: 22.6ms | ActiveRecord: 3.3ms)  (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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 236) LIMIT 1  (0.0ms) 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" = 236) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 236], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 236) LIMIT 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" = 236) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 236], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 236) LIMIT 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" = 236) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 236], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 236) LIMIT 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" = 236) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 236], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 236) LIMIT 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" = 236) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 236], ["updated_at", Thu, 29 Aug 2013 18:37:40 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-29 20:37:40 +0200 Processing by Adherent::MembersController#index as HTML 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"."organism_id" = 236 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 324 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 324 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 325 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 325 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 326 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 326 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 327 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 327 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 328 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 328 LIMIT 1 Rendered layouts/adherent/_header.html.haml (0.7ms) 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: 22.1ms | ActiveRecord: 3.6ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/324/coord" for 127.0.0.1 at 2013-08-29 20:37:40 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"324"} Organism Load (0.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", "324"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 324 LIMIT 1 Redirected to http://www.example.com/adherent/members/324/coord/new Completed 302 Found in 4ms (ActiveRecord: 1.0ms) Started GET "/adherent/members/324/coord/new" for 127.0.0.1 at 2013-08-29 20:37:40 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"324"} 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", "324"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 324 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (28.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 47ms (Views: 33.6ms | ActiveRecord: 0.9ms)  (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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 237) LIMIT 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" = 237) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 237], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 237) LIMIT 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" = 237) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 237], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 237) LIMIT 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" = 237) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 237], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.4ms) RELEASE 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" = 237) LIMIT 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" = 237) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 237], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 237) LIMIT 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" = 237) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 237], ["updated_at", Thu, 29 Aug 2013 18:37:40 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-29 20:37:40 +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.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 237 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 329 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 329 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 330 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 330 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 331 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 331 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 332 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 332 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 333 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 333 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 30ms (Views: 21.2ms | ActiveRecord: 3.9ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (62.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", "Marseille"], ["created_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 329], ["office", nil], ["tel", nil], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["zip", nil]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (1.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 329 LIMIT 1 Started GET "/adherent/members/329/coord" for 127.0.0.1 at 2013-08-29 20:37:40 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"329"} Organism Load (0.8ms) 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", "329"]] Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 329 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 21ms (Views: 11.5ms | ActiveRecord: 2.1ms)  (0.4ms) ROLLBACK  (0.5ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.6ms) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 238) LIMIT 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" = 238) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 238], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 238) LIMIT 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" = 238) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 238], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 238) LIMIT 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" = 238) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 238], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 238) LIMIT 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" = 238) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 238], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 238) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 238) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 238], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members" for 127.0.0.1 at 2013-08-29 20:37:40 +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" = 238 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 334 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 334 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 335 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 335 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 336 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 336 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 337 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 337 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 338 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 338 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 30ms (Views: 23.9ms | ActiveRecord: 3.7ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/334/adhesions" for 127.0.0.1 at 2013-08-29 20:37:40 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"334"} 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", "334"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 334 Redirected to http://www.example.com/adherent/members/334/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET "/adherent/members/334/adhesions/new" for 127.0.0.1 at 2013-08-29 20:37:40 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"334"} 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", "334"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 334 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 334 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (8.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 25ms (Views: 13.8ms | ActiveRecord: 1.0ms)  (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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 239) LIMIT 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" = 239) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 239], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 239) LIMIT 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" = 239) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 239], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 239) LIMIT 1  (0.0ms) 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" = 239) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 239], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 239) LIMIT 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" = 239) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 239], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 239) LIMIT 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" = 239) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 239], ["updated_at", Thu, 29 Aug 2013 18:37:40 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-29 20:37:40 +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 (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 239 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 339 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 339 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 340 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 340 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 341 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 341 LIMIT 1 Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 342 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 342 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 343 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 343 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.0ms | ActiveRecord: 4.7ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/339/edit" for 127.0.0.1 at 2013-08-29 20:37:40 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"339"} 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", "339"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (6.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 13ms (Views: 11.5ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 240) LIMIT 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" = 240) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 240], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 240) LIMIT 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" = 240) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 240], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 240) LIMIT 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" = 240) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 240], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.3ms) RELEASE 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" = 240) LIMIT 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" = 240) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 240], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 240) LIMIT 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" = 240) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 240], ["updated_at", Thu, 29 Aug 2013 18:37:40 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-29 20:37:40 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.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"."organism_id" = 240 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 344 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 344 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 345 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 345 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 346 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 346 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 347 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 347 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 348 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 348 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 31ms (Views: 23.3ms | ActiveRecord: 5.0ms) Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-29 20:37:40 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (6.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: 10.8ms | ActiveRecord: 0.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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 241) LIMIT 1  (0.2ms) 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" = 241) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 241], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 241) LIMIT 1  (0.8ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 241) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 241], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 241) LIMIT 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" = 241) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 241], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 241) LIMIT 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" = 241) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 241], ["updated_at", Thu, 29 Aug 2013 18:37:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 241) LIMIT 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" = 241) 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", Thu, 29 Aug 2013 18:37:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 241], ["updated_at", Thu, 29 Aug 2013 18:37:40 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-29 20:37:40 +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" = 241 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 349 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 349 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 350 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 350 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 351 ORDER BY to_date Adherent::Coord Load (1.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 351 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 352 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 352 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 353 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 353 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 29ms (Views: 22.1ms | ActiveRecord: 4.6ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/349/payments" for 127.0.0.1 at 2013-08-29 20:37:40 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"349"} 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", "349"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 349 Rendered collection (0.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: 13.0ms | ActiveRecord: 2.4ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.1ms) 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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 242) LIMIT 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" = 242) 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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 242], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 242) LIMIT 1  (0.2ms) 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" = 242) 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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 242], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 242) LIMIT 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" = 242) 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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 242], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 242) LIMIT 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" = 242) 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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 242], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 242) LIMIT 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" = 242) 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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 242], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.3ms) 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-29 20:37:41 +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" = 242 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 354 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 354 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 355 ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 355 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 356 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 356 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 357 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 357 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 358 ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 358 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.0ms) Completed 200 OK in 29ms (Views: 23.1ms | ActiveRecord: 3.7ms) Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 354 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 354 ORDER BY to_date DESC LIMIT 1  (0.2ms) 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", #], ["created_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 354], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/354/adhesions" for 127.0.0.1 at 2013-08-29 20:37:41 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"354"} 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", "354"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 354 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 354  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 130 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 130 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 81ms (Views: 74.4ms | ActiveRecord: 3.8ms)  (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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.2ms) RELEASE 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" = 243) LIMIT 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" = 243) 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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 243], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 243) LIMIT 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" = 243) 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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 243], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 243) LIMIT 1  (0.4ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 243) 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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 243], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (4.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 243) LIMIT 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" = 243) LIMIT 1 SQL (47.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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 243], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 243) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 243) 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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 243], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-29 20:37:41 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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 12ms (Views: 8.1ms | ActiveRecord: 0.5ms)  (2.3ms) SELECT COUNT(*) FROM "adherent_members"  Started POST "/adherent/members" for 127.0.0.1 at 2013-08-29 20:37:41 +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.3ms) 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" = 243) 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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 243], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/364/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.5ms) Started GET "/adherent/members/364/coord/new" for 127.0.0.1 at 2013-08-29 20:37:41 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"364"} 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", "364"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 364 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.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 15ms (Views: 10.7ms | ActiveRecord: 0.8ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_members"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.8ms) 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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 244) LIMIT 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" = 244) 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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 244], ["updated_at", Thu, 29 Aug 2013 18:37:41 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" = 365 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 365 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", #], ["created_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 365], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/365/payments/new" for 127.0.0.1 at 2013-08-29 20:37:41 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"365"} 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", "365"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 365 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 131 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (12.8ms) Rendered layouts/adherent/_header.html.haml (0.3ms) 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 35ms (Views: 18.8ms | ActiveRecord: 1.0ms)  (0.2ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 245) LIMIT 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" = 245) 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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 245], ["updated_at", Thu, 29 Aug 2013 18:37:41 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" = 366 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 366 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", #], ["created_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 366], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/366/payments/new" for 127.0.0.1 at 2013-08-29 20:37:41 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"366"} 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", "366"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 366 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 132 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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 18ms (Views: 11.5ms | ActiveRecord: 1.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 366 Started POST "/adherent/members/366/payments" for 127.0.0.1 at 2013-08-29 20:37:41 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"366"} 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", "366"]]  (0.1ms) 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", #], ["created_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 366], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 366 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 366 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 132  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/366/payments Completed 302 Found in 52ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/366/payments" for 127.0.0.1 at 2013-08-29 20:37:41 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"366"} 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", "366"]] Adherent::Payment Load (1.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 366 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 54 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 54  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 54 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 54 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 54 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 366 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 32ms (Views: 27.6ms | ActiveRecord: 2.7ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 366  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 246) LIMIT 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" = 246) 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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 246], ["updated_at", Thu, 29 Aug 2013 18:37:41 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" = 367 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 367 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 367], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 367], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 367 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 367 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 133  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/367/payments" for 127.0.0.1 at 2013-08-29 20:37:41 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"367"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "367"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 367 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 55 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 55  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 55 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 55 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 55 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 367 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (6.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: 11.4ms | ActiveRecord: 3.0ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 247) LIMIT 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" = 247) 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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 247], ["updated_at", Thu, 29 Aug 2013 18:37:41 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" = 368 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 368 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", #], ["created_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 368], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.3ms) 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", #], ["created_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 368], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 368 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 368 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 134  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/368/payments" for 127.0.0.1 at 2013-08-29 20:37:41 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"368"} 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", "368"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 368 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 368 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (7.4ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 67ms (Views: 63.4ms | ActiveRecord: 2.0ms) Started GET "/adherent/payments/56/reglements/new" for 127.0.0.1 at 2013-08-29 20:37:41 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"56"} 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", "56"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 368 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 134 Adherent::Reglement Load (0.8ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 56 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_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 82ms (Views: 65.4ms | ActiveRecord: 2.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' AND "adherent_members"."organism_id" = 1) 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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 369], ["office", nil], ["tel", nil], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 369 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) SAVEPOINT active_record_1 SQL (32.2ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 13]] SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 369]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.2ms) 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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 248) LIMIT 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" = 248) LIMIT 1 SQL (0.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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 248], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 248) LIMIT 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" = 248) 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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 248], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 248) LIMIT 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" = 248) 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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 248], ["updated_at", Thu, 29 Aug 2013 18:37:41 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" = 370 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 370 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", #], ["created_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 370], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 370 Started GET "/adherent/members/370/payments/new" for 127.0.0.1 at 2013-08-29 20:37:41 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"370"} 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", "370"]] Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 370 ORDER BY to_date  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 135 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 135 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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 15ms (Views: 8.5ms | ActiveRecord: 2.0ms) Started POST "/adherent/members/370/payments" for 127.0.0.1 at 2013-08-29 20:37:41 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"370"} 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", "370"]]  (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", #], ["created_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 370], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 370 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 370 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 135 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 135 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", 135], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["payment_id", 57], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/370/payments Completed 302 Found in 13ms (ActiveRecord: 3.2ms) Started GET "/adherent/members/370/payments" for 127.0.0.1 at 2013-08-29 20:37:41 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"370"} 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", "370"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 370 Adherent::Reglement Load (0.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 135 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 370 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 370 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (18.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 27ms (Views: 22.6ms | ActiveRecord: 2.2ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 370  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 249) LIMIT 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" = 249) 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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 249], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 249) LIMIT 1  (0.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" = 249) 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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 249], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 249) LIMIT 1  (0.0ms) 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" = 249) 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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 249], ["updated_at", Thu, 29 Aug 2013 18:37:41 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" = 373 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 373 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", #], ["created_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 373], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  Started GET "/adherent/members/373/payments/new" for 127.0.0.1 at 2013-08-29 20:37:41 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"373"} Organism Load (1.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", "373"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 373 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 136 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 136 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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.5ms | ActiveRecord: 2.4ms) Started POST "/adherent/members/373/payments" for 127.0.0.1 at 2013-08-29 20:37:41 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"373"} 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", "373"]]  (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", #], ["created_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 373], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 373 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 373 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 136 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 136 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", 136], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["payment_id", 58], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/373/payments Completed 302 Found in 12ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/373/payments" for 127.0.0.1 at 2013-08-29 20:37:41 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"373"} Organism Load (0.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", "373"]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 373 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 136 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 373 LIMIT 1 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 373 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (10.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 18ms (Views: 14.2ms | ActiveRecord: 2.4ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) 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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 250) LIMIT 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" = 250) 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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 250], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 250) LIMIT 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" = 250) 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", Thu, 29 Aug 2013 18:37:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 250], ["updated_at", Thu, 29 Aug 2013 18:37:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 250) LIMIT 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" = 250) LIMIT 1 SQL (90.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", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 250], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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" = 376 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 376 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", #], ["created_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 376], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/376/payments/new" for 127.0.0.1 at 2013-08-29 20:37:42 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"376"} 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", "376"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 376 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 137 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 137 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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 18ms (Views: 10.6ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/376/payments" for 127.0.0.1 at 2013-08-29 20:37:42 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"376"} 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", "376"]]  (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", #], ["created_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 376], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 376 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 376 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 137 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 137 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", 137], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["payment_id", 59], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/376/payments Completed 302 Found in 12ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/376/payments" for 127.0.0.1 at 2013-08-29 20:37:42 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"376"} 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", "376"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 376 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 137 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 376 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 376 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.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 16ms (Views: 12.2ms | ActiveRecord: 2.4ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 376 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 137  (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  (1.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", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 251) LIMIT 1  (5.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" = 251) 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", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 251], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 251) LIMIT 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" = 251) LIMIT 1 SQL (4.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", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 251], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 251) LIMIT 1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 251) 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", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 251], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 379 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 379 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", #], ["created_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 379], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/379/payments/new" for 127.0.0.1 at 2013-08-29 20:37:42 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"379"} 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", "379"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 379 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 138 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 138 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (67.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 79ms (Views: 72.2ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/379/payments" for 127.0.0.1 at 2013-08-29 20:37:42 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"379"} 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", "379"]]  (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", #], ["created_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 379], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 379 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 379 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 138 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 138 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", 138], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["payment_id", 60], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/379/payments Completed 302 Found in 13ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/379/payments" for 127.0.0.1 at 2013-08-29 20:37:42 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"379"} Organism Load (0.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", "379"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 379 Adherent::Reglement Load (0.8ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 60 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 138 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 379 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 60  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 60 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 60 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 60 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 379 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (10.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: 12.2ms | ActiveRecord: 3.0ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 379 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 138  (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.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", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 252) LIMIT 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" = 252) 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", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 252], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 252) LIMIT 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" = 252) 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", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 252], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 252) LIMIT 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" = 252) 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", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 252], ["updated_at", Thu, 29 Aug 2013 18:37:42 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" = 382 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 382 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", #], ["created_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 382], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/382/payments/new" for 127.0.0.1 at 2013-08-29 20:37:42 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"382"} Organism Load (0.6ms) 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", "382"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 382 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 139 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 139 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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 16ms (Views: 9.0ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/382/payments" for 127.0.0.1 at 2013-08-29 20:37:42 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"382"} 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", "382"]]  (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", #], ["created_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 382], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 382 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 382 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 139 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 139 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", 139], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["payment_id", 61], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/382/payments Completed 302 Found in 12ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/382/payments" for 127.0.0.1 at 2013-08-29 20:37:42 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"382"} 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", "382"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 382 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 61 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 139 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 382 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 61  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 61 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 61 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 61 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 382 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 18ms (Views: 13.6ms | ActiveRecord: 2.3ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 382 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 61  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 61  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 253) LIMIT 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" = 253) 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", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 253], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 253) LIMIT 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" = 253) 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", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 253], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 253) LIMIT 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" = 253) 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", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 253], ["updated_at", Thu, 29 Aug 2013 18:37:42 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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 385 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 385 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", #], ["created_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 385], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/385/payments/new" for 127.0.0.1 at 2013-08-29 20:37:42 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"385"} 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", "385"]] Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 385 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 140 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 140 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 14ms (Views: 8.6ms | ActiveRecord: 0.7ms) Started POST "/adherent/members/385/payments" for 127.0.0.1 at 2013-08-29 20:37:42 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"385"} 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", "385"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 385], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 385 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 385 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 140 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 140 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", 140], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["payment_id", 62], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/385/payments Completed 302 Found in 14ms (ActiveRecord: 3.2ms) Started GET "/adherent/members/385/payments" for 127.0.0.1 at 2013-08-29 20:37:42 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"385"} 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", "385"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 385 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 62 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 140 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 385 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 62  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 62 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 62 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 62 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 385 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.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 16ms (Views: 12.4ms | ActiveRecord: 2.2ms) Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 385 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 140  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.1ms) 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", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 254) LIMIT 1  (0.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" = 254) 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", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 254], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 254) LIMIT 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" = 254) 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", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 254], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 254) LIMIT 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" = 254) 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", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 254], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) 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" = 388 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 388 ORDER BY to_date DESC LIMIT 1  (0.3ms) 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", #], ["created_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 388], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/388/payments/new" for 127.0.0.1 at 2013-08-29 20:37:42 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"388"} 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", "388"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 388 ORDER BY to_date  (1.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 141 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 141 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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: 7.8ms | ActiveRecord: 2.0ms) Started POST "/adherent/members/388/payments" for 127.0.0.1 at 2013-08-29 20:37:42 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"388"} 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", "388"]]  (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", #], ["created_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 388], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]] Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 388 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 388 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 141 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 141 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", 141], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["payment_id", 63], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/388/payments Completed 302 Found in 13ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/388/payments" for 127.0.0.1 at 2013-08-29 20:37:42 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"388"} 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", "388"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 388 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 63 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 141 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 388 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 63  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 63 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 63 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 63 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 388 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (10.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: 13.2ms | ActiveRecord: 2.6ms) Adherent::Adhesion Load (2.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 388 ORDER BY to_date  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 141  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 141  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) COMMIT  (0.7ms) BEGIN 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", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 255) LIMIT 1  (0.2ms) 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" = 255) 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", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 255], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 255) LIMIT 1  (0.0ms) 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" = 255) 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", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 255], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 255) LIMIT 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" = 255) 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", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 255], ["updated_at", Thu, 29 Aug 2013 18:37:42 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" = 391 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 391 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", #], ["created_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 391], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/391/payments/new" for 127.0.0.1 at 2013-08-29 20:37:42 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"391"} 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", "391"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 391 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 142 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 142 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.4ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/391/payments" for 127.0.0.1 at 2013-08-29 20:37:42 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"391"} Organism Load (0.9ms) 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", "391"]]  (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", #], ["created_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 391], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 391 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 391 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 142 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 142 SQL (0.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 142], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["payment_id", 64], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/391/payments Completed 302 Found in 14ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/391/payments" for 127.0.0.1 at 2013-08-29 20:37:42 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"391"} 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", "391"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 391 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 142 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 391 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 391 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (10.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: 18.6ms | ActiveRecord: 2.5ms) Adherent::Payment Load (1.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 391 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (2.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 392 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 392 ORDER BY to_date DESC LIMIT 1  (1.1ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 392], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (1.8ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (2.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 393 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 393 ORDER BY to_date DESC LIMIT 1  (3.5ms) SAVEPOINT active_record_1 SQL (5.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", #], ["created_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 393], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/64/reglements/new" for 127.0.0.1 at 2013-08-29 20:37:42 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"64"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (1.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "64"]] Adherent::Member Load (1.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 391 LIMIT 1 Adherent::Reglement Load (1.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64 Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"   (1.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 142  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 143  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 144 Adherent::Reglement Load (3.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64 Adherent::Member Load (5.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 392 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 143 Adherent::Member Load (2.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 393 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 144 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (20.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 57ms (Views: 24.7ms | ActiveRecord: 19.7ms) Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 391 ORDER BY to_date  (1.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 142 Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 391 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (2.6ms) BEGIN Organism Load (1.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.9ms) RELEASE 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" = 256) LIMIT 1  (0.7ms) 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" = 256) 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", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 256], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.0ms) RELEASE 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" = 256) LIMIT 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" = 256) 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", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 256], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 256) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 256) 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", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 256], ["updated_at", Thu, 29 Aug 2013 18:37:42 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" = 394 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 394 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", #], ["created_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 394], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/394/payments/new" for 127.0.0.1 at 2013-08-29 20:37:42 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"394"} 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", "394"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 394 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 145 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 145 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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: 7.6ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/394/payments" for 127.0.0.1 at 2013-08-29 20:37:42 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"394"} 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", "394"]]  (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", #], ["created_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 394], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 394 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 394 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 145 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 145 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", 145], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["payment_id", 65], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/394/payments Completed 302 Found in 14ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/394/payments" for 127.0.0.1 at 2013-08-29 20:37:42 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"394"} Organism Load (0.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", "394"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 394 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 65 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 145 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 394 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 65  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 65 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 65 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 65 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 394 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (8.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: 12.8ms | ActiveRecord: 2.2ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 394 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 395 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 395 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", #], ["created_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 395], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:42 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" = 396 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 396 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", #], ["created_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 396], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/65/reglements/new" for 127.0.0.1 at 2013-08-29 20:37:42 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"65"} 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", "65"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 394 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 65  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 65 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" = 145  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 146  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 147 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 65 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 65 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 395 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 146 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 396 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 147 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (8.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 22ms (Views: 11.9ms | ActiveRecord: 3.1ms)  (0.0ms) 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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 257) LIMIT 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" = 257) 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", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 257], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.3ms) RELEASE 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" = 257) LIMIT 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" = 257) 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", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 257], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 257) LIMIT 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" = 257) 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", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 257], ["updated_at", Thu, 29 Aug 2013 18:37:43 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" = 397 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 397 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", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 397], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/397/payments/new" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"397"} 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", "397"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 397 ORDER BY to_date  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 148 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 148 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 16ms (Views: 10.3ms | ActiveRecord: 0.8ms) Started POST "/adherent/members/397/payments" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"397"} 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", "397"]]  (0.3ms) 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", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 397], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 397 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 397 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 148 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 148 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", 148], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["payment_id", 66], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/397/payments Completed 302 Found in 13ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/397/payments" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"397"} 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", "397"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 397 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 66 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 148 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 397 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 66  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 66 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 66 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 66 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 397 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 17ms (Views: 13.3ms | ActiveRecord: 2.2ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 397 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 398 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 398 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", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 398], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 399 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 399 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", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 399], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/66/reglements/new" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"66"} 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", "66"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 397 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 66  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 66 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" = 148  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 149  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 150 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 66 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 66 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 398 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 149 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 399 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 150 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (12.1ms) 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 30ms (Views: 19.7ms | ActiveRecord: 3.1ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 258) LIMIT 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" = 258) 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", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 258], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 258) LIMIT 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" = 258) 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", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 258], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 258) LIMIT 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" = 258) 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", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 258], ["updated_at", Thu, 29 Aug 2013 18:37:43 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" = 400 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 400 ORDER BY to_date DESC LIMIT 1  (0.5ms) 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", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 400], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/400/payments/new" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"400"} 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", "400"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 400 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 151 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 151 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (7.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 18ms (Views: 10.6ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/400/payments" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"400"} Organism Load (0.4ms) 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", "400"]]  (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", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 400], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 400 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 400 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 151 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 151 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", 151], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["payment_id", 67], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/400/payments Completed 302 Found in 12ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/400/payments" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"400"} Organism Load (1.0ms) 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", "400"]] Adherent::Payment Load (0.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 400 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 67 Adherent::Adhesion Load (2.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 151 LIMIT 1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 400 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 67  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 67 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 67 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 67 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 400 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (13.3ms) 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 23ms (Views: 15.7ms | ActiveRecord: 5.6ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 400 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 401 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 401 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", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 401], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:43 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" = 402 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 402 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", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 402], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/67/reglements/new" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"67"} 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", "67"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 400 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 67  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 67 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" = 151  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 152  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 153 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 67 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 67 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 401 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 152 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 402 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 153 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (13.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.2ms) Completed 200 OK in 27ms (Views: 17.2ms | ActiveRecord: 3.1ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 259) LIMIT 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" = 259) 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", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 259], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 259) LIMIT 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" = 259) 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", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 259], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 259) LIMIT 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" = 259) 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", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 259], ["updated_at", Thu, 29 Aug 2013 18:37:43 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" = 403 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 403 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", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 403], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/403/payments/new" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"403"} 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", "403"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 403 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 154 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 154 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 17ms (Views: 9.8ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/403/payments" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"403"} 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", "403"]]  (0.2ms) 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", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 403], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 403 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 403 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 154 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 154 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", 154], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["payment_id", 68], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/403/payments Completed 302 Found in 13ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/403/payments" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"403"} 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", "403"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 403 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 154 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 403 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 403 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (11.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 21ms (Views: 16.6ms | ActiveRecord: 2.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 403 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 404 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 404 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", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 404], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:43 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" = 405 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 405 ORDER BY to_date DESC LIMIT 1  (0.4ms) 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", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 405], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/68/reglements/new" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"68"} 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", "68"]] Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 403 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 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" = 154  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 155  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 156 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 404 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 155 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 405 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 156 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (7.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 22ms (Views: 12.5ms | ActiveRecord: 2.6ms) Started POST "/adherent/payments/68/reglements" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"155"}, "commit"=>"Enregistrer", "payment_id"=>"68"} 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", "68"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "155"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 155  (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", 155], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["payment_id", 68], ["updated_at", Thu, 29 Aug 2013 18:37:43 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" = 403 LIMIT 1 Redirected to http://www.example.com/adherent/members/403/payments Completed 302 Found in 11ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/403/payments" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"403"} 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", "403"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 403 Adherent::Reglement Load (0.9ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 154 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 403 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 155 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 404 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 403 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.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 19ms (Views: 14.5ms | ActiveRecord: 3.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (32.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.2ms) RELEASE 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" = 260) LIMIT 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" = 260) 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", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 260], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 260) LIMIT 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" = 260) 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", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 260], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 260) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 260) 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", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 260], ["updated_at", Thu, 29 Aug 2013 18:37:43 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" = 406 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 406 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", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 406], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/406/payments/new" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"406"} 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", "406"]] Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 406 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 157 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 157 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (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.0ms) Completed 200 OK in 15ms (Views: 8.9ms | ActiveRecord: 1.7ms) Started POST "/adherent/members/406/payments" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"406"} 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", "406"]]  (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", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 406], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 406 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 406 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 157 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 157 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", 157], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["payment_id", 69], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/406/payments Completed 302 Found in 13ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/406/payments" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"406"} 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", "406"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 406 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 157 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 406 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 406 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 17ms (Views: 13.0ms | ActiveRecord: 2.1ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 406 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 407 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 407 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", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 407], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:43 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" = 408 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 408 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", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 408], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/69/reglements/new" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"69"} 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", "69"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 406 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 157  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 158  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 159 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 407 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 158 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 408 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 159 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (7.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: 11.1ms | ActiveRecord: 3.0ms) Started POST "/adherent/payments/69/reglements" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"158"}, "commit"=>"Enregistrer", "payment_id"=>"69"} 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", "69"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "158"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 158  (0.0ms) 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", 158], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["payment_id", 69], ["updated_at", Thu, 29 Aug 2013 18:37:43 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" = 406 LIMIT 1 Redirected to http://www.example.com/adherent/members/406/payments Completed 302 Found in 10ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/406/payments" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"406"} 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", "406"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 406 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 157 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 406 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 158 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 407 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 406 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (11.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 18ms (Views: 14.5ms | ActiveRecord: 2.6ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements"   (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.6ms) BEGIN Organism Load (3.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (3.4ms) RELEASE 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" = 261) LIMIT 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" = 261) 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", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 261], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 261) LIMIT 1  (1.6ms) 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" = 261) LIMIT 1 SQL (4.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", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 261], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (1.5ms) RELEASE 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" = 261) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 261) 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", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 261], ["updated_at", Thu, 29 Aug 2013 18:37:43 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" = 409 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 409 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", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 409], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/409/payments/new" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"409"} 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", "409"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 409 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 160 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 160 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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 15ms (Views: 8.6ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/409/payments" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"409"} 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", "409"]]  (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", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 409], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 409 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 409 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 160 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 160 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", 160], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["payment_id", 70], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/409/payments Completed 302 Found in 11ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/409/payments" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"409"} 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", "409"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 409 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 160 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 409 LIMIT 1 Adherent::Reglement Load (1.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 409 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (71.3ms) 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 80ms (Views: 74.5ms | ActiveRecord: 3.0ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 409 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 410 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 410 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", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 410], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:43 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" = 411 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 411 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", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 411], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/70/reglements/new" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"70"} 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", "70"]] Adherent::Member Load (1.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 409 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70 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" = 160  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 161  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 162 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 410 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 161 Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 411 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 162 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 23ms (Views: 12.2ms | ActiveRecord: 4.2ms) Started POST "/adherent/payments/70/reglements" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"161"}, "commit"=>"Enregistrer", "payment_id"=>"70"} 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", "70"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "161"]] Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 161  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 161], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["payment_id", 70], ["updated_at", Thu, 29 Aug 2013 18:37:43 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" = 409 LIMIT 1 Redirected to http://www.example.com/adherent/members/409/payments Completed 302 Found in 9ms (ActiveRecord: 2.1ms) Started GET "/adherent/members/409/payments" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"409"} 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", "409"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 409 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 160 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 409 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 161 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 410 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 409 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.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 20ms (Views: 16.1ms | ActiveRecord: 2.6ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 160 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 409 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 262) LIMIT 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" = 262) 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", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 262], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 262) LIMIT 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" = 262) 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", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 262], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 262) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 262) 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", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 262], ["updated_at", Thu, 29 Aug 2013 18:37:43 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" = 412 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 412 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", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 412], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/412/payments/new" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"412"} Organism Load (0.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", "412"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 412 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 163 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 163 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 18ms (Views: 9.2ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/412/payments" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"412"} 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", "412"]]  (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", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 412], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]] Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 412 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 412 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 163 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 163 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", 163], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00], ["payment_id", 71], ["updated_at", Thu, 29 Aug 2013 18:37:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/412/payments Completed 302 Found in 13ms (ActiveRecord: 3.1ms) Started GET "/adherent/members/412/payments" for 127.0.0.1 at 2013-08-29 20:37:43 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"412"} 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", "412"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 412 Adherent::Reglement Load (1.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 163 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 412 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 412 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.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 18ms (Views: 13.7ms | ActiveRecord: 3.0ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 412 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 413 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 413 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", #], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 413], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:44 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" = 414 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 414 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", #], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 414], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/71/reglements/new" for 127.0.0.1 at 2013-08-29 20:37:44 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"71"} 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", "71"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 412 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions"  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 163  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 164  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 165 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 413 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 164 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 414 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 165 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (7.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 21ms (Views: 12.2ms | ActiveRecord: 3.2ms) Started POST "/adherent/payments/71/reglements" for 127.0.0.1 at 2013-08-29 20:37:44 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"164"}, "commit"=>"Enregistrer", "payment_id"=>"71"} 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", "71"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "164"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 164  (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", 164], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["payment_id", 71], ["updated_at", Thu, 29 Aug 2013 18:37:44 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" = 412 LIMIT 1 Redirected to http://www.example.com/adherent/members/412/payments Completed 302 Found in 10ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/412/payments" for 127.0.0.1 at 2013-08-29 20:37:44 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"412"} 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", "412"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 412 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 163 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 412 LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 164 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 413 LIMIT 1 Adherent::Reglement Load (1.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 412 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (11.0ms) Rendered layouts/adherent/_header.html.haml (0.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 19ms (Views: 14.0ms | ActiveRecord: 3.5ms) Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 413 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 164  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 164  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.1ms) RELEASE 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" = 263) LIMIT 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" = 263) 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", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 263], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (1.3ms) RELEASE 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" = 263) LIMIT 1  (0.0ms) 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" = 263) 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", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 263], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.1ms) RELEASE 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" = 263) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 263) 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", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 263], ["updated_at", Thu, 29 Aug 2013 18:37:44 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" = 415 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 415 ORDER BY to_date DESC LIMIT 1  (0.3ms) 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", #], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 415], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/415/payments/new" for 127.0.0.1 at 2013-08-29 20:37:44 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"415"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "415"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 415 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 166 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 166 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.3ms) Rendered layouts/adherent/_header.html.haml (0.1ms) 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.1ms) Completed 200 OK in 17ms (Views: 8.4ms | ActiveRecord: 1.9ms) Started POST "/adherent/members/415/payments" for 127.0.0.1 at 2013-08-29 20:37:44 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"415"} 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", "415"]]  (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", #], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 415], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 415 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 415 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 166 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 166 SQL (0.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 166], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["payment_id", 72], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/415/payments Completed 302 Found in 12ms (ActiveRecord: 1.9ms) Started GET "/adherent/members/415/payments" for 127.0.0.1 at 2013-08-29 20:37:44 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"415"} 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", "415"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 415 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 166 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 415 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72  (1.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 415 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 17ms (Views: 11.9ms | ActiveRecord: 3.3ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 415 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 416 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 416 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", #], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 416], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:44 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" = 417 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 417 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", #], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 417], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/72/reglements/new" for 127.0.0.1 at 2013-08-29 20:37:44 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"72"} 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", "72"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 415 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72 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" = 166  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 167  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 168 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 416 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 167 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 417 LIMIT 1 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 168 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 22ms (Views: 12.5ms | ActiveRecord: 3.0ms) Started POST "/adherent/payments/72/reglements" for 127.0.0.1 at 2013-08-29 20:37:44 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"167"}, "commit"=>"Enregistrer", "payment_id"=>"72"} 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", "72"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "167"]] Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 167  (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", 167], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["payment_id", 72], ["updated_at", Thu, 29 Aug 2013 18:37:44 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" = 415 LIMIT 1 Redirected to http://www.example.com/adherent/members/415/payments Completed 302 Found in 9ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/415/payments" for 127.0.0.1 at 2013-08-29 20:37:44 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"415"} 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", "415"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 415 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 166 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 415 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 167 LIMIT 1 Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 416 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 415 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.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 19ms (Views: 14.3ms | ActiveRecord: 3.2ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" ORDER BY "adherent_reglements"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 167 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 416 LIMIT 1  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) 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 (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", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 418], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 18:37:44 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" = 418 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 418 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", #], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 418], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 18:37:44 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", #], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 418], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 418 LIMIT 1 Adherent::Adhesion Load (8.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 418 ORDER BY to_date  (2.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 169  (1.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 170  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 169 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", 169], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["payment_id", 73], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 170 SQL (2.1ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 170], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["payment_id", 73], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "adherent_reglements"   (1.5ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.7ms) 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.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) 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", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 419], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 18:37:44 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" = 419 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 419 ORDER BY to_date DESC LIMIT 1  (0.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 419], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 419], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 419 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 419 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 171  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 172  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 171 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", 171], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["payment_id", 74], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.4ms) 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", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 18:37:44 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", #], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 420], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 420 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 420 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", #], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["from_date", Mon, 30 Sep 2013], ["member_id", 420], ["to_date", Mon, 29 Sep 2014], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["date", Thu, 29 Aug 2013], ["member_id", 420], ["mode", "CB"], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 420 LIMIT 1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 420 ORDER BY to_date  (1.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 173  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 174  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 173 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", 173], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["payment_id", 75], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 174 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", 174], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["payment_id", 75], ["updated_at", Thu, 29 Aug 2013 18:37:44 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" = 75  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (29.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (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", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.1ms) RELEASE 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" = 264) LIMIT 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" = 264) 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", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 264], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members/421/coord/new" for 127.0.0.1 at 2013-08-29 20:37:44 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"421"} Organism Load (1.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", "421"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 421 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (9.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 19ms (Views: 12.2ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) 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", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.1ms) RELEASE 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" = 265) LIMIT 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" = 265) 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", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 265], ["updated_at", Thu, 29 Aug 2013 18:37: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/422/coord/new" for 127.0.0.1 at 2013-08-29 20:37:44 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"422"} 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", "422"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 422 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.6ms) 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.0ms) Completed 200 OK in 16ms (Views: 11.8ms | ActiveRecord: 0.9ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords" Started POST "/adherent/members/422/coord" for 127.0.0.1 at 2013-08-29 20:37:44 +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"=>"422"} 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", "422"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 422 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", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 422], ["office", ""], ["tel", ""], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/422/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 1.5ms) Started GET "/adherent/members/422/adhesions/new" for 127.0.0.1 at 2013-08-29 20:37:44 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"422"} 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", "422"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 422 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 422 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 13ms (Views: 8.2ms | ActiveRecord: 1.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.0ms) RELEASE 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" = 266) LIMIT 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" = 266) 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", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 266], ["updated_at", Thu, 29 Aug 2013 18:37: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/423/coord/new" for 127.0.0.1 at 2013-08-29 20:37:44 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"423"} 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", "423"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 423 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.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.4ms) Completed 200 OK in 16ms (Views: 11.6ms | ActiveRecord: 0.8ms) Started POST "/adherent/members/423/coord" for 127.0.0.1 at 2013-08-29 20:37:44 +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"=>"423"} 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", "423"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 423 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", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 423], ["office", ""], ["tel", ""], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/423/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 1.4ms) Started GET "/adherent/members/423/adhesions/new" for 127.0.0.1 at 2013-08-29 20:37:44 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"423"} Organism Load (0.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", "423"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 423 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 423 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 13ms (Views: 7.7ms | ActiveRecord: 1.2ms) Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 423 LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.1ms) RELEASE 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" = 267) LIMIT 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" = 267) 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", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 267], ["updated_at", Thu, 29 Aug 2013 18:37: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/424/coord/new" for 127.0.0.1 at 2013-08-29 20:37:44 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"424"} 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", "424"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 424 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.7ms) 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 15ms (Views: 10.7ms | ActiveRecord: 0.8ms) Started POST "/adherent/members/424/coord" for 127.0.0.1 at 2013-08-29 20:37:44 +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"=>"424"} 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", "424"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 424 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", ""], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 424], ["office", ""], ["tel", ""], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["zip", ""]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/424/adhesions/new Completed 302 Found in 6ms (ActiveRecord: 1.6ms) Started GET "/adherent/members/424/adhesions/new" for 127.0.0.1 at 2013-08-29 20:37:44 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"424"} Organism Load (0.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", "424"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 424 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 424 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (5.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 13ms (Views: 8.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1059"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:44 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: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1062"} 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", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1065"} 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", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1064/payments Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.5ms) 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.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.0ms) BEGIN 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  (0.1ms) ROLLBACK  (0.0ms) 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.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Tue, 06 Jun 1944], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) 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", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.2ms) 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", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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 (1.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.7ms) ROLLBACK  (0.2ms) 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.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 18:37:44 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" = 428 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 428 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", #], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 428], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 428 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 428 ORDER BY to_date DESC LIMIT 1  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' 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", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 429 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 429 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 429], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:44 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" = 429 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 429 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 430 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 430 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", #], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 430], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:44 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" = 430 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 430 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.7ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (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", #], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:44 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" = 178  (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", 178], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 18:37:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 178  (0.1ms) ROLLBACK  (0.0ms) 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", #], ["created_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:45 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" = 179  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 179], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 179  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 179  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (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", #], ["created_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 1], ["to_date", Thu, 28 Aug 2014], ["updated_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 180  (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", 180], ["amount", #], ["created_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00], ["payment_id", 1], ["updated_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.1ms) 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", Thu, 29 Aug 2013 18:37:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00]]  (0.1ms) RELEASE 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" = 271) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 271) 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", Thu, 29 Aug 2013 18:37:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 271], ["updated_at", Thu, 29 Aug 2013 18:37: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/431/adhesions/new" for 127.0.0.1 at 2013-08-29 20:37:45 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"431"} 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", "431"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 431 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 431 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 14ms (Views: 8.8ms | ActiveRecord: 1.0ms)  (0.3ms) 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", Thu, 29 Aug 2013 18:37:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00]]  (0.5ms) RELEASE 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" = 272) LIMIT 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" = 272) 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", Thu, 29 Aug 2013 18:37:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 272], ["updated_at", Thu, 29 Aug 2013 18:37:45 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/432/adhesions/new" for 127.0.0.1 at 2013-08-29 20:37:45 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"432"} 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", "432"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 432 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 432 ORDER BY to_date DESC LIMIT 1 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 14ms (Views: 8.8ms | ActiveRecord: 1.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 432 Started POST "/adherent/members/432/adhesions" for 127.0.0.1 at 2013-08-29 20:37:45 +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"=>"432"} 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", "432"]]  (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", #], ["created_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 432], ["to_date", Thu, 31 Jul 2014], ["updated_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/432/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.1ms) Started GET "/adherent/members/432/adhesions" for 127.0.0.1 at 2013-08-29 20:37:45 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"432"} 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", "432"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 432 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 432  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 181 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 181 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: 7.4ms | ActiveRecord: 1.1ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 432  (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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00]]  (0.1ms) RELEASE 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" = 273) LIMIT 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" = 273) 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", Thu, 29 Aug 2013 18:37:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 273], ["updated_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (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", #], ["created_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 433], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/433/adhesions" for 127.0.0.1 at 2013-08-29 20:37:45 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"433"} 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", "433"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 433 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 433  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 182 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 182 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 14ms (Views: 10.1ms | ActiveRecord: 1.4ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00]]  (0.1ms) RELEASE 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" = 274) LIMIT 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" = 274) 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", Thu, 29 Aug 2013 18:37:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 274], ["updated_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (0.1ms) 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", #], ["created_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 434], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/434/adhesions" for 127.0.0.1 at 2013-08-29 20:37:45 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"434"} 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", "434"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 434 Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 434  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 183 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 183 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: 79.1ms | ActiveRecord: 2.5ms) Started GET "/adherent/members/434/adhesions/183/edit" for 127.0.0.1 at 2013-08-29 20:37:45 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"434", "id"=>"183"} 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", "434"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 434 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "183"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 14ms (Views: 9.8ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00]]  (0.1ms) RELEASE 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" = 275) LIMIT 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" = 275) 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", Thu, 29 Aug 2013 18:37:45 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 275], ["updated_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) 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", #], ["created_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00], ["from_date", Thu, 29 Aug 2013], ["member_id", 435], ["to_date", Sun, 29 Sep 2013], ["updated_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/435/adhesions" for 127.0.0.1 at 2013-08-29 20:37:45 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"435"} 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", "435"]]  (1.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 435 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 435  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 184 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 184 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 14ms (Views: 8.7ms | ActiveRecord: 3.2ms) Started GET "/adherent/members/435/payments/new" for 127.0.0.1 at 2013-08-29 20:37:45 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"435"} 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", "435"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 435 ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 184 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 184 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.4ms) Rendered layouts/adherent/_header.html.haml (0.3ms) 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: 8.4ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AllpaymentsController#index as HTML Organism Load (0.5ms) 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", Thu, 29 Aug 2013 18:37:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Payment Load (1.4ms) SELECT "adherent_payments".* FROM "adherent_payments" INNER JOIN "adherent_members" ON "adherent_payments"."member_id" = "adherent_members"."id" WHERE "adherent_members"."organism_id" = 276 Completed 200 OK in 28ms (Views: 3.5ms | ActiveRecord: 2.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1069"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Thu, 29 Aug 2013 18:37:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.5ms)  (0.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1070"} 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", Thu, 29 Aug 2013 18:37:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1071"} 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", Thu, 29 Aug 2013 18:37:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1073"} 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", Thu, 29 Aug 2013 18:37:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1073/payments Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1075"} 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", Thu, 29 Aug 2013 18:37:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1075/payments Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"29/08/2013"}, "member_id"=>"1077"} 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", Thu, 29 Aug 2013 18:37:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.6ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1079", "id"=>"1080"} 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", Thu, 29 Aug 2013 18:37:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Thu, 29 Aug 2013 18:37:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.8ms)  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Adhesion Load (52.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (95.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", #], ["created_at", Fri, 30 Aug 2013 05:33:50 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 05:33:50 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" = 185  (0.2ms) SAVEPOINT active_record_1 SQL (16.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 185], ["amount", #], ["created_at", Fri, 30 Aug 2013 05:33:50 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 05:33:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 185  (1.0ms) ROLLBACK  (0.0ms) BEGIN  (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", #], ["created_at", Fri, 30 Aug 2013 05:33:50 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 05:33:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 186  (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", 186], ["amount", #], ["created_at", Fri, 30 Aug 2013 05:33:50 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 05:33:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (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", #], ["created_at", Fri, 30 Aug 2013 05:33:50 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 05:33:50 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" = 187  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 187], ["amount", #], ["created_at", Fri, 30 Aug 2013 05:33:50 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 05:33:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 187  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 187  (0.1ms) ROLLBACK  (0.4ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (2.9ms) ROLLBACK  (0.1ms) BEGIN  (1.7ms) ROLLBACK  (0.1ms) BEGIN  (1.4ms) ROLLBACK  (0.0ms) BEGIN  (1.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (1.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (2.8ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.8ms) ROLLBACK  (0.1ms) BEGIN Adherent::Adhesion Load (14.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (76.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", #], ["created_at", Fri, 30 Aug 2013 05:39:15 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 05:39:15 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" = 188  (0.1ms) SAVEPOINT active_record_1 SQL (32.5ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 188], ["amount", #], ["created_at", Fri, 30 Aug 2013 05:39:15 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 05:39:15 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" = 188  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 188  (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 05:39:15 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 05:39:15 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" = 189  (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", 189], ["amount", #], ["created_at", Fri, 30 Aug 2013 05:39:15 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 05:39:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 189  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (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", #], ["created_at", Fri, 30 Aug 2013 05:39:15 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 05:39:15 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" = 190  (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", 190], ["amount", #], ["created_at", Fri, 30 Aug 2013 05:39:15 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 05:39:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (37.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.2ms) 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 (11.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", Fri, 30 Aug 2013 05:41:04 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 05:41:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 05:41:04 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 05:41:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 05:41:04 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 436], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 05:41:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount)  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Adherent::Member Exists (1.1ms) 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.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) 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", Fri, 30 Aug 2013 05:42:29 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 05:42:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 05:42:29 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 05:42:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (11.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", #], ["created_at", Fri, 30 Aug 2013 05:42:29 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 438], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 05:42:29 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", #], ["created_at", Fri, 30 Aug 2013 05:42:29 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 439], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 05:42:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SHOW max_identifier_length  (1.1ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as ramount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount)  (0.5ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' 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", Fri, 30 Aug 2013 05:42:54 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 05:42:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 05:42:54 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 05:42:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 05:42:54 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 440], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 05:42:54 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", #], ["created_at", Fri, 30 Aug 2013 05:42:54 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 441], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 05:42:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SHOW max_identifier_length  (1.2ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as ramount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount)  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.8ms) 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 (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", Fri, 30 Aug 2013 05:43:19 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 05:43:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 05:43:19 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 05:43:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 05:43:19 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 442], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 05:43:19 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", #], ["created_at", Fri, 30 Aug 2013 05:43:19 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 443], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 05:43:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount)  (1.2ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Adherent::Member Exists (0.9ms) 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 (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", Fri, 30 Aug 2013 05:43:46 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 05:43:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 05:43:46 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 05:43:46 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", #], ["created_at", Fri, 30 Aug 2013 05:43:46 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 444], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 05:43:46 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", #], ["created_at", Fri, 30 Aug 2013 05:43:46 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 445], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 05:43:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount)  (0.6ms) SHOW max_identifier_length  (0.5ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as ramount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount)  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (1.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (14.9ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (73.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", Fri, 30 Aug 2013 05:47:10 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 05:47:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 05:47:10 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 05:47:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 05:47:11 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 446], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 05:47:11 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", #], ["created_at", Fri, 30 Aug 2013 05:47:11 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 447], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 05:47:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (13.5ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.9ms) 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 (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", Fri, 30 Aug 2013 05:47:35 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 05:47:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 05:47:35 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 05:47:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 05:47:35 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 448], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 05:47:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Fri, 30 Aug 2013 05:47:35 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 449], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 05:47:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (38.0ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount)  (0.1ms) SHOW max_identifier_length  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as ramount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount)  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (19.2ms) BEGIN Adherent::Member Exists (77.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (192.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", Fri, 30 Aug 2013 05:50:26 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 05:50:26 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 05:50:26 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 05:50:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (42.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", #], ["created_at", Fri, 30 Aug 2013 05:50:27 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 450], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 05:50:27 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 05:50:27 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 451], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 05:50:27 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (2.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount)  (0.1ms) SHOW max_identifier_length  (0.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as ramount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount)  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (11.9ms) BEGIN Adherent::Member Exists (1.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.2ms) 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 (958.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", Fri, 30 Aug 2013 05:51:24 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 05:51:24 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (0.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", Fri, 30 Aug 2013 05:51:25 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 05:51:25 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) 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", #], ["created_at", Fri, 30 Aug 2013 05:51:26 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 452], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 05:51:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 05:51:26 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 453], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 05:51:26 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (2.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount)  (0.1ms) SHOW max_identifier_length  (0.5ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as ramount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount)  (350.9ms) 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.2ms) 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.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", Fri, 30 Aug 2013 05:51:26 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 05:51:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 05:51:26 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 05:51:26 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", #], ["created_at", Fri, 30 Aug 2013 05:51:26 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 454], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 05:51:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 05:51:26 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 455], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 05:51:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (23.0ms) 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 (103.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", Fri, 30 Aug 2013 05:55:12 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 05:55:12 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 05:55:12 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 05:55:12 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Fri, 30 Aug 2013 05:55:12 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 456], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 05:55:12 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 05:55:12 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 457], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 05:55:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (7.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id  (0.4ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.4ms) 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", Fri, 30 Aug 2013 05:55:13 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 05:55:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 05:55:13 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 05:55:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Fri, 30 Aug 2013 05:55:13 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 458], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 05:55:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 05:55:13 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 459], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 05:55:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount)  (0.0ms) SHOW max_identifier_length  (0.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as ramount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount)  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.3ms) BEGIN Adherent::Member Exists (1.1ms) 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 (69.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", Fri, 30 Aug 2013 05:58:25 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 05:58:25 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 05:58:26 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 05:58:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 05:58:26 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 460], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 05:58:26 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", #], ["created_at", Fri, 30 Aug 2013 05:58:26 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 461], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 05:58:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (56.5ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 05:58:26 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 461], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 05:58:26 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 461 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 461 ORDER BY to_date  (2.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 215  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 215 SQL (17.9ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 215], ["amount", #], ["created_at", Fri, 30 Aug 2013 05:58:26 UTC +00:00], ["payment_id", 76], ["updated_at", Fri, 30 Aug 2013 05:58:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.5ms) 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", Fri, 30 Aug 2013 05:58:26 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 05:58:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 05:58:26 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 05:58:26 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", #], ["created_at", Fri, 30 Aug 2013 05:58:26 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 462], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 05:58:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 05:58:26 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 463], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 05:58:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 05:58:26 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 463], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 05:58:26 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 463 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 463 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 217  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 217 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", 217], ["amount", #], ["created_at", Fri, 30 Aug 2013 05:58:26 UTC +00:00], ["payment_id", 77], ["updated_at", Fri, 30 Aug 2013 05:58:26 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount)  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.9ms) 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 (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", Fri, 30 Aug 2013 06:00:12 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:00:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' AND "adherent_members"."organism_id" = 1) 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", Fri, 30 Aug 2013 06:00:12 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:00:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:00:12 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 464], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:00:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Fri, 30 Aug 2013 06:00:12 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 465], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:00:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:00:12 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 465], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:00:12 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 465 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 465 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 219  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 219 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 219], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:00:12 UTC +00:00], ["payment_id", 78], ["updated_at", Fri, 30 Aug 2013 06:00:12 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id  (34.7ms) 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.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", Fri, 30 Aug 2013 06:00:13 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:00:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:00:13 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:00:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:00:13 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 466], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:00:13 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:00:13 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 467], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:00:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:00:13 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 467], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:00:13 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 467 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 467 ORDER BY to_date  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 221  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 221 SQL (2.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 221], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:00:13 UTC +00:00], ["payment_id", 79], ["updated_at", Fri, 30 Aug 2013 06:00:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (33.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.9ms) 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 (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", Fri, 30 Aug 2013 06:01:16 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:01:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:01:16 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:01:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (27.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", #], ["created_at", Fri, 30 Aug 2013 06:01:16 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 468], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:01:16 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:01:16 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 469], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:01:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:01:16 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 469], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:01:16 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 469 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 469 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 223  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 223 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", 223], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:01:16 UTC +00:00], ["payment_id", 80], ["updated_at", Fri, 30 Aug 2013 06:01:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 Adherent::Adhesion Load (0.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0  (0.4ms) 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 (3.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", Fri, 30 Aug 2013 06:01:16 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:01:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' AND "adherent_members"."organism_id" = 1) 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", Fri, 30 Aug 2013 06:01:16 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:01:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:01:16 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 470], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:01:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Fri, 30 Aug 2013 06:01:16 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 471], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:01:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:01:16 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 471], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:01:16 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 471 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 471 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 225  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 225 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", 225], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:01:16 UTC +00:00], ["payment_id", 81], ["updated_at", Fri, 30 Aug 2013 06:01:16 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", #], ["created_at", Fri, 30 Aug 2013 06:01:16 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 470], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:01:16 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 470 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 470 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 224  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 224 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", 224], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:01:16 UTC +00:00], ["payment_id", 82], ["updated_at", Fri, 30 Aug 2013 06:01:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.8ms) 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 (2.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", Fri, 30 Aug 2013 06:01:44 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:01:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:01:44 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:01:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 06:01:44 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 472], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:01:44 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", #], ["created_at", Fri, 30 Aug 2013 06:01:44 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 473], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:01:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:01:44 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 473], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:01:44 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 473 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 473 ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 227  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 227 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 227], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:01:44 UTC +00:00], ["payment_id", 83], ["updated_at", Fri, 30 Aug 2013 06:01:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.0ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0  (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.3ms) 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", Fri, 30 Aug 2013 06:01:44 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:01:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:01:44 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:01:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:01:44 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 474], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:01:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Fri, 30 Aug 2013 06:01:44 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 475], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:01:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:01:44 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 475], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:01:44 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 475 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 475 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 229  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 229 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", 229], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:01:44 UTC +00:00], ["payment_id", 84], ["updated_at", Fri, 30 Aug 2013 06:01:44 UTC +00:00]]  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:01:44 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 474], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:01:44 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 474 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 474 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 228  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 228 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", 228], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:01:44 UTC +00:00], ["payment_id", 85], ["updated_at", Fri, 30 Aug 2013 06:01:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 Adherent::Adhesion Load (1.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 LIMIT 1  (0.5ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.7ms) 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 (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", Fri, 30 Aug 2013 06:02:20 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:02:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 06:02:20 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:02:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:02:20 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 476], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:02:20 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", #], ["created_at", Fri, 30 Aug 2013 06:02:20 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 477], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:02:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:02:20 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 477], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:02:20 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 477 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 477 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 231  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 231 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 231], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:02:20 UTC +00:00], ["payment_id", 86], ["updated_at", Fri, 30 Aug 2013 06:02:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:02:20 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 477], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:02:20 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 477 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 477 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 231  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 231 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", 231], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:02:20 UTC +00:00], ["payment_id", 87], ["updated_at", Fri, 30 Aug 2013 06:02:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0  (0.4ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.4ms) 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.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", Fri, 30 Aug 2013 06:02:20 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:02:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 06:02:20 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:02:20 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", #], ["created_at", Fri, 30 Aug 2013 06:02:20 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 478], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:02:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:02:20 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 479], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:02:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:02:20 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 479], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:02:20 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 479 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 479 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 233  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 233 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", 233], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:02:20 UTC +00:00], ["payment_id", 88], ["updated_at", Fri, 30 Aug 2013 06:02:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:02:20 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 478], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:02:20 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 478 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 478 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 232  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 232 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", 232], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:02:20 UTC +00:00], ["payment_id", 89], ["updated_at", Fri, 30 Aug 2013 06:02:20 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 LIMIT 1  (0.1ms) 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", Fri, 30 Aug 2013 06:02:20 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:02:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) 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", Fri, 30 Aug 2013 06:02:20 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:02:20 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:02:21 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 480], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:02:21 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", #], ["created_at", Fri, 30 Aug 2013 06:02:21 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 481], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:02:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:02:21 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 481], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:02:21 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 481 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 481 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 235  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 235 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", 235], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:02:21 UTC +00:00], ["payment_id", 90], ["updated_at", Fri, 30 Aug 2013 06:02:21 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.9ms) 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 (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", Fri, 30 Aug 2013 06:03:03 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:03:03 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 482], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:03:03 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", #], ["created_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 483], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 483], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 483 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 483 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 237  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 237 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", 237], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00], ["payment_id", 91], ["updated_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 483], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 483 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 483 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 237  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 237 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", 237], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00], ["payment_id", 92], ["updated_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0  (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.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", Fri, 30 Aug 2013 06:03:03 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.5ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 06:03:03 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 484], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 485], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 485], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 485 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 485 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 239  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 239 SQL (0.1ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 239], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00], ["payment_id", 93], ["updated_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 484], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00]] Adherent::Member Load (1.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 484 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 484 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 238  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 238 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", 238], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00], ["payment_id", 94], ["updated_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN 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  (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.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", Fri, 30 Aug 2013 06:03:03 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) 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", Fri, 30 Aug 2013 06:03:03 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 486], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 487], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00]]  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 487], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 487 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 487 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 241  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 241 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", 241], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00], ["payment_id", 95], ["updated_at", Fri, 30 Aug 2013 06:03:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.3ms) BEGIN Adherent::Member Exists (1.6ms) 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 (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", Fri, 30 Aug 2013 06:03:22 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:03:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:03:22 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:03:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:03:22 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 488], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:03:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Fri, 30 Aug 2013 06:03:22 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 489], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:03:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:03:22 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 489], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:03:22 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 489 LIMIT 1 Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 489 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 243  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 243 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 243], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:03:22 UTC +00:00], ["payment_id", 96], ["updated_at", Fri, 30 Aug 2013 06:03:22 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0  (0.6ms) 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 (1.2ms) 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", Fri, 30 Aug 2013 06:03:23 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:03:23 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 06:03:23 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:03:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:03:23 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 490], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:03:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:03:23 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 491], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:03:23 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", #], ["created_at", Fri, 30 Aug 2013 06:03:23 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 491], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:03:23 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 491 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 491 ORDER BY to_date  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 245  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 245 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", 245], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:03:23 UTC +00:00], ["payment_id", 97], ["updated_at", Fri, 30 Aug 2013 06:03:23 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", #], ["created_at", Fri, 30 Aug 2013 06:03:23 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 490], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:03:23 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 490 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 490 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 244  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 244 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", 244], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:03:23 UTC +00:00], ["payment_id", 98], ["updated_at", Fri, 30 Aug 2013 06:03:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 LIMIT 1  (0.8ms) 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.0ms) 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", Fri, 30 Aug 2013 06:03:23 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:03:23 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:03:23 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:03:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Fri, 30 Aug 2013 06:03:23 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 492], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:03:23 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", #], ["created_at", Fri, 30 Aug 2013 06:03:23 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 493], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:03:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:03:23 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 493], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:03:23 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 493 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 493 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 247  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 247 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", 247], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:03:23 UTC +00:00], ["payment_id", 99], ["updated_at", Fri, 30 Aug 2013 06:03:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:03:23 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 493], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:03:23 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 493 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 493 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 247  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 247 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", 247], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:03:23 UTC +00:00], ["payment_id", 100], ["updated_at", Fri, 30 Aug 2013 06:03:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.9ms) 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 (1.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", Fri, 30 Aug 2013 06:03:32 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:03:32 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 494], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:03:32 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", #], ["created_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 495], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 495], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 495 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 495 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 249  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 249 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 249], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00], ["payment_id", 101], ["updated_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0  (0.1ms) 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.3ms) 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", Fri, 30 Aug 2013 06:03:32 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (36.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", Fri, 30 Aug 2013 06:03:32 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 496], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 497], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 497], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 497 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 497 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 251  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 251 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 251], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00], ["payment_id", 102], ["updated_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 496], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 496 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 496 ORDER BY to_date  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 250  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 250 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", 250], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00], ["payment_id", 103], ["updated_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 LIMIT 1  (0.1ms) 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.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", Fri, 30 Aug 2013 06:03:32 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:03:32 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 498], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 499], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:03:32 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", #], ["created_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 499], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 499 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 499 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 253  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 253 SQL (0.1ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 253], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00], ["payment_id", 104], ["updated_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00]]  (1.2ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 499], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 499 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 499 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 253  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 253 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", 253], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00], ["payment_id", 105], ["updated_at", Fri, 30 Aug 2013 06:03:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.8ms) 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 (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", Fri, 30 Aug 2013 06:03:58 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:03:58 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 500], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 501], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 501], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 501 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 501 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 255  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 255 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", 255], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00], ["payment_id", 106], ["updated_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 500], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 500 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 500 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 254  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 254 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", 254], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00], ["payment_id", 107], ["updated_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 Adherent::Adhesion Load (1.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 LIMIT 1  (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", Fri, 30 Aug 2013 06:03:58 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:03:58 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 502], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 503], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:03:58 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", #], ["created_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 503], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 503 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 503 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 257  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 257 SQL (0.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 257], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00], ["payment_id", 108], ["updated_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0  (1.3ms) 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", Fri, 30 Aug 2013 06:03:58 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:03:58 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:03:58 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", #], ["created_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 504], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 505], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:03:58 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", #], ["created_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 505], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 505 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 505 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 259  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 259 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", 259], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00], ["payment_id", 109], ["updated_at", Fri, 30 Aug 2013 06:03:58 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", #], ["created_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 505], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 505 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 505 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 259  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 259 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", 259], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00], ["payment_id", 110], ["updated_at", Fri, 30 Aug 2013 06:03:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Adherent::Member Exists (1.5ms) 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 (2.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", Fri, 30 Aug 2013 06:06:36 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (1.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", Fri, 30 Aug 2013 06:06:36 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 506], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.9ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 507], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 507], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 507 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 507 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 261  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 261 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", 261], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00], ["payment_id", 111], ["updated_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.0ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0  (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", Fri, 30 Aug 2013 06:06:36 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:06:36 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 508], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 509], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.0ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 509], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 509 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 509 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 263  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 263 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 263], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00], ["payment_id", 112], ["updated_at", Fri, 30 Aug 2013 06:06:36 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", #], ["created_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 508], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 508 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 508 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 262  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 262 SQL (2.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 262], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00], ["payment_id", 113], ["updated_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 LIMIT 1  (0.6ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.5ms) 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.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", Fri, 30 Aug 2013 06:06:36 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (4.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (1.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", Fri, 30 Aug 2013 06:06:36 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (4.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 510], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 511], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.3ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 511], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 511 LIMIT 1 Adherent::Adhesion Load (2.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 511 ORDER BY to_date  (1.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 265  (2.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 265 SQL (1.4ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 265], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00], ["payment_id", 114], ["updated_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 511], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 511 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 511 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 265  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 265 SQL (1.0ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 265], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00], ["payment_id", 115], ["updated_at", Fri, 30 Aug 2013 06:06:36 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (1.0ms) 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 (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", Fri, 30 Aug 2013 06:07:06 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:07:06 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 512], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 513], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 513], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 513 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 513 ORDER BY to_date  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 267  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 267 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", 267], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00], ["payment_id", 116], ["updated_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0  (0.4ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.5ms) 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", Fri, 30 Aug 2013 06:07:06 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 06:07:06 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 514], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 515], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 515], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 515 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 515 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 269  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 269 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 269], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00], ["payment_id", 117], ["updated_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00]]  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 514], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 514 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 514 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 268  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 268 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", 268], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00], ["payment_id", 118], ["updated_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 LIMIT 1  (0.0ms) ROLLBACK  (0.4ms) 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", Fri, 30 Aug 2013 06:07:06 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 06:07:06 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 516], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 517], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 517], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00]] Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 517 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 517 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 271  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 271 SQL (16.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 271], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00], ["payment_id", 119], ["updated_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.5ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 517], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 517 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 517 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 271  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 271 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", 271], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00], ["payment_id", 120], ["updated_at", Fri, 30 Aug 2013 06:07:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "adherent_reglements"  Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.8ms) 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 (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", Fri, 30 Aug 2013 06:07:50 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 06:07:50 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 518], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 519], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 519], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 519 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 519 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 273  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 273 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", 273], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00], ["payment_id", 121], ["updated_at", Fri, 30 Aug 2013 06:07:50 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", #], ["created_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 519], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 519 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 519 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 273  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 273 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", 273], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00], ["payment_id", 122], ["updated_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 518], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 518 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 518 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 272  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 272 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 272], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00], ["payment_id", 123], ["updated_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0  (0.4ms) 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", Fri, 30 Aug 2013 06:07:50 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 06:07:50 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:07:50 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", #], ["created_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 520], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 521], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 521], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 521 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 521 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 275  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 275 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", 275], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00], ["payment_id", 124], ["updated_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 520], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 520 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 520 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 274  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 274 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", 274], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00], ["payment_id", 125], ["updated_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0 LIMIT 1  (0.1ms) 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.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", Fri, 30 Aug 2013 06:07:50 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 06:07:50 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:07:50 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", #], ["created_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 522], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 523], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 523], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00]] Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 523 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 523 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 277  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 277 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", 277], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00], ["payment_id", 126], ["updated_at", Fri, 30 Aug 2013 06:07:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.0ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR count(adherent_reglements) = 0  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.9ms) 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 (2.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", Fri, 30 Aug 2013 06:09:11 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:09:11 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 524], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 525], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 525], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 525 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 525 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 279  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 279 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", 279], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00], ["payment_id", 127], ["updated_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (67.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements) = NULL PG::UndefinedFunction: ERREUR: la fonction sum(adherent_reglements) n'existe pas LINE 1: ...sions.amount > sum(adherent_reglements.amount) OR sum(adhere... ^ HINT: Aucune fonction ne correspond au nom donné et aux types d'arguments. Vous devez ajouter des conversions explicites de type. : SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements) = NULL  (0.7ms) ROLLBACK  (0.3ms) BEGIN Adherent::Member Exists (0.4ms) 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.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) 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", Fri, 30 Aug 2013 06:09:11 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 06:09:11 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.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", #], ["created_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 526], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:09:11 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", #], ["created_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 527], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 527], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 527 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 527 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 281  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 281 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 281], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00], ["payment_id", 128], ["updated_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00]]  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 526], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 526 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 526 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 280  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 280 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", 280], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00], ["payment_id", 129], ["updated_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements) = NULL PG::UndefinedFunction: ERREUR: la fonction sum(adherent_reglements) n'existe pas LINE 1: ...sions.amount > sum(adherent_reglements.amount) OR sum(adhere... ^ HINT: Aucune fonction ne correspond au nom donné et aux types d'arguments. Vous devez ajouter des conversions explicites de type. : SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements) = NULL  (0.1ms) 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.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", Fri, 30 Aug 2013 06:09:11 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 06:09:11 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 528], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 529], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 529], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00]] Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 529 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 529 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 283  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 283 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", 283], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00], ["payment_id", 130], ["updated_at", Fri, 30 Aug 2013 06:09:11 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", #], ["created_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 529], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 529 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 529 ORDER BY to_date  (1.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 283  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 283 SQL (0.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 283], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00], ["payment_id", 131], ["updated_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 528], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 528 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 528 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 282  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 282 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", 282], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00], ["payment_id", 132], ["updated_at", Fri, 30 Aug 2013 06:09:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements) = NULL PG::UndefinedFunction: ERREUR: la fonction sum(adherent_reglements) n'existe pas LINE 1: ...sions.amount > sum(adherent_reglements.amount) OR sum(adhere... ^ HINT: Aucune fonction ne correspond au nom donné et aux types d'arguments. Vous devez ajouter des conversions explicites de type. : SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements) = NULL  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Adherent::Member Exists (1.1ms) 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 (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", Fri, 30 Aug 2013 06:09:30 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 06:09:30 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 530], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 531], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 531], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 531 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 531 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 285  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 285 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", 285], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00], ["payment_id", 133], ["updated_at", Fri, 30 Aug 2013 06:09:30 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", #], ["created_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 531], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 531 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 531 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 285  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 285 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", 285], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00], ["payment_id", 134], ["updated_at", Fri, 30 Aug 2013 06:09:30 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", #], ["created_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 530], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 530 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 530 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 284  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 284 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", 284], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00], ["payment_id", 135], ["updated_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) = NULL  (0.4ms) 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", Fri, 30 Aug 2013 06:09:30 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:09:30 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 532], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 533], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 533], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 533 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 533 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 287  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 287 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", 287], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00], ["payment_id", 136], ["updated_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 532], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 532 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 532 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 286  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 286 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", 286], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00], ["payment_id", 137], ["updated_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) = NULL Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) = NULL LIMIT 1  (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.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) 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", Fri, 30 Aug 2013 06:09:30 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 06:09:30 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 534], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 535], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (67.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 535], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00]] Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 535 LIMIT 1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 535 ORDER BY to_date  (1.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 289  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 289 SQL (1.4ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 289], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00], ["payment_id", 138], ["updated_at", Fri, 30 Aug 2013 06:09:30 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) = NULL  (0.5ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.9ms) 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 (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", Fri, 30 Aug 2013 06:11:19 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 06:11:19 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 536], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 537], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 537], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 537 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 537 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 291  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 291 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 291], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00], ["payment_id", 139], ["updated_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL  (0.4ms) 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", Fri, 30 Aug 2013 06:11:19 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 06:11:19 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 538], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 539], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 539], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 539 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 539 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 293  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 293 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", 293], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00], ["payment_id", 140], ["updated_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 539], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 539 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 539 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 293  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 293 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", 293], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00], ["payment_id", 141], ["updated_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 538], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 538 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 538 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 292  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 292 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", 292], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00], ["payment_id", 142], ["updated_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL  (0.1ms) 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", Fri, 30 Aug 2013 06:11:19 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:11:19 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 540], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00]]  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 541], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:11:19 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", #], ["created_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 541], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00]] Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 541 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 541 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 295  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 295 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", 295], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00], ["payment_id", 143], ["updated_at", Fri, 30 Aug 2013 06:11:19 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", #], ["created_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 540], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 540 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 540 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 294  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 294 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", 294], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00], ["payment_id", 144], ["updated_at", Fri, 30 Aug 2013 06:11:19 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.3ms) BEGIN Adherent::Member Exists (0.4ms) 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 (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", Fri, 30 Aug 2013 06:12:23 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' AND "adherent_members"."organism_id" = 1) 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", Fri, 30 Aug 2013 06:12:23 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 542], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00]]  (0.8ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 543], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 543], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 543 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 543 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 297  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 297 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 297], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00], ["payment_id", 145], ["updated_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL  (0.6ms) 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.4ms) 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", Fri, 30 Aug 2013 06:12:23 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:12:23 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 544], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 545], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:12:23 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", #], ["created_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 545], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 545 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 545 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 299  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 299 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", 299], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00], ["payment_id", 146], ["updated_at", Fri, 30 Aug 2013 06:12:23 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", #], ["created_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 544], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 544 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 544 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 298 SQL (0.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 298], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00], ["payment_id", 147], ["updated_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1  (0.1ms) 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.3ms) 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", Fri, 30 Aug 2013 06:12:23 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 06:12:23 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 546], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 547], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 547], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 547 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 547 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 301  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 301 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", 301], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00], ["payment_id", 148], ["updated_at", Fri, 30 Aug 2013 06:12:23 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", #], ["created_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 547], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 547 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 547 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 301  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 301 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", 301], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00], ["payment_id", 149], ["updated_at", Fri, 30 Aug 2013 06:12:23 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", #], ["created_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 546], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 546 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 546 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 300  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 300 SQL (1.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 300], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00], ["payment_id", 150], ["updated_at", Fri, 30 Aug 2013 06:12:23 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as ramount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.9ms) 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 (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", Fri, 30 Aug 2013 06:14:04 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 06:14:04 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 548], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.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", #], ["created_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 549], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 549], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 549 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 549 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 303  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 303 SQL (0.8ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 303], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00], ["payment_id", 151], ["updated_at", Fri, 30 Aug 2013 06:14:04 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", #], ["created_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 549], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 549 LIMIT 1 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 549 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 303  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 303 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", 303], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00], ["payment_id", 152], ["updated_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00]]  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 548], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 548 LIMIT 1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 548 ORDER BY to_date  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 302  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 302 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", 302], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00], ["payment_id", 153], ["updated_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL  (0.5ms) 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.4ms) 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", Fri, 30 Aug 2013 06:14:04 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:14:04 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 550], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 551], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 551], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 551 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 551 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 305  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 305 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", 305], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00], ["payment_id", 154], ["updated_at", Fri, 30 Aug 2013 06:14:04 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", #], ["created_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 550], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00]] Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 550 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 550 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 304  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 304 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", 304], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00], ["payment_id", 155], ["updated_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN 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  (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", Fri, 30 Aug 2013 06:14:04 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:14:04 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 552], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:14:04 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", #], ["created_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 553], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 553], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 553 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 553 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 307  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 307 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", 307], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00], ["payment_id", 156], ["updated_at", Fri, 30 Aug 2013 06:14:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.8ms) 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 (1.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", Fri, 30 Aug 2013 06:15:14 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:15:14 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 554], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 555], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:15:14 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", #], ["created_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 555], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 555 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 555 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 309  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 309 SQL (0.8ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 309], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00], ["payment_id", 157], ["updated_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Adhesion Load (1.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1  (0.4ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.5ms) 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", Fri, 30 Aug 2013 06:15:14 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:15:14 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 556], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (44.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 557], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 557], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00]] Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 557 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 557 ORDER BY to_date  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 311  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 311 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", 311], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00], ["payment_id", 158], ["updated_at", Fri, 30 Aug 2013 06:15:14 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", #], ["created_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 556], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 556 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 556 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 310  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 310 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", 310], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00], ["payment_id", 159], ["updated_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1  (0.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.4ms) 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.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", Fri, 30 Aug 2013 06:15:14 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:15:14 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 558], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 559], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 559], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 559 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 559 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 313  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 313 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", 313], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00], ["payment_id", 160], ["updated_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 559], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 559 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 559 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 313  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 313 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", 313], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00], ["payment_id", 161], ["updated_at", Fri, 30 Aug 2013 06:15:14 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", #], ["created_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 558], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 558 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 558 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 312  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 312 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", 312], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00], ["payment_id", 162], ["updated_at", Fri, 30 Aug 2013 06:15:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Adherent::Member Exists (0.9ms) 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 (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", Fri, 30 Aug 2013 06:16:04 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 06:16:04 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 560], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 561], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 561], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 561 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 561 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 315  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 315 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 315], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00], ["payment_id", 163], ["updated_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY "adherent_adhesions"."id" DESC LIMIT 1  (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", Fri, 30 Aug 2013 06:16:04 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 06:16:04 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 562], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 563], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 563], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 563 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 563 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 317  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 317 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", 317], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00], ["payment_id", 164], ["updated_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 563], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 563 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 563 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 317  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 317 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 317], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00], ["payment_id", 165], ["updated_at", Fri, 30 Aug 2013 06:16:04 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", #], ["created_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 562], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 562 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 562 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 316  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 316 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", 316], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00], ["payment_id", 166], ["updated_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL  (0.2ms) 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.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", Fri, 30 Aug 2013 06:16:04 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (1.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", Fri, 30 Aug 2013 06:16:04 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 564], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:16:04 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", #], ["created_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 565], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 565], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 565 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 565 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 319  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 319 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", 319], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00], ["payment_id", 167], ["updated_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 564], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 564 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 564 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 318  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 318 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", 318], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00], ["payment_id", 168], ["updated_at", Fri, 30 Aug 2013 06:16:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.8ms) BEGIN Adherent::Member Exists (0.6ms) 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 (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", Fri, 30 Aug 2013 06:16:44 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:16:44 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 566], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:16:44 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", #], ["created_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 567], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 567], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 567 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 567 ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 321  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 321 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 321], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00], ["payment_id", 169], ["updated_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY "adherent_adhesions"."id" DESC LIMIT 1  (0.5ms) 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.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", Fri, 30 Aug 2013 06:16:44 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:16:44 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 568], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 569], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 569], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 569 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 569 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 323  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 323 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", 323], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00], ["payment_id", 170], ["updated_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 569], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 569 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 569 ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 323  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 323 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", 323], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00], ["payment_id", 171], ["updated_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00]]  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 568], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00]] Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 568 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 568 ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 322  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 322 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", 322], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00], ["payment_id", 172], ["updated_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL  (0.1ms) 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", Fri, 30 Aug 2013 06:16:44 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:16:44 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 570], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 571], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:16:44 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", #], ["created_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 571], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 571 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 571 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 325  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 325 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", 325], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00], ["payment_id", 173], ["updated_at", Fri, 30 Aug 2013 06:16:44 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", #], ["created_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 570], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 570 LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 570 ORDER BY to_date  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 324  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 324 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", 324], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00], ["payment_id", 174], ["updated_at", Fri, 30 Aug 2013 06:16:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1  (0.4ms) ROLLBACK Connecting to database specified by database.yml  (0.3ms) BEGIN Adherent::Member Exists (0.4ms) 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 (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", Fri, 30 Aug 2013 06:17:09 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:17:09 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 572], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 573], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 573], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 573 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 573 ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 327  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 327 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", 327], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00], ["payment_id", 175], ["updated_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY "adherent_adhesions"."id" DESC LIMIT 1  (0.4ms) 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.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", Fri, 30 Aug 2013 06:17:09 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:17:09 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00]]  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 574], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 575], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 575], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00]] Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 575 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 575 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 329  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 329 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", 329], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00], ["payment_id", 176], ["updated_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00]]  (0.6ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 574], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 574 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 574 ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 328  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 328 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", 328], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00], ["payment_id", 177], ["updated_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN 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  (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.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", Fri, 30 Aug 2013 06:17:09 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 06:17:09 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 576], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:17:09 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", #], ["created_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 577], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 577], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00]] Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 577 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 577 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 331  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 331 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", 331], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00], ["payment_id", 178], ["updated_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 577], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 577 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 577 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 331  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 331 SQL (0.8ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 331], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00], ["payment_id", 179], ["updated_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 576], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 576 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 576 ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 330  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 330 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", 330], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00], ["payment_id", 180], ["updated_at", Fri, 30 Aug 2013 06:17:09 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Adherent::Member Exists (1.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.0ms) BEGIN Adherent::Member Exists (0.4ms) 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.5ms) 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.0ms) BEGIN 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  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) 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", Tue, 06 Jun 1944], ["created_at", Fri, 30 Aug 2013 06:20:08 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:20:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Fri, 30 Aug 2013 06:20:08 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:20:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.0ms) 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", Fri, 30 Aug 2013 06:20:08 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:20:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 2) LIMIT 1  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Adhesion Load (0.7ms) 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.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.0ms) BEGIN Adherent::Adhesion Load (2.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (2.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) 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", Fri, 30 Aug 2013 06:20:09 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:20:09 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 581 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 581 ORDER BY to_date DESC LIMIT 1  (1.3ms) SAVEPOINT active_record_1 SQL (4.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", #], ["created_at", Fri, 30 Aug 2013 06:20:09 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 581], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:20:09 UTC +00:00]]  (4.7ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 581 Adherent::Adhesion Load (3.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 581 ORDER BY to_date DESC LIMIT 1  (3.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (1.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", Fri, 30 Aug 2013 06:20:09 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:20:09 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" = 582 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 582 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (8.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", #], ["created_at", Fri, 30 Aug 2013 06:20:09 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 582], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:20:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 582 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 582 ORDER BY to_date DESC LIMIT 1  (1.7ms) ROLLBACK  (1.3ms) BEGIN  (0.6ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) 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", Fri, 30 Aug 2013 06:20:09 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:20:09 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 583 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 583 ORDER BY to_date DESC LIMIT 1  (0.9ms) SAVEPOINT active_record_1 SQL (3.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", #], ["created_at", Fri, 30 Aug 2013 06:20:09 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 583], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:20:09 UTC +00:00]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 583 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 583 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) 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.0ms) 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.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (1.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", Fri, 30 Aug 2013 06:23:55 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:23:55 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" = 584 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 584 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", #], ["created_at", Fri, 30 Aug 2013 06:23:55 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 584], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:23:55 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" = 584 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 584 ORDER BY to_date DESC LIMIT 1  (0.4ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) 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", Fri, 30 Aug 2013 06:23:55 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:23:55 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" = 585 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 585 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", #], ["created_at", Fri, 30 Aug 2013 06:23:55 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 585], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:23:55 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" = 585 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 585 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' 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", Fri, 30 Aug 2013 06:23:55 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:23:55 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" = 586 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 586 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", #], ["created_at", Fri, 30 Aug 2013 06:23:55 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 586], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:23:55 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" = 586 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 586 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (3.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) ROLLBACK  (0.0ms) 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.3ms) 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.0ms) BEGIN Adherent::Member Exists (0.2ms) 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.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Fri, 30 Aug 2013 06:23:55 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:23:55 UTC +00:00]]  (0.1ms) RELEASE 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" = 2) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' 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", Fri, 30 Aug 2013 06:23:55 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:23:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (1.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Tue, 06 Jun 1944], ["created_at", Fri, 30 Aug 2013 06:23:55 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:23:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.6ms) 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.1ms) BEGIN Adherent::Member Exists (0.6ms) 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.0ms) BEGIN 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  (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  (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 (37.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", Tue, 06 Jun 1944], ["created_at", Fri, 30 Aug 2013 06:24:31 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:24:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) 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.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", Fri, 30 Aug 2013 06:24:31 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:24:31 UTC +00:00]]  (0.1ms) RELEASE 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  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' 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", Fri, 30 Aug 2013 06:24:31 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:24:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.3ms) ROLLBACK  (0.0ms) BEGIN Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) 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", Fri, 30 Aug 2013 06:24:32 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:24:32 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" = 593 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 593 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", #], ["created_at", Fri, 30 Aug 2013 06:24:32 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 593], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:24:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 593 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 593 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) 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.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", Fri, 30 Aug 2013 06:24:32 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:24:32 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" = 594 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 594 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", #], ["created_at", Fri, 30 Aug 2013 06:24:32 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 594], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:24:32 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" = 594 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 594 ORDER BY to_date DESC 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.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", Fri, 30 Aug 2013 06:24:32 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:24:32 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" = 595 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 595 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", #], ["created_at", Fri, 30 Aug 2013 06:24:32 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 595], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:24:32 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" = 595 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 595 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Adherent::Member Exists (0.6ms) 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.1ms) BEGIN Adherent::Member Exists (0.6ms) 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.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.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.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) 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", Tue, 06 Jun 1944], ["created_at", Fri, 30 Aug 2013 06:25:18 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:25:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.0ms) 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.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", Fri, 30 Aug 2013 06:25:18 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:25:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.5ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Fri, 30 Aug 2013 06:25:18 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:25:18 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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.1ms) ROLLBACK  (0.0ms) 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.0ms) 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  (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", Fri, 30 Aug 2013 06:25:18 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:25:18 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" = 599 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 599 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", #], ["created_at", Fri, 30 Aug 2013 06:25:18 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 599], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:25:18 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" = 599 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 599 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) 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.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", Fri, 30 Aug 2013 06:25:18 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:25:18 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" = 600 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 600 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", #], ["created_at", Fri, 30 Aug 2013 06:25:18 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 600], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:25:18 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" = 600 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 600 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Fri, 30 Aug 2013 06:25:18 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:25:18 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" = 601 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 601 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", #], ["created_at", Fri, 30 Aug 2013 06:25:18 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 601], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:25:18 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" = 601 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 601 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (0.8ms) 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 (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", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 602], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:26:15 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", #], ["created_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 603], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 603], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00]] Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 603 LIMIT 1 Adherent::Adhesion Load (1.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 603 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 345 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 345], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["payment_id", 181], ["updated_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY "adherent_adhesions"."id" DESC LIMIT 1  (0.4ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.4ms) 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", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 604], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:26:15 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", #], ["created_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 605], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 605], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 605 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 605 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 347 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", 347], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["payment_id", 182], ["updated_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00]]  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 604], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 604 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 604 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 346 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", 346], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["payment_id", 183], ["updated_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1  (0.1ms) 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", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 606], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 607], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 607], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 607 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 607 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 349 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", 349], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["payment_id", 184], ["updated_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 607], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 607 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 607 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 349 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", 349], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["payment_id", 185], ["updated_at", Fri, 30 Aug 2013 06:26:15 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", #], ["created_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 606], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 606 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 606 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 348 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", 348], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["payment_id", 186], ["updated_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL  (0.1ms) 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 (18.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00]]  (0.1ms) RELEASE 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" = 284) LIMIT 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" = 284) 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", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 284], ["updated_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00]]  (0.1ms) RELEASE 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" = 284) LIMIT 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" = 284) 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", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 284], ["updated_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00]]  (0.1ms) RELEASE 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" = 284) LIMIT 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" = 284) 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", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 284], ["updated_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00]]  (0.1ms) RELEASE 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" = 284) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 284) 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", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 284], ["updated_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00]]  (0.1ms) RELEASE 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" = 284) LIMIT 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" = 284) 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", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 284], ["updated_at", Fri, 30 Aug 2013 06:26:15 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/new" for 127.0.0.1 at 2013-08-30 08:26:15 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (1.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (85.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/new.html.erb within layouts/adherent/application (91.8ms) Rendered layouts/adherent/_header.html.haml (1.2ms) 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.1ms) Completed 200 OK in 122ms (Views: 116.3ms | ActiveRecord: 1.1ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members" Started POST "/adherent/members" for 127.0.0.1 at 2013-08-30 08:26:15 +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.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'ADH1' AND "adherent_members"."organism_id" = 284) 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", Fri, 30 Aug 2013 06:26:15 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 284], ["updated_at", Fri, 30 Aug 2013 06:26:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/613/coord/new Completed 302 Found in 10ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/613/coord/new" for 127.0.0.1 at 2013-08-30 08:26:15 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"613"} 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", "613"]] Adherent::Coord Load (10.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 613 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (14.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/new.html.erb within layouts/adherent/application (16.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 76ms (Views: 21.0ms | ActiveRecord: 19.6ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"   (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (4.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (6.4ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.9ms) 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.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (11.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", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (4.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (5.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", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (4.4ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 614], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.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", #], ["created_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 615], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.8ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 615], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 615 LIMIT 1 Adherent::Adhesion Load (1.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 615 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 351 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 351], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["payment_id", 187], ["updated_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1 Adherent::Adhesion Load (1.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY "adherent_adhesions"."id" DESC LIMIT 1  (7.4ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.4ms) 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", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' AND "adherent_members"."organism_id" = 1) 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", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (3.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", #], ["created_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 616], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 617], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (4.5ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 617], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 617 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 617 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (3.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 353 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", 353], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["payment_id", 188], ["updated_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.5ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 617], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00]] Adherent::Member Load (6.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 617 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 617 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 353 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", 353], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["payment_id", 189], ["updated_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 616], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 616 LIMIT 1 Adherent::Adhesion Load (1.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 616 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 352 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", 352], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["payment_id", 190], ["updated_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL  (0.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (2.1ms) 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 (3.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' 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", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (5.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26: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", #], ["created_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 618], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 619], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:26: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", #], ["created_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 619], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 619 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 619 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 355 SQL (6.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 355], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["payment_id", 191], ["updated_at", Fri, 30 Aug 2013 06:26: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", #], ["created_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 618], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 618 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 618 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (3.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 354 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", 354], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["payment_id", 192], ["updated_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Adhesion Load (3.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1  (0.1ms) ROLLBACK  (1.0ms) BEGIN  (7.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (2.0ms) ROLLBACK  (0.1ms) BEGIN  (3.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 356  (0.1ms) SAVEPOINT active_record_1 SQL (4.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 356], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 356  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (4.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", #], ["created_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 357  (0.1ms) SAVEPOINT active_record_1 SQL (4.9ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 357], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:45 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" = 358  (3.3ms) SAVEPOINT active_record_1 SQL (11.8ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 358], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:45 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 358  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 358  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (3.5ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (2.5ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1001"} Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1001/payments Completed 302 Found in 23ms (ActiveRecord: 10.1ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1003"} Organism Load (0.1ms) 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", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 5.7ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1005"} 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", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1005/payments Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1007", "id"=>"1008"} 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", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1009"} 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", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.0ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1011"} 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", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1012"} 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", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.5ms) 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.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", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 620], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:26:47 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", #], ["created_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 621], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 621], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 621 LIMIT 1 Adherent::Adhesion Load (2.0ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 621 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 360 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", 360], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["payment_id", 193], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Adhesion Load (1.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY "adherent_adhesions"."id" DESC LIMIT 1  (0.1ms) 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.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", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.4ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 622], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 623], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 623], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 623 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 623 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 362 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", 362], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["payment_id", 194], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.3ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 623], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 623 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 623 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 362 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", 362], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["payment_id", 195], ["updated_at", Fri, 30 Aug 2013 06:26:47 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", #], ["created_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 622], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 622 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 622 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 361 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", 361], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["payment_id", 196], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL  (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.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", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:47 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", #], ["created_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 624], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 625], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:26:47 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", #], ["created_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 625], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 625 LIMIT 1 Adherent::Adhesion Load (1.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 625 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 364 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", 364], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["payment_id", 197], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (2.5ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 624], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 624 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 624 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 363 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", 363], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["payment_id", 198], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.7ms) ROLLBACK  (0.1ms) BEGIN  (0.9ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (5.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (2.1ms) ROLLBACK  (0.1ms) BEGIN  (1.5ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (1.0ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (2.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 365  (2.0ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 365], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:47 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" = 365  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (3.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 366  (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", 366], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (22.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", #], ["created_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 367  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 367], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 367  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 367  (0.4ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) 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.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1013"} 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", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1013/adhesions Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1015"} 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", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 2.8ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1017"} 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", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1017/adhesions Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1019", "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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1021", "id"=>"1"} Organism Load (0.3ms) 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", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1023", "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", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1023/adhesions Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1025", "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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1025/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1027", "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", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1029", "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", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1031"} 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", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.6ms | ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1033"} 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", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1034"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.6ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"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.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1035/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.4ms) 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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:48 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", #], ["created_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 626], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 06:26:48 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" = 626 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 626 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", #], ["created_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 626], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 626], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 626 LIMIT 1 Adherent::Adhesion Load (86.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 626 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (1.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 368 SQL (1.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 368], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["payment_id", 199], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 369 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", 369], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["payment_id", 199], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' 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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 627], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 06:26:48 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" = 627 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 627 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", #], ["created_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 627], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 06:26:48 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", #], ["created_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 627], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]] Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 627 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 627 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 370 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", 370], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["payment_id", 200], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 371 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 371], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["payment_id", 200], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 200  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 200  (0.1ms) 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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 628], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 628 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 628 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", #], ["created_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 628], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.0ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 628], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 628 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 628 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 372 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", 372], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["payment_id", 201], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1036"} 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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1037"} Organism Load (0.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.4ms) 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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 6ms (ActiveRecord: 2.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} 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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) 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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:48 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.2ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 309 Completed 200 OK in 8ms (Views: 1.1ms | ActiveRecord: 1.1ms)  (0.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.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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.8ms | ActiveRecord: 0.9ms)  (10.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Organism Load (0.3ms) 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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} 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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:48 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" = 'A001' AND "adherent_members"."organism_id" = 313) 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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 313], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/629/coord/new Completed 302 Found in 9ms (ActiveRecord: 1.6ms)  (0.1ms) 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.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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:48 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" = 'A001' AND "adherent_members"."organism_id" = 314) 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", Mon, 06 Jun 1955], ["created_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 314], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/630/coord/new Completed 302 Found in 9ms (ActiveRecord: 1.6ms)  (0.1ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 0.8ms)  (0.1ms) 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.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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:48 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" = 'A001' AND "adherent_members"."organism_id" = 316) 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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 316], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/631/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1042"} Organism Load (0.5ms) 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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1043"} 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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1043 Completed 302 Found in 6ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1044"} 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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1044 Completed 302 Found in 8ms (ActiveRecord: 0.9ms)  (0.0ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1045"} 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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1045 Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML 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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.0ms) 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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE 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" = 322) LIMIT 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" = 322) 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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 322], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE 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" = 322) LIMIT 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" = 322) 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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 322], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE 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" = 322) LIMIT 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" = 322) 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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 322], ["updated_at", Fri, 30 Aug 2013 06:26:48 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" = 632 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 632 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 632], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/632/payments/new" for 127.0.0.1 at 2013-08-30 08:26:48 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"632"} 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", "632"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 632 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 374 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (91.0ms) Rendered layouts/adherent/_header.html.haml (0.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (1.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 114ms (Views: 106.2ms | ActiveRecord: 1.7ms) Started POST "/adherent/members/632/payments" for 127.0.0.1 at 2013-08-30 08:26:48 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"632"} 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"."id" = $1 LIMIT 1 [["id", "632"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 632], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 632 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 632 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 374 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", 374], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["payment_id", 202], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/632/payments Completed 302 Found in 13ms (ActiveRecord: 3.3ms) Started GET "/adherent/members/632/payments" for 127.0.0.1 at 2013-08-30 08:26:48 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"632"} 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", "632"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 632 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 202 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 374 LIMIT 1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 632 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 202  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 202 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 202 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 202 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 632 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (20.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 32ms (Views: 27.3ms | ActiveRecord: 2.9ms)  (0.2ms) SHOW max_identifier_length  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 632 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE 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" = 323) LIMIT 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" = 323) 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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 323], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE 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" = 323) LIMIT 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" = 323) 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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 323], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE 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" = 323) LIMIT 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" = 323) 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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 323], ["updated_at", Fri, 30 Aug 2013 06:26:48 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" = 635 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 635 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", #], ["created_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 635], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/635/payments/new" for 127.0.0.1 at 2013-08-30 08:26:48 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"635"} Organism Load (0.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", "635"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 635 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 375 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.0ms) Completed 200 OK in 16ms (Views: 8.2ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/635/payments" for 127.0.0.1 at 2013-08-30 08:26:48 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"635"} 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", "635"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 635], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 635 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 635 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 375 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", 375], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["payment_id", 203], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/635/payments Completed 302 Found in 12ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/635/payments" for 127.0.0.1 at 2013-08-30 08:26:48 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"635"} 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", "635"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 635 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 203 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 375 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 635 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 203  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 203 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 203 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 203 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 635 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.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 18ms (Views: 13.9ms | ActiveRecord: 2.3ms) Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 635 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 375  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE 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" = 324) LIMIT 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" = 324) 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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 324], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE 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" = 324) LIMIT 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" = 324) 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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 324], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE 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" = 324) LIMIT 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" = 324) 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", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 324], ["updated_at", Fri, 30 Aug 2013 06:26:48 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" = 638 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 638 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", #], ["created_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 638], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/638/payments/new" for 127.0.0.1 at 2013-08-30 08:26:48 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"638"} 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", "638"]] Adherent::Adhesion Load (0.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 638 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 376 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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 16ms (Views: 7.8ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/638/payments" for 127.0.0.1 at 2013-08-30 08:26:48 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"638"} 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", "638"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 638], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 638 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 638 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 376 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", 376], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00], ["payment_id", 204], ["updated_at", Fri, 30 Aug 2013 06:26:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/638/payments Completed 302 Found in 13ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/638/payments" for 127.0.0.1 at 2013-08-30 08:26:48 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"638"} 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", "638"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 638 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 204 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 376 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 638 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 204  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 204 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 204 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 204 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 638 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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: 12.3ms | ActiveRecord: 2.4ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 638 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 639 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 639 ORDER BY to_date DESC LIMIT 1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 639], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:49 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" = 640 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 640 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", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 640], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/204/reglements/new" for 127.0.0.1 at 2013-08-30 08:26:49 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"204"} 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", "204"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 638 LIMIT 1 Adherent::Reglement Load (1.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 204  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 204 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 204 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 204 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 639 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 377 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 640 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 378 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (14.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 29ms (Views: 19.6ms | ActiveRecord: 4.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE 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" = 325) LIMIT 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" = 325) LIMIT 1 SQL (7.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", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 325], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE 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" = 325) LIMIT 1  (0.7ms) 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" = 325) 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", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 325], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE 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" = 325) LIMIT 1  (0.0ms) 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" = 325) 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", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 325], ["updated_at", Fri, 30 Aug 2013 06:26:49 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" = 641 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 641 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", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 641], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/641/payments/new" for 127.0.0.1 at 2013-08-30 08:26:49 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"641"} 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", "641"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 641 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 379 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 15ms (Views: 8.8ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/641/payments" for 127.0.0.1 at 2013-08-30 08:26:49 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"641"} 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", "641"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 641], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 641 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 641 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 379 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", 379], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["payment_id", 205], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/641/payments Completed 302 Found in 15ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/641/payments" for 127.0.0.1 at 2013-08-30 08:26:49 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"641"} 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", "641"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 641 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 205 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 379 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 641 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 205  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 205 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 205 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 205 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 641 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (8.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 17ms (Views: 12.7ms | ActiveRecord: 2.3ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 641 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 642 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 642 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", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 642], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:49 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" = 643 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 643 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", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 643], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/205/reglements/new" for 127.0.0.1 at 2013-08-30 08:26:49 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"205"} 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", "205"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 641 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 205  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 205 Adherent::Reglement Load (3.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 205 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 205 Adherent::Adhesion Load (3.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 643 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 381 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 642 LIMIT 1  (1.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 380 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (20.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 37ms (Views: 18.9ms | ActiveRecord: 10.4ms)  (0.3ms) ROLLBACK  (0.4ms) BEGIN  (0.0ms) COMMIT  (0.1ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.4ms) 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", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.4ms) RELEASE 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" = 326) LIMIT 1  (0.3ms) 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" = 326) 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", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 326], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE 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" = 326) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 326) 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", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 326], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 326) LIMIT 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" = 326) 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", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 326], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 644 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 644 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", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 644], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/644/payments/new" for 127.0.0.1 at 2013-08-30 08:26:49 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"644"} 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", "644"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 644 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 382 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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 16ms (Views: 8.8ms | ActiveRecord: 2.3ms) Started POST "/adherent/members/644/payments" for 127.0.0.1 at 2013-08-30 08:26:49 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"644"} 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", "644"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 644], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 644 LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 644 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 382 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", 382], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["payment_id", 206], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/644/payments Completed 302 Found in 12ms (ActiveRecord: 3.2ms) Started GET "/adherent/members/644/payments" for 127.0.0.1 at 2013-08-30 08:26:49 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"644"} 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", "644"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 644 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 206 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 382 LIMIT 1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 644 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 206  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 206 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 206 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 206 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 644 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (11.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.0ms) Completed 200 OK in 19ms (Views: 14.5ms | ActiveRecord: 2.7ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 644 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 645 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 645 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", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 645], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:49 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" = 646 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 646 ORDER BY to_date DESC LIMIT 1  (0.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", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 646], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/206/reglements/new" for 127.0.0.1 at 2013-08-30 08:26:49 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"206"} 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", "206"]] Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 644 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 206  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 206 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 206 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 206 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 646 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 384 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 645 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 383 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (10.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 20ms (Views: 12.9ms | ActiveRecord: 3.4ms)  (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", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE 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" = 327) LIMIT 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" = 327) 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", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 327], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE 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" = 327) LIMIT 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" = 327) 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", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 327], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE 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" = 327) LIMIT 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" = 327) 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", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 327], ["updated_at", Fri, 30 Aug 2013 06:26:49 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" = 647 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 647 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", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 647], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/647/payments/new" for 127.0.0.1 at 2013-08-30 08:26:49 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"647"} Organism Load (0.6ms) 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", "647"]] Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 647 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 385 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.5ms) 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 18ms (Views: 10.6ms | ActiveRecord: 1.7ms) Started POST "/adherent/members/647/payments" for 127.0.0.1 at 2013-08-30 08:26:49 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"647"} 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", "647"]]  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 647], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 647 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 647 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 385 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", 385], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["payment_id", 207], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/647/payments Completed 302 Found in 13ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/647/payments" for 127.0.0.1 at 2013-08-30 08:26:49 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"647"} 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", "647"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 647 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 207 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 385 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 647 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 207  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 207 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 207 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 207 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 647 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 16ms (Views: 12.1ms | ActiveRecord: 2.3ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 647 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 648 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 648 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (5.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", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 648], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:49 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" = 649 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 649 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", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 649], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/207/reglements/new" for 127.0.0.1 at 2013-08-30 08:26:49 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"207"} 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", "207"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 647 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 207  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 207 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 207 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 207 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 648 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 386 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 649 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 387 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (11.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 22ms (Views: 14.5ms | ActiveRecord: 3.1ms) Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 647 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 647 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 207  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 207  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE 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" = 328) LIMIT 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" = 328) 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", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 328], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.2ms) RELEASE 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" = 328) LIMIT 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" = 328) 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", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 328], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE 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" = 328) LIMIT 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" = 328) 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", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 328], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 650 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 650 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", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 650], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/650/payments/new" for 127.0.0.1 at 2013-08-30 08:26:49 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"650"} 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", "650"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 650 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 388 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.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 15ms (Views: 9.1ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/650/payments" for 127.0.0.1 at 2013-08-30 08:26:49 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"650"} 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", "650"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 650], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 650 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 650 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 388 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", 388], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["payment_id", 208], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/650/payments Completed 302 Found in 12ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/650/payments" for 127.0.0.1 at 2013-08-30 08:26:49 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"650"} 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", "650"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 650 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 208 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 388 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 650 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 208  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 208 Adherent::Reglement Load (0.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 208 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 208 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 650 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.3ms) 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: 11.8ms | ActiveRecord: 2.8ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 650 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 651 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 651 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", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 651], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:49 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" = 652 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 652 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", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 652], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/208/reglements/new" for 127.0.0.1 at 2013-08-30 08:26:49 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"208"} 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", "208"]] Adherent::Member Load (1.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 650 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 208  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 208 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 208 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 208 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 652 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 390 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 651 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 389 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (10.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 21ms (Views: 12.3ms | ActiveRecord: 4.7ms) Started POST "/adherent/payments/208/reglements" for 127.0.0.1 at 2013-08-30 08:26:49 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"389"}, "commit"=>"Enregistrer", "payment_id"=>"208"} 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", "208"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "389"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 208  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 208  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 389  (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", 389], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["payment_id", 208], ["updated_at", Fri, 30 Aug 2013 06:26:49 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" = 650 LIMIT 1 Redirected to http://www.example.com/adherent/members/650/payments Completed 302 Found in 10ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/650/payments" for 127.0.0.1 at 2013-08-30 08:26:49 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"650"} 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", "650"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 650 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 208 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 388 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 650 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 389 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 651 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 208  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 208 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 208 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 208 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 650 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (11.6ms) 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 19ms (Views: 14.6ms | ActiveRecord: 2.8ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" ORDER BY "adherent_reglements"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 389 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 651 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.0ms) RELEASE 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" = 329) LIMIT 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" = 329) 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", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 329], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 329) LIMIT 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" = 329) 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", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 329], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE 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" = 329) LIMIT 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" = 329) 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", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 329], ["updated_at", Fri, 30 Aug 2013 06:26:49 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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 653 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 653 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", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 653], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/653/payments/new" for 127.0.0.1 at 2013-08-30 08:26:49 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"653"} 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", "653"]] Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 653 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 391 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 16ms (Views: 8.1ms | ActiveRecord: 1.7ms) Started POST "/adherent/members/653/payments" for 127.0.0.1 at 2013-08-30 08:26:49 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"653"} 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", "653"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 653], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 653 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 653 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 391 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", 391], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["payment_id", 209], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/653/payments Completed 302 Found in 14ms (ActiveRecord: 3.1ms) Started GET "/adherent/members/653/payments" for 127.0.0.1 at 2013-08-30 08:26:49 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"653"} 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", "653"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 653 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 209 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 391 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 653 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 209  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 209 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 209 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 209 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 653 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (8.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 16ms (Views: 11.8ms | ActiveRecord: 2.3ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 653 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 654 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 654 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", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 654], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:49 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" = 655 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 655 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", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 655], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/209/reglements/new" for 127.0.0.1 at 2013-08-30 08:26:49 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"209"} 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", "209"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 653 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 209  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 209 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 209 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 209 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 654 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 392 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 655 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 393 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (10.7ms) 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 22ms (Views: 14.6ms | ActiveRecord: 3.0ms) Started POST "/adherent/payments/209/reglements" for 127.0.0.1 at 2013-08-30 08:26:49 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"392"}, "commit"=>"Enregistrer", "payment_id"=>"209"} 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", "209"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "392"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 209  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 209  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 392  (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", 392], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["payment_id", 209], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 653 LIMIT 1 Redirected to http://www.example.com/adherent/members/653/payments Completed 302 Found in 10ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/653/payments" for 127.0.0.1 at 2013-08-30 08:26:49 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"653"} 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", "653"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 653 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 209 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 391 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 653 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 392 LIMIT 1 Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 654 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 209  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 209 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 209 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 209 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 653 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (11.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: 14.1ms | ActiveRecord: 3.4ms) Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 654 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 392  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) 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", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE 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" = 330) LIMIT 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" = 330) 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", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 330], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE 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" = 330) LIMIT 1  (0.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" = 330) 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", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 330], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE 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" = 330) LIMIT 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" = 330) 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", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 330], ["updated_at", Fri, 30 Aug 2013 06:26:49 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" = 656 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 656 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", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 656], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/656/payments/new" for 127.0.0.1 at 2013-08-30 08:26:49 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"656"} 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", "656"]] Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 656 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 394 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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 17ms (Views: 8.0ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/656/payments" for 127.0.0.1 at 2013-08-30 08:26:49 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"656"} 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", "656"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 656], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 656 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 656 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 394 SQL (0.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 394], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00], ["payment_id", 210], ["updated_at", Fri, 30 Aug 2013 06:26:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/656/payments Completed 302 Found in 15ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/656/payments" for 127.0.0.1 at 2013-08-30 08:26:49 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"656"} 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", "656"]] Adherent::Payment Load (0.9ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 656 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 210 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 394 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 656 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 210  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 210 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 210 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 210 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 656 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.5ms) 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 19ms (Views: 13.5ms | ActiveRecord: 3.2ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 656 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 657 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 657 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", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 657], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:50 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" = 658 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 658 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", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 658], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/210/reglements/new" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"210"} 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", "210"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 656 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 210  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 210 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 210 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 210 Adherent::Adhesion Load (1.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 658 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 396 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 657 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 395 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (12.4ms) 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 22ms (Views: 13.2ms | ActiveRecord: 4.4ms) Started POST "/adherent/payments/210/reglements" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"395"}, "commit"=>"Enregistrer", "payment_id"=>"210"} 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", "210"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "395"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 210  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 210  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 395  (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", 395], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["payment_id", 210], ["updated_at", Fri, 30 Aug 2013 06:26:50 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" = 656 LIMIT 1 Redirected to http://www.example.com/adherent/members/656/payments Completed 302 Found in 10ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/656/payments" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"656"} 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", "656"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 656 Adherent::Reglement Load (0.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 210 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 394 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 656 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 395 LIMIT 1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 657 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 210  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 210 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 210 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 210 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 656 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (13.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 21ms (Views: 17.1ms | ActiveRecord: 2.7ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 394 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 656 LIMIT 1  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 331) LIMIT 1  (0.0ms) 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" = 331) 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", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 331], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 331) LIMIT 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" = 331) 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", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 331], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 331) LIMIT 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" = 331) 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", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 331], ["updated_at", Fri, 30 Aug 2013 06:26:50 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" = 659 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 659 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", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 659], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/659/payments/new" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"659"} 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", "659"]] Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 659 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 397 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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 16ms (Views: 7.9ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/659/payments" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"659"} 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", "659"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 659], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 659 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 659 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 397 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", 397], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["payment_id", 211], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/659/payments Completed 302 Found in 13ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/659/payments" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"659"} 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", "659"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 659 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 211 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 397 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 659 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 211  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 211 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 211 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 211 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 659 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.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.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 17ms (Views: 12.3ms | ActiveRecord: 2.6ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 659 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 660 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 660 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", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 660], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:50 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" = 661 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 661 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", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 661], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/211/reglements/new" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"211"} 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", "211"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 659 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 211  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 211 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 211 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 211 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 661 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 399 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 660 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 398 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (10.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 21ms (Views: 13.3ms | ActiveRecord: 3.5ms) Started POST "/adherent/payments/211/reglements" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"398"}, "commit"=>"Enregistrer", "payment_id"=>"211"} Organism Load (1.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (4.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "211"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "398"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 211  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 211  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 398  (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", 398], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["payment_id", 211], ["updated_at", Fri, 30 Aug 2013 06:26:50 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" = 659 LIMIT 1 Redirected to http://www.example.com/adherent/members/659/payments Completed 302 Found in 17ms (ActiveRecord: 8.6ms) Started GET "/adherent/members/659/payments" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"659"} 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", "659"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 659 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 211 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 397 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 659 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 398 LIMIT 1 Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 660 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 211  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 211 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 211 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 211 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 659 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (12.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 20ms (Views: 15.3ms | ActiveRecord: 3.0ms) Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements"   (0.1ms) 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.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", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 332) LIMIT 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" = 332) 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", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 332], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 332) LIMIT 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" = 332) 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", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 332], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 332) LIMIT 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" = 332) 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", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 332], ["updated_at", Fri, 30 Aug 2013 06:26:50 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" = 662 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 662 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", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 662], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/662/payments/new" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"662"} Organism Load (1.8ms) 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", "662"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 662 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 400 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 18ms (Views: 10.0ms | ActiveRecord: 2.9ms) Started POST "/adherent/members/662/payments" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"662"} 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"."id" = $1 LIMIT 1 [["id", "662"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 662], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 662 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 662 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 400 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", 400], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["payment_id", 212], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/662/payments Completed 302 Found in 16ms (ActiveRecord: 3.5ms) Started GET "/adherent/members/662/payments" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"662"} 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", "662"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 662 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 212 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 400 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 662 LIMIT 1 Adherent::Reglement Load (0.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 212  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 212 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 212 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 212 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 662 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (8.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: 12.7ms | ActiveRecord: 2.4ms) Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 662 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 663 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 663 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", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 663], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:50 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" = 664 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 664 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", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 664], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/212/reglements/new" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"212"} 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", "212"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 662 LIMIT 1 Adherent::Reglement Load (0.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 212  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 212 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 212 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 212 Adherent::Adhesion Load (1.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 663 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 401 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 664 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 402 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (11.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 21ms (Views: 13.4ms | ActiveRecord: 4.4ms) Started POST "/adherent/payments/212/reglements" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"401"}, "commit"=>"Enregistrer", "payment_id"=>"212"} 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", "212"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "401"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 212  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 212  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 401  (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", 401], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["payment_id", 212], ["updated_at", Fri, 30 Aug 2013 06:26:50 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" = 662 LIMIT 1 Redirected to http://www.example.com/adherent/members/662/payments Completed 302 Found in 9ms (ActiveRecord: 2.0ms) Started GET "/adherent/members/662/payments" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"662"} 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", "662"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 662 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 212 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 400 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 662 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 401 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 663 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 212  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 212 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 212 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 212 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 662 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (11.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: 12.7ms | ActiveRecord: 3.2ms)  (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.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", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 333) LIMIT 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" = 333) LIMIT 1 SQL (5.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", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 333], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 333) LIMIT 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" = 333) 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", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 333], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 333) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 333) 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", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 333], ["updated_at", Fri, 30 Aug 2013 06:26:50 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" = 665 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 665 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", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 665], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/665/payments/new" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"665"} 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", "665"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 665 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 403 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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 17ms (Views: 9.6ms | ActiveRecord: 1.6ms) Started POST "/adherent/members/665/payments" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"665"} 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", "665"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 665], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 665 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 665 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 403 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", 403], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["payment_id", 213], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/665/payments Completed 302 Found in 12ms (ActiveRecord: 3.2ms) Started GET "/adherent/members/665/payments" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"665"} 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", "665"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 665 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 213 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 403 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 665 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 213  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 213 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 213 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 213 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 665 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 16ms (Views: 12.2ms | ActiveRecord: 2.0ms)  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 665 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) 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", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 334) LIMIT 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" = 334) 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", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 334], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 334) LIMIT 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" = 334) 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", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 334], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 334) LIMIT 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" = 334) 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", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 334], ["updated_at", Fri, 30 Aug 2013 06:26:50 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" = 668 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 668 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", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 668], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/668/payments/new" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"668"} Organism Load (1.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", "668"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 668 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 404 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.0ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 18ms (Views: 9.1ms | ActiveRecord: 2.7ms) Started POST "/adherent/members/668/payments" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"668"} 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", "668"]]  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 668], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 668 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 668 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 404 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", 404], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["payment_id", 214], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/668/payments Completed 302 Found in 12ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/668/payments" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"668"} 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", "668"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 668 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 214 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 404 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 668 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 214  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 214 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 214 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 214 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 668 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.3ms) 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.0ms | ActiveRecord: 2.2ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 668 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 214  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 214  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 335) LIMIT 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" = 335) 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", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 335], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 335) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 335) 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", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 335], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 335) LIMIT 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" = 335) 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", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 335], ["updated_at", Fri, 30 Aug 2013 06:26:50 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" = 671 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 671 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 671], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 671 Started GET "/adherent/members/671/payments/new" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"671"} 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", "671"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 671 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 405 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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 15ms (Views: 7.9ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/671/payments" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"671"} Organism Load (0.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", "671"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 671], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 671 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 671 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 405 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", 405], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["payment_id", 215], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/671/payments Completed 302 Found in 14ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/671/payments" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"671"} 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", "671"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 671 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 215 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 405 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 671 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 215  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 215 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 215 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 215 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 671 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (8.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 16ms (Views: 11.0ms | ActiveRecord: 3.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 671  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 336) LIMIT 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" = 336) 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", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 336], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 336) LIMIT 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" = 336) 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", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 336], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 336) LIMIT 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" = 336) 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", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 336], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 674 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 674 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", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 674], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/674/payments/new" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"674"} Organism Load (0.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", "674"]] Adherent::Adhesion Load (0.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 674 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 406 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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 17ms (Views: 8.7ms | ActiveRecord: 2.5ms) Started POST "/adherent/members/674/payments" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"674"} 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", "674"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 674], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 674 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 674 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 406 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", 406], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["payment_id", 216], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/674/payments Completed 302 Found in 13ms (ActiveRecord: 3.4ms) Started GET "/adherent/members/674/payments" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"674"} 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", "674"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 674 Adherent::Reglement Load (2.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 216 Adherent::Adhesion Load (2.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 406 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 674 LIMIT 1 Adherent::Reglement Load (0.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 216  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 216 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 216 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 216 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 674 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (13.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 30ms (Views: 22.0ms | ActiveRecord: 6.9ms)  (2.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 674 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) COMMIT  (0.7ms) BEGIN Organism Load (1.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 337) LIMIT 1  (0.3ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 337) LIMIT 1 SQL (0.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", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 337], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 337) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 337) 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", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 337], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.3ms) RELEASE 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" = 337) LIMIT 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" = 337) 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", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 337], ["updated_at", Fri, 30 Aug 2013 06:26:50 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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 677 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 677 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", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 677], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  Started GET "/adherent/members/677/payments/new" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"677"} 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", "677"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 677 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 407 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.5ms) Rendered layouts/adherent/_header.html.haml (0.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 15ms (Views: 9.2ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/677/payments" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"677"} 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", "677"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 677], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 677 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 677 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 407 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", 407], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00], ["payment_id", 217], ["updated_at", Fri, 30 Aug 2013 06:26:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/677/payments Completed 302 Found in 13ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/677/payments" for 127.0.0.1 at 2013-08-30 08:26:50 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"677"} 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", "677"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 677 Adherent::Reglement Load (0.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 217 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 407 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 677 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 217  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 217 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 217 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 217 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 677 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (13.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 20ms (Views: 15.8ms | ActiveRecord: 2.9ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (12.0ms) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 680], ["office", nil], ["tel", nil], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 680 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) SAVEPOINT active_record_1 SQL (55.9ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 17]] SQL (0.8ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 680]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "adherent_coords"  (0.2ms) ROLLBACK  (0.2ms) BEGIN Organism Load (0.9ms) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.3ms) RELEASE 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" = 338) LIMIT 1  (0.2ms) 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" = 338) LIMIT 1 SQL (3.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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 338], ["updated_at", Fri, 30 Aug 2013 06:26:51 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/681/coord/new" for 127.0.0.1 at 2013-08-30 08:26:51 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"681"} 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", "681"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 681 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (17.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 31ms (Views: 25.1ms | ActiveRecord: 1.0ms) Started POST "/adherent/members/681/coord" for 127.0.0.1 at 2013-08-30 08:26:51 +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"=>"681"} 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", "681"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 681 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 681], ["office", ""], ["tel", ""], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/681/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 1.9ms) Started GET "/adherent/members/681/adhesions/new" for 127.0.0.1 at 2013-08-30 08:26:51 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"681"} 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", "681"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 681 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 681 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (7.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 16ms (Views: 11.6ms | ActiveRecord: 0.9ms) Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 681 LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 339) LIMIT 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" = 339) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 339], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members/682/coord/new" for 127.0.0.1 at 2013-08-30 08:26:51 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"682"} 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", "682"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 682 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (6.9ms) Rendered layouts/adherent/_header.html.haml (0.8ms) 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.2ms | ActiveRecord: 0.8ms) Started POST "/adherent/members/682/coord" for 127.0.0.1 at 2013-08-30 08:26:51 +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"=>"682"} Organism Load (0.0ms) 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", "682"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 682 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", ""], ["created_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 682], ["office", ""], ["tel", ""], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/682/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 0.9ms) Started GET "/adherent/members/682/adhesions/new" for 127.0.0.1 at 2013-08-30 08:26:51 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"682"} 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", "682"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 682 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 682 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.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 13ms (Views: 8.3ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 340) LIMIT 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" = 340) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 340], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members/683/coord/new" for 127.0.0.1 at 2013-08-30 08:26:51 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"683"} 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", "683"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 683 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.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 16ms (Views: 11.4ms | ActiveRecord: 0.9ms)  (0.1ms) SELECT COUNT(*) FROM "adherent_coords"  Started POST "/adherent/members/683/coord" for 127.0.0.1 at 2013-08-30 08:26:51 +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"=>"683"} 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", "683"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 683 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 683], ["office", ""], ["tel", ""], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/683/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 1.3ms) Started GET "/adherent/members/683/adhesions/new" for 127.0.0.1 at 2013-08-30 08:26:51 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"683"} 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", "683"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 683 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 683 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.6ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 14ms (Views: 8.2ms | ActiveRecord: 1.1ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 341) LIMIT 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" = 341) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 341], ["updated_at", Fri, 30 Aug 2013 06:26:51 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/684/coord/new" for 127.0.0.1 at 2013-08-30 08:26:51 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"684"} 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", "684"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 684 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.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 15ms (Views: 11.8ms | ActiveRecord: 0.6ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 342) LIMIT 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" = 342) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 342], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.0ms) 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" = 685 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 685 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 685], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/685/payments/new" for 127.0.0.1 at 2013-08-30 08:26:51 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"685"} 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", "685"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 685 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 408 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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.7ms | ActiveRecord: 1.7ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 343) LIMIT 1  (0.2ms) 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" = 343) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 343], ["updated_at", Fri, 30 Aug 2013 06:26:51 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 686 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 686 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", #], ["created_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 686], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/686/payments/new" for 127.0.0.1 at 2013-08-30 08:26:51 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"686"} 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", "686"]] Adherent::Adhesion Load (1.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 686 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 409 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 18ms (Views: 9.5ms | ActiveRecord: 2.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 686 Started POST "/adherent/members/686/payments" for 127.0.0.1 at 2013-08-30 08:26:51 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"686"} 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", "686"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 686], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 686 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 686 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 409  (17.0ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (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 39ms (Views: 9.7ms | ActiveRecord: 19.0ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 686  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 344) LIMIT 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" = 344) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 344], ["updated_at", Fri, 30 Aug 2013 06:26:51 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" = 687 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 687 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", #], ["created_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 687], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 687], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 687 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 687 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 410  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 345) LIMIT 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" = 345) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 345], ["updated_at", Fri, 30 Aug 2013 06:26:51 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" = 688 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 688 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", #], ["created_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 688], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:51 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", #], ["created_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 688], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 688 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 688 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 411  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1049"} 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1052"} 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1054/payments Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 349) LIMIT 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" = 349) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 349], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 349) LIMIT 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" = 349) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 349], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 349) LIMIT 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" = 349) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 349], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 349) LIMIT 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" = 349) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 349], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 349) LIMIT 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" = 349) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 349], ["updated_at", Fri, 30 Aug 2013 06:26:51 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-30 08:26:51 +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 (1.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 349  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 689 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 689 LIMIT 1  (4.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 690 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 690 LIMIT 1  (0.5ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 691 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 691 LIMIT 1  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 692 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 692 LIMIT 1  (1.1ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 693 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 693 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 111ms (Views: 97.5ms | ActiveRecord: 10.7ms)  (0.1ms) ROLLBACK  (0.0ms) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 350) LIMIT 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" = 350) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 350], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 350) LIMIT 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" = 350) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 350], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 350) LIMIT 1  (0.0ms) 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" = 350) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 350], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 350) LIMIT 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" = 350) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 350], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.2ms) RELEASE 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" = 350) LIMIT 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" = 350) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 350], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.2ms) 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-30 08:26:51 +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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 350  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 694 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 694 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 695 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 695 LIMIT 1  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 696 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 696 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 697 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 697 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 698 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 698 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 36ms (Views: 28.7ms | ActiveRecord: 5.3ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 351) LIMIT 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" = 351) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 351], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 351) LIMIT 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" = 351) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 351], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 351) LIMIT 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" = 351) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 351], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 351) LIMIT 1  (0.0ms) 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" = 351) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 351], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 351) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 351) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 351], ["updated_at", Fri, 30 Aug 2013 06:26:51 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" for 127.0.0.1 at 2013-08-30 08:26:51 +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" = 351  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 699 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 699 LIMIT 1  (0.9ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 700 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 700 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 701 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 701 LIMIT 1  (0.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 702 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 702 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 703 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 703 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 37ms (Views: 29.4ms | ActiveRecord: 5.2ms) Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-30 08:26:51 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (6.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 14ms (Views: 11.6ms | ActiveRecord: 0.4ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 352) LIMIT 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" = 352) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 352], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 352) LIMIT 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" = 352) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 352], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 352) LIMIT 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" = 352) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 352], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 352) LIMIT 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" = 352) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 352], ["updated_at", Fri, 30 Aug 2013 06:26:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 352) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 352) 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", Fri, 30 Aug 2013 06:26:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 352], ["updated_at", Fri, 30 Aug 2013 06:26:51 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" for 127.0.0.1 at 2013-08-30 08:26:52 +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.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 352  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 704 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 704 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 705 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 705 LIMIT 1  (1.0ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 706 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 706 LIMIT 1  (0.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 707 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 707 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 708 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 708 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 40ms (Views: 32.1ms | ActiveRecord: 5.6ms) Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 704 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 704 ORDER BY to_date DESC LIMIT 1  (0.6ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 704], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/704/adhesions" for 127.0.0.1 at 2013-08-30 08:26:52 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"704"} 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", "704"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 704 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 704  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 412 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 412 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: 1.4ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 353) LIMIT 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" = 353) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 353], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 353) LIMIT 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" = 353) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 353], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 353) LIMIT 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" = 353) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 353], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 353) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 353) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 353], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 353) LIMIT 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" = 353) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 353], ["updated_at", Fri, 30 Aug 2013 06:26:52 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-30 08:26:52 +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" = 353  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 709 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 709 LIMIT 1  (1.0ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 710 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 710 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 711 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 711 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 712 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 712 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 713 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 713 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 37ms (Views: 29.2ms | ActiveRecord: 5.4ms) Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/709/coord" for 127.0.0.1 at 2013-08-30 08:26:52 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"709"} 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", "709"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 709 LIMIT 1 Redirected to http://www.example.com/adherent/members/709/coord/new Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET "/adherent/members/709/coord/new" for 127.0.0.1 at 2013-08-30 08:26:52 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"709"} 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", "709"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 709 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.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 14ms (Views: 11.3ms | ActiveRecord: 0.8ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 354) LIMIT 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" = 354) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 354], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.0ms) RELEASE 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" = 354) LIMIT 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" = 354) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 354], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 354) LIMIT 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" = 354) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 354], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 354) LIMIT 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" = 354) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 354], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.0ms) RELEASE 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" = 354) LIMIT 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" = 354) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 354], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members" for 127.0.0.1 at 2013-08-30 08:26:52 +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" = 354  (0.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 714 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 714 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 715 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 715 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 716 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 716 LIMIT 1  (1.3ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 717 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 717 LIMIT 1  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 718 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 718 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 35ms (Views: 26.6ms | ActiveRecord: 5.6ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" 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", nil], ["city", "Marseille"], ["created_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 714], ["office", nil], ["tel", nil], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["zip", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 714 LIMIT 1 Started GET "/adherent/members/714/coord" for 127.0.0.1 at 2013-08-30 08:26:52 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"714"} 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", "714"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 714 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 9ms (Views: 5.6ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 355) LIMIT 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" = 355) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 355], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 355) LIMIT 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" = 355) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 355], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 355) LIMIT 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" = 355) LIMIT 1 SQL (88.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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 355], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 355) LIMIT 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" = 355) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 355], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 355) LIMIT 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" = 355) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 355], ["updated_at", Fri, 30 Aug 2013 06:26:52 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-30 08:26:52 +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" = 355  (0.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 719 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 719 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 720 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 720 LIMIT 1  (0.9ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 721 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 721 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 722 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 722 LIMIT 1  (0.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 723 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 723 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 36ms (Views: 28.5ms | ActiveRecord: 5.0ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/719/payments" for 127.0.0.1 at 2013-08-30 08:26:52 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"719"} 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", "719"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 719 Rendered collection (0.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 6ms (Views: 4.2ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.5ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 356) LIMIT 1  (0.2ms) 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" = 356) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 356], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 356) LIMIT 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" = 356) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 356], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 356) LIMIT 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" = 356) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 356], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 356) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 356) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 356], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 356) LIMIT 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" = 356) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 356], ["updated_at", Fri, 30 Aug 2013 06:26:52 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-30 08:26:52 +0200 Processing by Adherent::MembersController#index as HTML 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"."organism_id" = 356  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 724 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 724 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 725 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 725 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 726 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 726 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 727 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 727 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 728 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 728 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 37ms (Views: 28.1ms | ActiveRecord: 6.0ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/724/edit" for 127.0.0.1 at 2013-08-30 08:26:52 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"724"} 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", "724"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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.5ms) Completed 200 OK in 12ms (Views: 10.4ms | ActiveRecord: 0.5ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.0ms) RELEASE 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" = 357) LIMIT 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" = 357) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 357], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 357) LIMIT 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" = 357) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 357], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 357) LIMIT 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" = 357) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 357], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 357) LIMIT 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" = 357) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 357], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 357) LIMIT 1  (0.2ms) 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" = 357) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 357], ["updated_at", Fri, 30 Aug 2013 06:26:52 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-30 08:26:52 +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.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 357  (1.0ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 729 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 729 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 730 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 730 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 731 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 731 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 732 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 732 LIMIT 1  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 733 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 733 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.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 36ms (Views: 27.4ms | ActiveRecord: 5.9ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/729/adhesions" for 127.0.0.1 at 2013-08-30 08:26:52 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"729"} 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", "729"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 729 Redirected to http://www.example.com/adherent/members/729/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET "/adherent/members/729/adhesions/new" for 127.0.0.1 at 2013-08-30 08:26:52 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"729"} 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", "729"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 729 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 729 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (5.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 12ms (Views: 8.1ms | ActiveRecord: 1.0ms)  (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.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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 358) LIMIT 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" = 358) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 358], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 358) LIMIT 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" = 358) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 358], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 358) LIMIT 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" = 358) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 358], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 358) LIMIT 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" = 358) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 358], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 358) LIMIT 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" = 358) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 358], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-30 08:26:52 +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 (6.0ms) 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 12ms (Views: 8.8ms | ActiveRecord: 0.6ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_members" Started POST "/adherent/members" for 127.0.0.1 at 2013-08-30 08:26:52 +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.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'ADH1' AND "adherent_members"."organism_id" = 358) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 358], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/739/coord/new Completed 302 Found in 6ms (ActiveRecord: 1.2ms) Started GET "/adherent/members/739/coord/new" for 127.0.0.1 at 2013-08-30 08:26:52 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"739"} 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", "739"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 739 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.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 13ms (Views: 10.4ms | ActiveRecord: 0.7ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"   (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AllpaymentsController#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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Payment Load (1.2ms) SELECT "adherent_payments".* FROM "adherent_payments" INNER JOIN "adherent_members" ON "adherent_payments"."member_id" = "adherent_members"."id" WHERE "adherent_members"."organism_id" = 359 Completed 200 OK in 33ms (Views: 2.3ms | ActiveRecord: 1.9ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1056"} Organism Load (0.6ms) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1056/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1058"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1060"} Organism Load (0.3ms) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 2.3ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1062"} Organism Load (0.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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1064"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1064/coord Completed 302 Found in 7ms (ActiveRecord: 2.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1066/coord Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1068"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.6ms) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1070"} 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.7ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1072"} Organism Load (1.0ms) 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_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.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1076"} 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", Fri, 30 Aug 2013 06:26:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN 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  (0.1ms) ROLLBACK  (0.0ms) 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.4ms) 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.0ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Tue, 06 Jun 1944], ["created_at", Fri, 30 Aug 2013 06:26:53 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) 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", Fri, 30 Aug 2013 06:26:53 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Fri, 30 Aug 2013 06:26:53 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:53 UTC +00:00]]  (0.1ms) RELEASE 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" = 2) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.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.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) 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  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) 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", Fri, 30 Aug 2013 06:26:53 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:53 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" = 743 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743 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", #], ["created_at", Fri, 30 Aug 2013 06:26:53 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 743], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:53 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" = 743 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 743 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Fri, 30 Aug 2013 06:26:53 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:53 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" = 744 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 744 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", #], ["created_at", Fri, 30 Aug 2013 06:26:53 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 744], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 744 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 744 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) 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 (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", Fri, 30 Aug 2013 06:26:53 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:26:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 745 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 745 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", #], ["created_at", Fri, 30 Aug 2013 06:26:53 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 745], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:26:53 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" = 745 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 745 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (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 (0.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:53 UTC +00:00]]  (0.2ms) RELEASE 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" = 371) LIMIT 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" = 371) 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", Fri, 30 Aug 2013 06:26:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 371], ["updated_at", Fri, 30 Aug 2013 06:26:53 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/746/adhesions/new" for 127.0.0.1 at 2013-08-30 08:26:53 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"746"} 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", "746"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 746 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 746 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 15ms (Views: 9.4ms | ActiveRecord: 1.1ms)  (0.2ms) 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.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:53 UTC +00:00]]  (0.2ms) RELEASE 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" = 372) LIMIT 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" = 372) 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", Fri, 30 Aug 2013 06:26:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 372], ["updated_at", Fri, 30 Aug 2013 06:26:53 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/747/adhesions/new" for 127.0.0.1 at 2013-08-30 08:26:53 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"747"} 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", "747"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 747 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 747 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 14ms (Views: 8.8ms | ActiveRecord: 1.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 747 Started POST "/adherent/members/747/adhesions" for 127.0.0.1 at 2013-08-30 08:26:53 +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"=>"747"} 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", "747"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:26:53 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 747], ["to_date", Thu, 31 Jul 2014], ["updated_at", Fri, 30 Aug 2013 06:26:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/747/adhesions Completed 302 Found in 6ms (ActiveRecord: 1.3ms) Started GET "/adherent/members/747/adhesions" for 127.0.0.1 at 2013-08-30 08:26:53 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"747"} Organism Load (0.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", "747"]]  (0.6ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 747 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 747  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 416 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 416 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: 7.6ms | ActiveRecord: 1.6ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 747  (0.1ms) 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 (4.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:26:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:53 UTC +00:00]]  (0.1ms) RELEASE 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" = 373) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 373) 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", Fri, 30 Aug 2013 06:26:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 373], ["updated_at", Fri, 30 Aug 2013 06:26:53 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (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", #], ["created_at", Fri, 30 Aug 2013 06:26:53 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 748], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 06:26:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/748/adhesions" for 127.0.0.1 at 2013-08-30 08:26:53 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"748"} 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", "748"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 748 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 748  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 417 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 417 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.1ms | ActiveRecord: 1.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.0ms) 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", Fri, 30 Aug 2013 06:26:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:53 UTC +00:00]]  (0.1ms) RELEASE 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" = 374) LIMIT 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" = 374) 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", Fri, 30 Aug 2013 06:26:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 374], ["updated_at", Fri, 30 Aug 2013 06:26:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (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", #], ["created_at", Fri, 30 Aug 2013 06:26:53 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 749], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 06:26:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/749/adhesions" for 127.0.0.1 at 2013-08-30 08:26:53 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"749"} 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", "749"]]  (0.8ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 749 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 749  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 418 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 418 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.8ms | ActiveRecord: 1.9ms) Started GET "/adherent/members/749/adhesions/418/edit" for 127.0.0.1 at 2013-08-30 08:26:53 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"749", "id"=>"418"} 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", "749"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 749 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "418"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (14.1ms) Rendered layouts/adherent/_header.html.haml (0.4ms) 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: 26.0ms | ActiveRecord: 1.1ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN 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", Fri, 30 Aug 2013 06:26:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:26:53 UTC +00:00]]  (0.1ms) RELEASE 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" = 375) LIMIT 1  (0.2ms) 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" = 375) 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", Fri, 30 Aug 2013 06:26:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 375], ["updated_at", Fri, 30 Aug 2013 06:26:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (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", #], ["created_at", Fri, 30 Aug 2013 06:26:53 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 750], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 06:26:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/750/adhesions" for 127.0.0.1 at 2013-08-30 08:26:53 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"750"} 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", "750"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 750 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 750  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 419 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 419 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 14ms (Views: 9.3ms | ActiveRecord: 1.5ms) Started GET "/adherent/members/750/payments/new" for 127.0.0.1 at 2013-08-30 08:26:53 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"750"} 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", "750"]] Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 750 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 419 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 17ms (Views: 8.3ms | ActiveRecord: 1.5ms)  (0.1ms) 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 (39.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:27:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:39 UTC +00:00]]  (0.1ms) RELEASE 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" = 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" = 'Adh000' AND "adherent_members"."organism_id" = 1) 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", Fri, 30 Aug 2013 06:27:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:27:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (0.1ms) SAVEPOINT active_record_1 SQL (48.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", #], ["created_at", Fri, 30 Aug 2013 06:27:39 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 06:27:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/1/adhesions" for 127.0.0.1 at 2013-08-30 08:27:39 +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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]]  (0.4ms) SELECT COUNT(*) 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  (28.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/adhesions/index.html.haml within layouts/adherent/application (50.2ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 73ms (Views: 36.8ms | ActiveRecord: 31.5ms)  (0.6ms) 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", Fri, 30 Aug 2013 06:27:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:39 UTC +00:00]]  (0.1ms) RELEASE 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" = 2) LIMIT 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" = 2) 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", Fri, 30 Aug 2013 06:27:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 2], ["updated_at", Fri, 30 Aug 2013 06:27:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (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", #], ["created_at", Fri, 30 Aug 2013 06:27:39 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 2], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 06:27:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/2/adhesions" for 127.0.0.1 at 2013-08-30 08:27:39 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"2"} 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", "2"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2  (0.5ms) 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 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: 10.9ms | ActiveRecord: 1.6ms) Started GET "/adherent/members/2/payments/new" for 127.0.0.1 at 2013-08-30 08:27:39 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"2"} 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", "2"]] Adherent::Adhesion Load (25.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 2 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) 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 (42.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 152ms (Views: 55.5ms | ActiveRecord: 28.4ms)  (3.9ms) ROLLBACK  (0.0ms) BEGIN Organism Load (2.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", Fri, 30 Aug 2013 06:27:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:39 UTC +00:00]]  (0.6ms) RELEASE 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" = 3) LIMIT 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" = 3) 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", Fri, 30 Aug 2013 06:27:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 3], ["updated_at", Fri, 30 Aug 2013 06:27:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (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", #], ["created_at", Fri, 30 Aug 2013 06:27:39 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 3], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 06:27:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/3/adhesions" for 127.0.0.1 at 2013-08-30 08:27:39 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"3"} 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", "3"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3  (0.4ms) 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 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 18ms (Views: 13.5ms | ActiveRecord: 1.6ms) Started GET "/adherent/members/3/adhesions/3/edit" for 127.0.0.1 at 2013-08-30 08:27:39 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"3", "id"=>"3"} 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", "3"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "3"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (6.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 16ms (Views: 12.4ms | ActiveRecord: 0.9ms)  (0.1ms) 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", Fri, 30 Aug 2013 06:27:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:39 UTC +00:00]]  (0.1ms) RELEASE 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" = 4) LIMIT 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" = 4) 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", Fri, 30 Aug 2013 06:27:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 4], ["updated_at", Fri, 30 Aug 2013 06:27:39 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/4/adhesions/new" for 127.0.0.1 at 2013-08-30 08:27:39 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"4"} 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", "4"]] Adherent::Adhesion Load (0.2ms) 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 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.5ms) Rendered layouts/adherent/_header.html.haml (0.2ms) 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 18ms (Views: 12.2ms | ActiveRecord: 1.0ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 Started POST "/adherent/members/4/adhesions" for 127.0.0.1 at 2013-08-30 08:27:39 +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"=>"4"} 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", "4"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:27:39 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 4], ["to_date", Thu, 31 Jul 2014], ["updated_at", Fri, 30 Aug 2013 06:27:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/4/adhesions Completed 302 Found in 7ms (ActiveRecord: 1.3ms) Started GET "/adherent/members/4/adhesions" for 127.0.0.1 at 2013-08-30 08:27:39 +0200 Processing by Adherent::AdhesionsController#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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "4"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4  (0.3ms) 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 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 10ms (Views: 7.2ms | ActiveRecord: 1.4ms)  (0.6ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Fri, 30 Aug 2013 06:27:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:39 UTC +00:00]]  (0.1ms) RELEASE 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" = 5) LIMIT 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" = 5) 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", Fri, 30 Aug 2013 06:27:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 5], ["updated_at", Fri, 30 Aug 2013 06:27:39 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/5/adhesions/new" for 127.0.0.1 at 2013-08-30 08:27:39 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"5"} 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", "5"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (5.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 13ms (Views: 8.1ms | ActiveRecord: 1.0ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1002"} 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", Fri, 30 Aug 2013 06:27:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1001/payments Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1004"} 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", Fri, 30 Aug 2013 06:27:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 2.8ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1007"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.0ms) 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", Fri, 30 Aug 2013 06:27:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.1ms)  (1.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) 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.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) 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.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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 6], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 7], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (15.5ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 7], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 7 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 7 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 6 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", 6], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Adhesion Load (0.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY "adherent_adhesions"."id" DESC LIMIT 1  (0.3ms) 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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 8], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 9], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:27:40 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", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 9], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 9 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 9 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (1.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 8], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["payment_id", 2], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 8], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 8 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 8 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 7 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", 7], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["payment_id", 3], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1  (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.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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:27:40 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", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 10], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:27:40 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", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 11], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 11], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 11 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 11 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 10 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", 10], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["payment_id", 4], ["updated_at", Fri, 30 Aug 2013 06:27:40 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", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 11], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 11 LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 11 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 10 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", 10], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["payment_id", 5], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 10], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 10 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 10 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 9 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", 9], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["payment_id", 6], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (1.5ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (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", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:40 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" = 11  (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", 11], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 06:27:40 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" = 11  (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", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 12  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 12], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 06:27:40 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" = 12  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 12  (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", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 13  (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", 13], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1009"} Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.7ms) 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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.9ms | ActiveRecord: 2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1011"} Organism Load (2.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.6ms) 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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 1.1ms | ActiveRecord: 4.6ms)  (0.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1013"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1015"} Organism Load (0.3ms) 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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1017"} 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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1017/coord Completed 302 Found in 6ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1019"} 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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1019/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"=>"1021"} 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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1023"} 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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 2.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1025"} 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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1025/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1027"} 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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.4ms | ActiveRecord: 1.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1029"} 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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1031"} Organism Load (0.1ms) 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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1031/payments Completed 302 Found in 6ms (ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "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.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1033/payments Completed 302 Found in 5ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1035"} 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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1037"} Organism Load (0.7ms) 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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1039"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 3.4ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1040"} 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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:40 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::PaymentsController#show as HTML Parameters: {"member_id"=>"1041", "id"=>"1042"} 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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.8ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.6ms) RELEASE 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" = 27) LIMIT 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" = 27) 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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 27], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.0ms) RELEASE 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" = 27) LIMIT 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" = 27) 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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 27], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 27) LIMIT 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" = 27) 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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 27], ["updated_at", Fri, 30 Aug 2013 06:27:40 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" = 12 Adherent::Adhesion Load (0.2ms) 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.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", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 12], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/12/payments/new" for 127.0.0.1 at 2013-08-30 08:27:40 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"12"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "12"]] Adherent::Adhesion Load (1.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 12 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 14 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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 21ms (Views: 10.2ms | ActiveRecord: 4.2ms) Started POST "/adherent/members/12/payments" for 127.0.0.1 at 2013-08-30 08:27:40 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"12"} 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", "12"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 12], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 12 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 12 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 14 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", 14], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["payment_id", 7], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/12/payments Completed 302 Found in 13ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/12/payments" for 127.0.0.1 at 2013-08-30 08:27:40 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"12"} 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", "12"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 12 Adherent::Reglement Load (0.7ms) 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" = 14 LIMIT 1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 12 LIMIT 1 Adherent::Reglement Load (0.3ms) 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.2ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 12 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (21.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 34ms (Views: 29.3ms | ActiveRecord: 3.1ms) Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 12 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 14  (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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 28) LIMIT 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" = 28) 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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 28], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 28) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 28) 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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 28], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 28) LIMIT 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" = 28) 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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 28], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) 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.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", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 15], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/15/payments/new" for 127.0.0.1 at 2013-08-30 08:27:40 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"15"} 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", "15"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 15 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.4ms) 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/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 17ms (Views: 8.7ms | ActiveRecord: 1.7ms) Started POST "/adherent/members/15/payments" for 127.0.0.1 at 2013-08-30 08:27:40 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"15"} 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", "15"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 15], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 15 LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 15 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 15 SQL (0.1ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 15], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["payment_id", 8], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/15/payments Completed 302 Found in 13ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/15/payments" for 127.0.0.1 at 2013-08-30 08:27:40 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"15"} 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", "15"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 15 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" = 15 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 15 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::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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 15 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (8.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 67ms (Views: 62.9ms | ActiveRecord: 2.4ms)  (0.2ms) SHOW max_identifier_length  (1.1ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 15 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 29) LIMIT 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" = 29) 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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 29], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 29) LIMIT 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" = 29) 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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 29], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 29) LIMIT 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" = 29) 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", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 29], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) 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" = 18 Adherent::Adhesion Load (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 18], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/18/payments/new" for 127.0.0.1 at 2013-08-30 08:27:40 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"18"} Organism Load (0.8ms) 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", "18"]] Adherent::Adhesion Load (1.0ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 18 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) 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 (5.2ms) 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 19ms (Views: 9.5ms | ActiveRecord: 2.3ms) Started POST "/adherent/members/18/payments" for 127.0.0.1 at 2013-08-30 08:27:40 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"18"} 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", "18"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 18], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 18 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 18 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 16 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", 16], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00], ["payment_id", 9], ["updated_at", Fri, 30 Aug 2013 06:27:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/18/payments Completed 302 Found in 12ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/18/payments" for 127.0.0.1 at 2013-08-30 08:27:40 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"18"} 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", "18"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 18 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 16 LIMIT 1 Adherent::Member Load (1.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 18 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 18 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (10.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 19ms (Views: 13.5ms | ActiveRecord: 3.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 18 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.0ms) 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.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.2ms) 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", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 30) LIMIT 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" = 30) 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", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 30], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 30) LIMIT 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" = 30) 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", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 30], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 30) LIMIT 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" = 30) 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", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 30], ["updated_at", Fri, 30 Aug 2013 06:27:41 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" = 21 Adherent::Adhesion Load (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 21], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/21/payments/new" for 127.0.0.1 at 2013-08-30 08:27:41 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"21"} 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", "21"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 21 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 17 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.8ms) 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 19ms (Views: 10.2ms | ActiveRecord: 1.9ms) Started POST "/adherent/members/21/payments" for 127.0.0.1 at 2013-08-30 08:27:41 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"21"} Organism Load (0.5ms) 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", "21"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 21], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 21 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 21 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 17 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", 17], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["payment_id", 10], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/21/payments Completed 302 Found in 13ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/21/payments" for 127.0.0.1 at 2013-08-30 08:27:41 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"21"} 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", "21"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 21 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 17 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 21 LIMIT 1 Adherent::Reglement Load (0.4ms) 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.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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 21 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 17ms (Views: 12.9ms | ActiveRecord: 2.4ms)  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 21 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.1ms) 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.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", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.3ms) RELEASE 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" = 31) LIMIT 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" = 31) 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", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 31], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.5ms) RELEASE 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" = 31) LIMIT 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" = 31) 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", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 31], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.2ms) RELEASE 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" = 31) LIMIT 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" = 31) 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", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 31], ["updated_at", Fri, 30 Aug 2013 06:27:41 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" = 24 Adherent::Adhesion Load (0.2ms) 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.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", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 24], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 24 Started GET "/adherent/members/24/payments/new" for 127.0.0.1 at 2013-08-30 08:27:41 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"24"} 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", "24"]] Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 24 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) 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/payments/_form.html.haml (5.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 15ms (Views: 8.1ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/24/payments" for 127.0.0.1 at 2013-08-30 08:27:41 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"24"} 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", "24"]]  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 24], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 24 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 24 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 18 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 18], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["payment_id", 11], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/24/payments Completed 302 Found in 13ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/24/payments" for 127.0.0.1 at 2013-08-30 08:27:41 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"24"} 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", "24"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 24 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" = 18 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 24 LIMIT 1 Adherent::Reglement Load (0.3ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 24 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.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 16ms (Views: 12.4ms | ActiveRecord: 2.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 24  (0.4ms) 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", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 32) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 32) 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", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 32], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 32) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 32) 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", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 32], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (3.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 32) LIMIT 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" = 32) 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", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 32], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (2.4ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (2.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 27 ORDER BY to_date DESC LIMIT 1  (4.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 27], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements" Started GET "/adherent/members/27/payments/new" for 127.0.0.1 at 2013-08-30 08:27:41 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"27"} Organism Load (1.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", "27"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 27 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) 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 (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 16ms (Views: 8.1ms | ActiveRecord: 2.6ms) Started POST "/adherent/members/27/payments" for 127.0.0.1 at 2013-08-30 08:27:41 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"27"} 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", "27"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 27], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]] Adherent::Member Load (2.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 27 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 27 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["payment_id", 12], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/27/payments Completed 302 Found in 16ms (ActiveRecord: 5.3ms) Started GET "/adherent/members/27/payments" for 127.0.0.1 at 2013-08-30 08:27:41 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"27"} 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", "27"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 27 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12 Adherent::Adhesion Load (0.3ms) 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" = 27 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.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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 27 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (8.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.3ms) Completed 200 OK in 16ms (Views: 12.3ms | ActiveRecord: 2.4ms)  (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 (0.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 33) LIMIT 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" = 33) 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", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 33], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 33) LIMIT 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" = 33) 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", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 33], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 33) LIMIT 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" = 33) 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", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 33], ["updated_at", Fri, 30 Aug 2013 06:27:41 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" = 30 Adherent::Adhesion Load (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 30], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/30/payments/new" for 127.0.0.1 at 2013-08-30 08:27:41 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"30"} 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", "30"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 30 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20 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 15ms (Views: 8.7ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/30/payments" for 127.0.0.1 at 2013-08-30 08:27:41 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"30"} 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", "30"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 30], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 30 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 30 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20 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", 20], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["payment_id", 13], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/30/payments Completed 302 Found in 14ms (ActiveRecord: 3.2ms) Started GET "/adherent/members/30/payments" for 127.0.0.1 at 2013-08-30 08:27:41 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"30"} 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", "30"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 30 Adherent::Reglement Load (0.1ms) 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" = 20 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 30 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 13  (0.2ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 30 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (8.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: 12.8ms | ActiveRecord: 2.1ms)  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 30 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 34) LIMIT 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" = 34) 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", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 34], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 34) LIMIT 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" = 34) 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", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 34], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 34) LIMIT 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" = 34) 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", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 34], ["updated_at", Fri, 30 Aug 2013 06:27:41 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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 33 Adherent::Adhesion Load (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 33], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/33/payments/new" for 127.0.0.1 at 2013-08-30 08:27:41 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"33"} 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", "33"]] Adherent::Adhesion Load (1.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 33 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) 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/payments/_form.html.haml (5.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 15ms (Views: 8.0ms | ActiveRecord: 2.2ms) Started POST "/adherent/members/33/payments" for 127.0.0.1 at 2013-08-30 08:27:41 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"33"} 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", "33"]]  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 33], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 33 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 33 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 21 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", 21], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["payment_id", 14], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/33/payments Completed 302 Found in 15ms (ActiveRecord: 3.2ms) Started GET "/adherent/members/33/payments" for 127.0.0.1 at 2013-08-30 08:27:41 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"33"} 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", "33"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 33 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 14 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 21 LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 33 LIMIT 1 Adherent::Reglement Load (0.3ms) 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.3ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 33 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (10.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 18ms (Views: 13.4ms | ActiveRecord: 3.0ms) Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 33 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 Adherent::Adhesion Load (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 34], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:41 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" = 35 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 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", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 35], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/14/reglements/new" for 127.0.0.1 at 2013-08-30 08:27:41 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"14"} Organism Load (0.2ms) 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", "14"]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 33 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 14  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 14 Adherent::Reglement Load (0.3ms) 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 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 35 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 34 LIMIT 1  (0.2ms) 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/reglements/_form.html.haml (14.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 30ms (Views: 20.1ms | ActiveRecord: 3.5ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 35) LIMIT 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" = 35) 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", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 35], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 35) LIMIT 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" = 35) 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", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 35], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 35) LIMIT 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" = 35) 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", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 35], ["updated_at", Fri, 30 Aug 2013 06:27:41 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" = 36 Adherent::Adhesion Load (0.2ms) 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.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", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 36], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/36/payments/new" for 127.0.0.1 at 2013-08-30 08:27:41 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"36"} 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", "36"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 36 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) 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/payments/_form.html.haml (5.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: 8.5ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/36/payments" for 127.0.0.1 at 2013-08-30 08:27:41 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"36"} 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", "36"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 36], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 36 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 36 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 24 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", 24], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["payment_id", 15], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/36/payments Completed 302 Found in 13ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/36/payments" for 127.0.0.1 at 2013-08-30 08:27:41 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"36"} 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", "36"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 36 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" = 24 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 36 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 36 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (8.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 16ms (Views: 12.2ms | ActiveRecord: 2.1ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 36 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 37 Adherent::Adhesion Load (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 37], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:41 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" = 38 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 38 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", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 38], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/15/reglements/new" for 127.0.0.1 at 2013-08-30 08:27:41 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"15"} 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", "15"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 36 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.3ms) 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 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 37 LIMIT 1  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 25 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 38 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 26 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 21ms (Views: 13.7ms | ActiveRecord: 2.8ms)  (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", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 36) LIMIT 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" = 36) 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", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 36], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 36) LIMIT 1  (0.0ms) 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" = 36) 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", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 36], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 36) LIMIT 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" = 36) 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", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 36], ["updated_at", Fri, 30 Aug 2013 06:27:41 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.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39 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", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 39], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/39/payments/new" for 127.0.0.1 at 2013-08-30 08:27:41 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"39"} 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", "39"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 39 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) 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/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 16ms (Views: 10.0ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/39/payments" for 127.0.0.1 at 2013-08-30 08:27:41 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"39"} 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", "39"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 39], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 39 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 39 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (2.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 27 SQL (2.6ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 27], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["payment_id", 16], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/39/payments Completed 302 Found in 22ms (ActiveRecord: 6.9ms) Started GET "/adherent/members/39/payments" for 127.0.0.1 at 2013-08-30 08:27:41 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"39"} 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", "39"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 39 Adherent::Reglement Load (1.9ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 16 Adherent::Adhesion Load (1.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 27 LIMIT 1 Adherent::Member Load (1.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 39 LIMIT 1 Adherent::Reglement Load (2.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 16  (1.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 16 Adherent::Reglement Load (1.8ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 39 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (23.0ms) Rendered layouts/adherent/_header.html.haml (2.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 40ms (Views: 25.8ms | ActiveRecord: 12.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 39 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 40 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 40 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.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", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 40], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:41 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" = 41 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 41 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", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 41], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/16/reglements/new" for 127.0.0.1 at 2013-08-30 08:27:41 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"16"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "16"]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 39 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.3ms) 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 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 40 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 28 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 41 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 29 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (10.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 23ms (Views: 13.3ms | ActiveRecord: 3.9ms) Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 39 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 39 ORDER BY "adherent_payments"."id" DESC 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  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE 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" = 37) LIMIT 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" = 37) 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", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 37], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 37) LIMIT 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" = 37) 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", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 37], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.0ms) RELEASE 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" = 37) LIMIT 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" = 37) 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", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 37], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.2ms) 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" = 42 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 42 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", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 42], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/42/payments/new" for 127.0.0.1 at 2013-08-30 08:27:41 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"42"} 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", "42"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 42 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.6ms) 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/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 17ms (Views: 8.8ms | ActiveRecord: 1.7ms) Started POST "/adherent/members/42/payments" for 127.0.0.1 at 2013-08-30 08:27:41 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"42"} 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", "42"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 42], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]] Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 42 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 42 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 30 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", 30], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00], ["payment_id", 17], ["updated_at", Fri, 30 Aug 2013 06:27:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/42/payments Completed 302 Found in 13ms (ActiveRecord: 3.2ms) Started GET "/adherent/members/42/payments" for 127.0.0.1 at 2013-08-30 08:27:41 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"42"} 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", "42"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 42 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 17 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 30 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 42 LIMIT 1 Adherent::Reglement Load (0.3ms) 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 (0.2ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 42 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (10.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 18ms (Views: 14.2ms | ActiveRecord: 2.2ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 42 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) 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.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", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 43], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:42 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" = 44 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 44 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", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 44], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/17/reglements/new" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"17"} 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", "17"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 42 LIMIT 1 Adherent::Reglement Load (0.2ms) 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 (0.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 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 44 LIMIT 1  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 32 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 43 LIMIT 1  (0.2ms) 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/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 22ms (Views: 13.8ms | ActiveRecord: 3.6ms)  (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 (0.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 38) LIMIT 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" = 38) 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", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 38], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 38) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 38) 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", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 38], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 38) LIMIT 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" = 38) 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", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 38], ["updated_at", Fri, 30 Aug 2013 06:27:42 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" = 45 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 45 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", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 45], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/45/payments/new" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"45"} 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", "45"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 45 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) 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.5ms) 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: 9.3ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/45/payments" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"45"} 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", "45"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 45], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 45 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 45 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["payment_id", 18], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/45/payments Completed 302 Found in 15ms (ActiveRecord: 3.1ms) Started GET "/adherent/members/45/payments" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"45"} 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", "45"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 45 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 18 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 33 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 45 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 18  (0.1ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 45 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.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 16ms (Views: 11.9ms | ActiveRecord: 2.2ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 45 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) 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.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", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 46], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:42 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" = 47 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 47 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", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 47], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/18/reglements/new" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"18"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "18"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 45 LIMIT 1 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.4ms) 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 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 47 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 35 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 46 LIMIT 1  (0.2ms) 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/reglements/_form.html.haml (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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.0ms) Completed 200 OK in 24ms (Views: 14.9ms | ActiveRecord: 3.8ms) Started POST "/adherent/payments/18/reglements" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"34"}, "commit"=>"Enregistrer", "payment_id"=>"18"} 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", "18"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "34"]] Adherent::Reglement Load (0.9ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 18  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 18  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 34  (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", 34], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["payment_id", 18], ["updated_at", Fri, 30 Aug 2013 06:27:42 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" = 45 LIMIT 1 Redirected to http://www.example.com/adherent/members/45/payments Completed 302 Found in 11ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/45/payments" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"45"} 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", "45"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 45 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 18 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 33 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 45 LIMIT 1 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" = 18  (0.3ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 45 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (12.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 20ms (Views: 15.2ms | ActiveRecord: 3.2ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 33 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 45 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 39) LIMIT 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" = 39) 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", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 39], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 39) LIMIT 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" = 39) 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", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 39], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 39) LIMIT 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" = 39) 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", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 39], ["updated_at", Fri, 30 Aug 2013 06:27:42 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" = 48 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 48 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", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 48], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/48/payments/new" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"48"} Organism Load (0.3ms) 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", "48"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 48 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36 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 19ms (Views: 8.9ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/48/payments" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"48"} 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", "48"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 48], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 48 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 48 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36 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", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["payment_id", 19], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/48/payments Completed 302 Found in 13ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/48/payments" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"48"} 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", "48"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 48 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 19 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 36 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 48 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 19  (0.3ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 48 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (8.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 17ms (Views: 12.9ms | ActiveRecord: 2.4ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 48 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 49 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 49 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", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 49], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:42 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" = 50 Adherent::Adhesion Load (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 50], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/19/reglements/new" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"19"} 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", "19"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 48 LIMIT 1 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.3ms) 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 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 49 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 50 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 38 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.6ms) 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 19ms (Views: 12.1ms | ActiveRecord: 2.8ms) Started POST "/adherent/payments/19/reglements" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"37"}, "commit"=>"Enregistrer", "payment_id"=>"19"} 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", "19"]] Adherent::Adhesion Load (4.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "37"]] Adherent::Reglement Load (0.6ms) 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  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["payment_id", 19], ["updated_at", Fri, 30 Aug 2013 06:27:42 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" = 48 LIMIT 1 Redirected to http://www.example.com/adherent/members/48/payments Completed 302 Found in 65ms (ActiveRecord: 7.2ms) Started GET "/adherent/members/48/payments" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"48"} 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", "48"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 48 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 19 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 36 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 48 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 37 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 49 LIMIT 1 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 48 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (11.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.0ms) Completed 200 OK in 18ms (Views: 14.0ms | ActiveRecord: 2.7ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements"   (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.2ms) BEGIN Organism Load (0.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", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 40) LIMIT 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" = 40) 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", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 40], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 40) LIMIT 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" = 40) 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", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 40], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 40) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 40) 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", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 40], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (6.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 51 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 51 ORDER BY to_date DESC LIMIT 1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 51], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/51/payments/new" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::PaymentsController#new 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::Adhesion Load (1.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 51 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 39 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: 8.8ms | ActiveRecord: 2.6ms) Started POST "/adherent/members/51/payments" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "51"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 51], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:27:42 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.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 51 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 39 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", 39], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["payment_id", 20], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/51/payments Completed 302 Found in 12ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/51/payments" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"51"} Organism Load (0.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", "51"]] Adherent::Payment Load (0.3ms) 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" = 20 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 39 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 51 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 51 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 17ms (Views: 11.9ms | ActiveRecord: 2.5ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 51 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 52 Adherent::Adhesion Load (0.5ms) 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.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", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 52], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:42 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" = 53 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 53 ORDER BY to_date DESC LIMIT 1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 53], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/20/reglements/new" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"20"} 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", "20"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 51 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 53 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 41 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 52 LIMIT 1  (0.2ms) 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/reglements/_form.html.haml (10.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 22ms (Views: 12.8ms | ActiveRecord: 3.3ms) Started POST "/adherent/payments/20/reglements" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"40"}, "commit"=>"Enregistrer", "payment_id"=>"20"} 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", "20"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "40"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 40  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 40], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["payment_id", 20], ["updated_at", Fri, 30 Aug 2013 06:27:42 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" = 51 LIMIT 1 Redirected to http://www.example.com/adherent/members/51/payments Completed 302 Found in 12ms (ActiveRecord: 3.1ms) Started GET "/adherent/members/51/payments" for 127.0.0.1 at 2013-08-30 08:27:42 +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.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 51 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 39 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 51 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 40 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 52 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 51 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.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.0ms) Completed 200 OK in 19ms (Views: 14.3ms | ActiveRecord: 3.0ms) Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 52 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 40  (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.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", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 41) LIMIT 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" = 41) 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", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 41], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 41) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 41) 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", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 41], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 41) LIMIT 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" = 41) 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", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 41], ["updated_at", Fri, 30 Aug 2013 06:27:42 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" = 54 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 54 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", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 54], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/54/payments/new" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"54"} 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", "54"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 54 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 42 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 17ms (Views: 9.3ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/54/payments" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"54"} 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", "54"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 54], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 54 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 54 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 42 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 42], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["payment_id", 21], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/54/payments Completed 302 Found in 13ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/54/payments" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"54"} 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", "54"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 54 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 21 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 42 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 54 LIMIT 1 Adherent::Reglement Load (0.4ms) 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 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 21 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 21 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 54 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (12.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 20ms (Views: 15.7ms | ActiveRecord: 2.6ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 54 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 55 Adherent::Adhesion Load (2.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 55 ORDER BY to_date DESC LIMIT 1  (7.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 55], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:42 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" = 56 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 56 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.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", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 56], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/21/reglements/new" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"21"} Organism Load (0.8ms) 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", "21"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 54 LIMIT 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 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 21 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 21 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 56 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 44 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 55 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 43 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_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.1ms) Completed 200 OK in 23ms (Views: 14.2ms | ActiveRecord: 3.5ms) Started POST "/adherent/payments/21/reglements" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"43"}, "commit"=>"Enregistrer", "payment_id"=>"21"} 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", "21"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "43"]] Adherent::Reglement Load (0.4ms) 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.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 43  (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", 43], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["payment_id", 21], ["updated_at", Fri, 30 Aug 2013 06:27:42 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" = 54 LIMIT 1 Redirected to http://www.example.com/adherent/members/54/payments Completed 302 Found in 13ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/54/payments" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"54"} 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", "54"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 54 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 21 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 42 LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 54 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 43 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 55 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 21  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 21 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 21 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 21 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 54 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (13.0ms) 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.0ms) Completed 200 OK in 20ms (Views: 15.3ms | ActiveRecord: 3.6ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" ORDER BY "adherent_reglements"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 43 LIMIT 1 Adherent::Member Load (1.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 55 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE 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  (0.0ms) 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" = 42) 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", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 42], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 42) LIMIT 1  (0.2ms) 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" = 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", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 42], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 42) LIMIT 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" = 42) 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", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 42], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 57 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 57 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 57], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/57/payments/new" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"57"} Organism Load (0.9ms) 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"."id" = $1 LIMIT 1 [["id", "57"]] Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 57 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 45 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 17ms (Views: 8.4ms | ActiveRecord: 2.7ms) Started POST "/adherent/members/57/payments" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"57"} 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", "57"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 57], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 57 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 57 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (4.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 45 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 45], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["payment_id", 22], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/57/payments Completed 302 Found in 67ms (ActiveRecord: 7.3ms) Started GET "/adherent/members/57/payments" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"57"} 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", "57"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 57 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 45 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 57 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 57 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.9ms) 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.0ms) Completed 200 OK in 18ms (Views: 12.7ms | ActiveRecord: 2.3ms) Adherent::Payment Load (1.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 57 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 58 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 58 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", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 58], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:42 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" = 59 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 59 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", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 59], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/22/reglements/new" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"22"} 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", "22"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 57 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 59 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 47 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 58 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 46 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (10.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 24ms (Views: 17.0ms | ActiveRecord: 2.9ms) Started POST "/adherent/payments/22/reglements" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"46"}, "commit"=>"Enregistrer", "payment_id"=>"22"} Organism Load (0.5ms) 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", "22"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "46"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 46  (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", 46], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00], ["payment_id", 22], ["updated_at", Fri, 30 Aug 2013 06:27:42 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 57 LIMIT 1 Redirected to http://www.example.com/adherent/members/57/payments Completed 302 Found in 11ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/57/payments" for 127.0.0.1 at 2013-08-30 08:27:42 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"57"} 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", "57"]] Adherent::Payment Load (0.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 57 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 45 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 57 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 46 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 58 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 22 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 57 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (11.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 19ms (Views: 14.1ms | ActiveRecord: 3.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) 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" = 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 60], ["office", nil], ["tel", nil], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 60 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 1]] SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 60]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.3ms) ROLLBACK  (0.0ms) BEGIN  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 43) LIMIT 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" = 43) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 43], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 43) LIMIT 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" = 43) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 43], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 43) LIMIT 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" = 43) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 43], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 43) LIMIT 1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 43) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 43], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 43) LIMIT 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" = 43) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 43], ["updated_at", Fri, 30 Aug 2013 06:27: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-30 08:27: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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 43  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 61 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 61 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 62 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 62 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 63 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 63 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 64 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 64 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 65 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL 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.0ms) Completed 200 OK in 46ms (Views: 35.7ms | ActiveRecord: 5.2ms)  (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.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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 44) LIMIT 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" = 44) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 44], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.0ms) RELEASE 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" = 44) LIMIT 1  (0.7ms) 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" = 44) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 44], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 44) LIMIT 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" = 44) LIMIT 1 SQL (8.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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 44], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 44) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 44) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 44], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 44) LIMIT 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" = 44) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 44], ["updated_at", Fri, 30 Aug 2013 06:27:43 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-30 08:27: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" = 44  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 66 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 66 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 67 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 67 LIMIT 1  (0.2ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 68 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 68 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 69 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 69 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 70 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 70 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 36ms (Views: 28.6ms | ActiveRecord: 4.7ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 45) LIMIT 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" = 45) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 45], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 45) LIMIT 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" = 45) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 45], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 45) LIMIT 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" = 45) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 45], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 45) LIMIT 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" = 45) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 45], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 45) LIMIT 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" = 45) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 45], ["updated_at", Fri, 30 Aug 2013 06:27: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/new" for 127.0.0.1 at 2013-08-30 08:27:43 +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 (9.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 18ms (Views: 14.4ms | ActiveRecord: 0.6ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  Started POST "/adherent/members" for 127.0.0.1 at 2013-08-30 08:27:43 +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 (2.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.7ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'ADH1' AND "adherent_members"."organism_id" = 45) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 45], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/76/coord/new Completed 302 Found in 11ms (ActiveRecord: 5.6ms) Started GET "/adherent/members/76/coord/new" for 127.0.0.1 at 2013-08-30 08:27:43 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"76"} 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", "76"]] Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 76 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (13.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 22ms (Views: 18.0ms | ActiveRecord: 0.6ms)  (0.1ms) SELECT COUNT(*) FROM "adherent_members"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) 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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 46) LIMIT 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" = 46) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 46], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 46) LIMIT 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" = 46) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 46], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 46) LIMIT 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" = 46) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 46], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 46) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 46) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 46], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.0ms) RELEASE 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" = 46) LIMIT 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" = 46) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 46], ["updated_at", Fri, 30 Aug 2013 06:27: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-30 08:27: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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 46  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 77 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 77 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 78 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 78 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 79 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 79 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 80 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 80 LIMIT 1  (0.5ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 81 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 81 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 39ms (Views: 31.0ms | ActiveRecord: 5.5ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 77], ["office", nil], ["tel", nil], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["zip", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 77 LIMIT 1 Started GET "/adherent/members/77/coord" for 127.0.0.1 at 2013-08-30 08:27:43 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"77"} 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", "77"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 77 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 8ms (Views: 5.2ms | ActiveRecord: 0.7ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 47) LIMIT 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" = 47) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 47], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 47) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 47) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 47], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 47) LIMIT 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" = 47) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 47], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 47) LIMIT 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" = 47) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 47], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 47) LIMIT 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" = 47) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 47], ["updated_at", Fri, 30 Aug 2013 06:27: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-30 08:27: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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 47  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 82 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 82 LIMIT 1  (0.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 83 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 83 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 84 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 84 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 85 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 85 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 86 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.4ms) 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 35ms (Views: 27.9ms | ActiveRecord: 4.9ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/82/adhesions" for 127.0.0.1 at 2013-08-30 08:27:43 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"82"} 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", "82"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 82 Redirected to http://www.example.com/adherent/members/82/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.8ms) Started GET "/adherent/members/82/adhesions/new" for 127.0.0.1 at 2013-08-30 08:27:43 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"82"} 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", "82"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* 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 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (5.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 12ms (Views: 8.0ms | ActiveRecord: 1.0ms)  (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.7ms) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 48) LIMIT 1  (0.0ms) 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" = 48) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 48], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 48) LIMIT 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" = 48) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 48], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 48) LIMIT 1  (0.0ms) 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" = 48) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 48], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 48) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 48) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 48], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 48) LIMIT 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" = 48) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 48], ["updated_at", Fri, 30 Aug 2013 06:27: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-30 08:27: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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 48  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 87 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 87 LIMIT 1  (0.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 88 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 88 LIMIT 1  (1.2ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 89 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 89 LIMIT 1  (0.3ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 90 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 90 LIMIT 1  (0.5ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 91 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) 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 35ms (Views: 26.0ms | ActiveRecord: 5.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-30 08:27:43 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"87"} 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", "87"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 87 Rendered collection (0.0ms) 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 6ms (Views: 4.2ms | ActiveRecord: 0.8ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 49) LIMIT 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" = 49) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 49], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 49) LIMIT 1  (0.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" = 49) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 49], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 49) LIMIT 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" = 49) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 49], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 49) LIMIT 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" = 49) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 49], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 49) LIMIT 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" = 49) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 49], ["updated_at", Fri, 30 Aug 2013 06:27: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-30 08:27: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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 49  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 92 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 92 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 93 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 93 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 94 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 95 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 95 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 96 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.5ms) 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.1ms) Completed 200 OK in 39ms (Views: 28.1ms | ActiveRecord: 5.7ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 92 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 92 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", #], ["created_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 92], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/92/adhesions" for 127.0.0.1 at 2013-08-30 08:27:43 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_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"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 92 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 92  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 48 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 48 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 12ms (Views: 7.5ms | ActiveRecord: 1.4ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 50) LIMIT 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" = 50) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 50], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 50) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 50) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 50], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 50) LIMIT 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" = 50) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 50], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 50) LIMIT 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" = 50) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 50], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 50) LIMIT 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" = 50) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 50], ["updated_at", Fri, 30 Aug 2013 06:27: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-30 08:27: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" = 50  (0.3ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 97 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 97 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 98 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 98 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 99 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 99 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 100 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 100 LIMIT 1  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 101 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 36ms (Views: 28.3ms | ActiveRecord: 5.0ms) 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-30 08:27: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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "97"]] Adherent::Coord Load (0.2ms) 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 3ms (ActiveRecord: 0.7ms) Started GET "/adherent/members/97/coord/new" for 127.0.0.1 at 2013-08-30 08:27: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.2ms) 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 (8.0ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 14ms (Views: 11.5ms | ActiveRecord: 0.7ms)  (0.1ms) 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.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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.0ms) RELEASE 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" = 51) LIMIT 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" = 51) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 51], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 51) LIMIT 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" = 51) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 51], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 51) LIMIT 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" = 51) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 51], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 51) LIMIT 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" = 51) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 51], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 51) LIMIT 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" = 51) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 51], ["updated_at", Fri, 30 Aug 2013 06:27: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-30 08:27: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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 51  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 102 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 102 LIMIT 1  (0.5ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 103 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 103 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 104 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 104 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 105 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 105 LIMIT 1  (0.5ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 106 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 37ms (Views: 29.8ms | ActiveRecord: 5.0ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/102/edit" for 127.0.0.1 at 2013-08-30 08:27:43 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"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"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (5.7ms) 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: 11.3ms | ActiveRecord: 0.5ms)  (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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 52) LIMIT 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" = 52) 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", Fri, 30 Aug 2013 06:27:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 52], ["updated_at", Fri, 30 Aug 2013 06:27:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 52) LIMIT 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" = 52) 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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 52], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.1ms) RELEASE 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" = 52) LIMIT 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" = 52) 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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 52], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.1ms) RELEASE 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" = 52) LIMIT 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" = 52) 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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 52], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.1ms) RELEASE 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" = 52) LIMIT 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" = 52) 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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 52], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members" for 127.0.0.1 at 2013-08-30 08:27:44 +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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 52  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 107 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 107 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 108 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 108 LIMIT 1  (1.1ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 109 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 109 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 110 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 110 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 111 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 111 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 36ms (Views: 26.7ms | ActiveRecord: 5.9ms) Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-30 08:27:44 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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 10ms (Views: 8.3ms | ActiveRecord: 0.5ms)  (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.1ms) ROLLBACK  (0.1ms) BEGIN  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.1ms) RELEASE 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" = 53) LIMIT 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" = 53) 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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 53], ["updated_at", Fri, 30 Aug 2013 06:27:44 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" = 112 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 112 ORDER BY to_date DESC LIMIT 1  (0.0ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 112], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 112], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 112 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 112 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 49  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.1ms) RELEASE 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" = 54) LIMIT 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" = 54) 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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 54], ["updated_at", Fri, 30 Aug 2013 06:27:44 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" = 113 Adherent::Adhesion Load (0.0ms) 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.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", #], ["created_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 113], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:44 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", #], ["created_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 113], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 113 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 113 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 50  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.2ms) 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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.1ms) RELEASE 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" = 55) LIMIT 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" = 55) 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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 55], ["updated_at", Fri, 30 Aug 2013 06:27:44 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" = 114 Adherent::Adhesion Load (0.2ms) 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 (1.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 114], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/114/payments/new" for 127.0.0.1 at 2013-08-30 08:27:44 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"114"} Organism Load (0.2ms) 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", "114"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 114 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 51 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 15ms (Views: 8.4ms | ActiveRecord: 1.4ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 114 Started POST "/adherent/members/114/payments" for 127.0.0.1 at 2013-08-30 08:27:44 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"114"} 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", "114"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 114], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 114 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 114 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 51  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 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 23ms (Views: 8.7ms | ActiveRecord: 2.7ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 114  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.4ms) BEGIN Organism Load (4.8ms) 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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.1ms) RELEASE 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" = 56) LIMIT 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" = 56) LIMIT 1 SQL (4.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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 56], ["updated_at", Fri, 30 Aug 2013 06:27:44 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" = 115 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 115 ORDER BY to_date DESC LIMIT 1  (0.5ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 115], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/115/payments/new" for 127.0.0.1 at 2013-08-30 08:27:44 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"115"} 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", "115"]] Adherent::Adhesion Load (0.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 115 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 52 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.0ms | ActiveRecord: 1.7ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) 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.0ms) BEGIN Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) 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  (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.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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:27:44 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) 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", #], ["created_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 116], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) 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.0ms) 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.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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:27:44 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) 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", #], ["created_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 117], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:44 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  (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.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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:27:44 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" = 118 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 118 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", #], ["created_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 118], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:27:44 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" = 118 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 118 ORDER BY to_date DESC LIMIT 1  (0.0ms) 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.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) 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.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.7ms) ROLLBACK  (0.0ms) 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.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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.1ms) RELEASE 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" = 2) LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.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", Tue, 06 Jun 1944], ["created_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.1ms) RELEASE 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" = 57) LIMIT 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" = 57) 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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 57], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members/122/coord/new" for 127.0.0.1 at 2013-08-30 08:27:44 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"122"} 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", "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 (10.0ms) 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 20ms (Views: 15.2ms | ActiveRecord: 1.1ms) Started POST "/adherent/members/122/coord" for 127.0.0.1 at 2013-08-30 08:27:44 +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"=>"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::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 122 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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 122], ["office", ""], ["tel", ""], ["updated_at", Fri, 30 Aug 2013 06:27:44 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 7ms (ActiveRecord: 1.4ms) Started GET "/adherent/members/122/adhesions/new" for 127.0.0.1 at 2013-08-30 08:27:44 +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.0ms) 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 (4.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 13ms (Views: 8.2ms | ActiveRecord: 0.8ms) Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 122 LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.4ms) 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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.1ms) RELEASE 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" = 58) LIMIT 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" = 58) 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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 58], ["updated_at", Fri, 30 Aug 2013 06:27: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/123/coord/new" for 127.0.0.1 at 2013-08-30 08:27:44 +0200 Processing by Adherent::CoordsController#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::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 (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 18ms (Views: 14.4ms | ActiveRecord: 0.9ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  Started POST "/adherent/members/123/coord" for 127.0.0.1 at 2013-08-30 08:27:44 +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.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", "123"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 123 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 123], ["office", ""], ["tel", ""], ["updated_at", Fri, 30 Aug 2013 06:27:44 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 7ms (ActiveRecord: 1.4ms) Started GET "/adherent/members/123/adhesions/new" for 127.0.0.1 at 2013-08-30 08:27:44 +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.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 123 Adherent::Adhesion Load (0.5ms) 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 (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: 8.7ms | ActiveRecord: 1.6ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  (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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.1ms) RELEASE 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" = 59) LIMIT 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" = 59) 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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 59], ["updated_at", Fri, 30 Aug 2013 06:27: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/124/coord/new" for 127.0.0.1 at 2013-08-30 08:27:44 +0200 Processing by Adherent::CoordsController#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.1ms) 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 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.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 16ms (Views: 12.2ms | ActiveRecord: 0.8ms)  (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.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.1ms) RELEASE 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" = 60) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 60) 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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 60], ["updated_at", Fri, 30 Aug 2013 06:27: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/125/coord/new" for 127.0.0.1 at 2013-08-30 08:27:44 +0200 Processing by Adherent::CoordsController#new 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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "125"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 125 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.1ms) Rendered layouts/adherent/_header.html.haml (0.1ms) 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.1ms) Completed 200 OK in 17ms (Views: 12.7ms | ActiveRecord: 0.8ms) Started POST "/adherent/members/125/coord" for 127.0.0.1 at 2013-08-30 08:27:44 +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"=>"125"} 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", "125"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 125 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", ""], ["created_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 125], ["office", ""], ["tel", ""], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/125/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 1.5ms) Started GET "/adherent/members/125/adhesions/new" for 127.0.0.1 at 2013-08-30 08:27:44 +0200 Processing by Adherent::AdhesionsController#new 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.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "125"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 125 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 125 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 13ms (Views: 7.8ms | ActiveRecord: 1.0ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AllpaymentsController#index as HTML Organism Load (0.8ms) 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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" INNER JOIN "adherent_members" ON "adherent_payments"."member_id" = "adherent_members"."id" WHERE "adherent_members"."organism_id" = 61 Completed 200 OK in 16ms (Views: 2.7ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1045", "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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.2ms) 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::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1047", "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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:44 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#new as HTML Parameters: {"member_id"=>"1049"} 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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:44 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"=>"1051", "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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1053", "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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1053/adhesions Completed 302 Found in 7ms (ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1055", "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.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1055/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1057", "id"=>"1"} Organism Load (2.2ms) 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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (1.3ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 4.8ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1059"} Organism Load (1.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.6ms) 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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1059/adhesions Completed 302 Found in 10ms (ActiveRecord: 3.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1061"} Organism Load (1.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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1061/adhesions Completed 302 Found in 6ms (ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1063"} 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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1065"} Organism Load (0.0ms) 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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.8ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1066/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1067"} 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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.4ms) 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", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:27:44 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", #], ["created_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 126], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 06:27:44 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 126 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 126 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", #], ["created_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 126], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 126], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 126 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 126 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 56 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", 56], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["payment_id", 26], ["updated_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 57 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", 57], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["payment_id", 26], ["updated_at", Fri, 30 Aug 2013 06:27: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.0ms) 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", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:27: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", #], ["created_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 127], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 06:27: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" = 127 Adherent::Adhesion Load (0.8ms) 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.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", #], ["created_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 127], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 127], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:27:45 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.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 127 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 58 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", 58], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["payment_id", 27], ["updated_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.5ms) 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 (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", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 128], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 128 Adherent::Adhesion Load (0.5ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 128], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 128], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 128 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 128 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 60 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", 60], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["payment_id", 28], ["updated_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 61 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", 61], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["payment_id", 28], ["updated_at", Fri, 30 Aug 2013 06:27: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" = 28  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (0.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", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} 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", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:45 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::MembersController#new as HTML 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", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} 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", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:45 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" = 'A001' 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", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 78], ["updated_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/129/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.0ms) 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 (2.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.8ms | ActiveRecord: 2.6ms)  (0.1ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27: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" = 'A001' 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", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 80], ["updated_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/130/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001", "birthdate"=>"06/06/1955"}} 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", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:45 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" = 'A001' AND "adherent_members"."organism_id" = 81) 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", Mon, 06 Jun 1955], ["created_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 81], ["updated_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/131/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.5ms)  (2.0ms) ROLLBACK  (0.1ms) 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", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} 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", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:45 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::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 (2.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 3.2ms | ActiveRecord: 2.5ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML 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", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 85 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1072"} 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", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1073"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.4ms) 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", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1073 Completed 302 Found in 6ms (ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "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", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1074 Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1075"} 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", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1075 Completed 302 Found in 7ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1076"} 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", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1077"} 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", Fri, 30 Aug 2013 06:27:45 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:27:45 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) 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.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.7ms) 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.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", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 132], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 133], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 133], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 133 LIMIT 1 Adherent::Adhesion Load (1.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 133 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 63 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 63], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["payment_id", 29], ["updated_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY "adherent_adhesions"."id" DESC LIMIT 1  (0.2ms) 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.3ms) 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", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:28:46 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", #], ["created_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 134], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 135], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 135], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 135 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 135 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 65 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", 65], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["payment_id", 30], ["updated_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 134], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 134 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 134 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 64 SQL (1.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 64], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["payment_id", 31], ["updated_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL Adherent::Adhesion Load (1.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL LIMIT 1  (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.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", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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" = '002' 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", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 136], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00]]  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 137], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 137], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 137 LIMIT 1 Adherent::Adhesion Load (1.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 137 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 67 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 67], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["payment_id", 32], ["updated_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 137], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 137 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 137 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 67 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", 67], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["payment_id", 33], ["updated_at", Fri, 30 Aug 2013 06:28:46 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", #], ["created_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 136], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00]] Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 136 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 136 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 66 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", 66], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["payment_id", 34], ["updated_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.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", #], ["created_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 68  (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", 68], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 68  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (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", #], ["created_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:28:46 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" = 69  (0.2ms) 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", 69], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 69  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 69  (0.1ms) ROLLBACK  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:28:46 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" = 70  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 70], ["amount", #], ["created_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 06:28:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (41.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:28:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:28:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 92) LIMIT 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" = 92) 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", Fri, 30 Aug 2013 06:28:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 92], ["updated_at", Fri, 30 Aug 2013 06:28:58 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.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 138 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 138 ORDER BY to_date DESC LIMIT 1  (0.7ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:28:58 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 138], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:28:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 06:28:58 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 138], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:28:58 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 138 LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 138 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 71  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.5ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:28:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:28:58 UTC +00:00]]  (0.1ms) RELEASE 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  (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" = 93) 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", Fri, 30 Aug 2013 06:28:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 93], ["updated_at", Fri, 30 Aug 2013 06:28:58 UTC +00:00]]  (1.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" = 139 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 139 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", #], ["created_at", Fri, 30 Aug 2013 06:28:58 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 139], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:28:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 06:28:58 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 139], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:28:58 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 139 LIMIT 1 Adherent::Adhesion Load (4.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 139 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 72  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Fri, 30 Aug 2013 06:28:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:28:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 94) LIMIT 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" = 94) 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", Fri, 30 Aug 2013 06:28:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 94], ["updated_at", Fri, 30 Aug 2013 06:28:58 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" = 140 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 140 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 06:28:58 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 140], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:28:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/140/payments/new" for 127.0.0.1 at 2013-08-30 08:28:59 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"140"} 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", "140"]] Adherent::Adhesion Load (0.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 140 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 73 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (27.0ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 56ms (Views: 48.0ms | ActiveRecord: 1.4ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 140 Started POST "/adherent/members/140/payments" for 127.0.0.1 at 2013-08-30 08:28:59 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"140"} 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", "140"]]  (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", #], ["created_at", Fri, 30 Aug 2013 06:28:59 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 140], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 06:28:59 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 140 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 140 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 73  (82.6ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (20.2ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 125ms (Views: 28.8ms | ActiveRecord: 84.8ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 140  (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.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 06:28:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 06:28:59 UTC +00:00]]  (0.1ms) RELEASE 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" = 95) LIMIT 1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 95) 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", Fri, 30 Aug 2013 06:28:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 95], ["updated_at", Fri, 30 Aug 2013 06:28:59 UTC +00:00]]  (0.3ms) 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" = 141 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 141 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", #], ["created_at", Fri, 30 Aug 2013 06:28:59 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 141], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 06:28:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/141/payments/new" for 127.0.0.1 at 2013-08-30 08:28:59 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"141"} 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", "141"]] Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 141 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 74 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 15ms (Views: 9.0ms | ActiveRecord: 1.4ms)  (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 (3.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 07:48:28 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 07:48:28 UTC +00:00]]  (0.1ms) RELEASE 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" = 96) LIMIT 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" = 96) LIMIT 1 SQL (0.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", Fri, 30 Aug 2013 07:48:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 96], ["updated_at", Fri, 30 Aug 2013 07:48:28 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" = 142 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 142 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", #], ["created_at", Fri, 30 Aug 2013 07:48:28 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 142], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 07:48:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL SQL (18.8ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 07:48:28 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 142], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 07:48:28 UTC +00:00]] Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 142 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 142 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 75  (33.5ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) 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 (0.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 07:48:28 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 07:48:28 UTC +00:00]]  (0.1ms) RELEASE 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" = 97) LIMIT 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" = 97) 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", Fri, 30 Aug 2013 07:48:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 97], ["updated_at", Fri, 30 Aug 2013 07:48:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 143 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 143 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", #], ["created_at", Fri, 30 Aug 2013 07:48:28 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 143], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 07:48:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL 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", #], ["created_at", Fri, 30 Aug 2013 07:48:28 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 143], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 07:48:28 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 143 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 143 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 76  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (1.0ms) 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", Fri, 30 Aug 2013 07:48:28 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 07:48:28 UTC +00:00]]  (0.1ms) RELEASE 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" = 98) LIMIT 1  (0.2ms) 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" = 98) 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", Fri, 30 Aug 2013 07:48:28 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 98], ["updated_at", Fri, 30 Aug 2013 07:48:28 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" = 144 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 144 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", #], ["created_at", Fri, 30 Aug 2013 07:48:28 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 144], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 07:48:28 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/144/payments/new" for 127.0.0.1 at 2013-08-30 09:48:28 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"144"} 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", "144"]] Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 144 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 77 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (24.5ms) Rendered layouts/adherent/_header.html.haml (0.8ms) 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 (0.9ms) Completed 200 OK in 53ms (Views: 46.1ms | ActiveRecord: 1.3ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 144 Started POST "/adherent/members/144/payments" for 127.0.0.1 at 2013-08-30 09:48:28 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"144"} 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", "144"]]  (0.1ms) SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL 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", #], ["created_at", Fri, 30 Aug 2013 07:48:28 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 144], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 07:48:28 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 144 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 144 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 77  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (7.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 25ms (Views: 10.3ms | ActiveRecord: 2.6ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 144  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 07:48:28 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 07:48:28 UTC +00:00]]  (0.1ms) RELEASE 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" = 99) LIMIT 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" = 99) 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", Fri, 30 Aug 2013 07:48:29 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 99], ["updated_at", Fri, 30 Aug 2013 07:48:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 145 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 145 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", #], ["created_at", Fri, 30 Aug 2013 07:48:29 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 145], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 07:48:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/145/payments/new" for 127.0.0.1 at 2013-08-30 09:48:29 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"145"} 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", "145"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 145 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 78 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.4ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.9ms) 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 (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", Fri, 30 Aug 2013 07:49:31 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 07:49:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Fri, 30 Aug 2013 07:49:31 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 146], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 07:49:31 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" = 146 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 146 ORDER BY to_date DESC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (36.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", #], ["created_at", Fri, 30 Aug 2013 07:49:31 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 146], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 07:49:31 UTC +00:00]]  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 07:49:31 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 146], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 07:49:31 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 146 LIMIT 1 Adherent::Adhesion Load (12.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 146 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 79 SQL (6.5ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 79], ["amount", #], ["created_at", Fri, 30 Aug 2013 07:49:31 UTC +00:00], ["payment_id", 41], ["updated_at", Fri, 30 Aug 2013 07:49:31 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 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", 80], ["amount", #], ["created_at", Fri, 30 Aug 2013 07:49:31 UTC +00:00], ["payment_id", 41], ["updated_at", Fri, 30 Aug 2013 07:49:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 41  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 41  (0.5ms) 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", Fri, 30 Aug 2013 07:49:31 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 07:49:31 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", #], ["created_at", Fri, 30 Aug 2013 07:49:31 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 147], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 07:49:31 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 147 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 147 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", #], ["created_at", Fri, 30 Aug 2013 07:49:31 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 147], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 07:49:31 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", #], ["created_at", Fri, 30 Aug 2013 07:49:31 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 147], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 07:49:31 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 147 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 147 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 81 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 81], ["amount", #], ["created_at", Fri, 30 Aug 2013 07:49:31 UTC +00:00], ["payment_id", 42], ["updated_at", Fri, 30 Aug 2013 07:49:31 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 82 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", 82], ["amount", #], ["created_at", Fri, 30 Aug 2013 07:49:31 UTC +00:00], ["payment_id", 42], ["updated_at", Fri, 30 Aug 2013 07:49:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.4ms) ROLLBACK  (0.1ms) BEGIN 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  (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.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", Fri, 30 Aug 2013 07:49:31 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 07:49:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 07:49:31 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 148], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 07:49:31 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" = 148 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 148 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", #], ["created_at", Fri, 30 Aug 2013 07:49:31 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 148], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 07:49:31 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", #], ["created_at", Fri, 30 Aug 2013 07:49:31 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 148], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 07:49:31 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 148 LIMIT 1 Adherent::Adhesion Load (1.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 148 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 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", 83], ["amount", #], ["created_at", Fri, 30 Aug 2013 07:49:31 UTC +00:00], ["payment_id", 43], ["updated_at", Fri, 30 Aug 2013 07:49:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (0.8ms) 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 (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", Fri, 30 Aug 2013 07:49:54 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 07:49:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 07:49:55 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 149], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 07:49:55 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" = 149 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 149 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 07:49:55 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 149], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 07:49:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 07:49:55 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 149], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 07:49:55 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 149 LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 149 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 85 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", 85], ["amount", #], ["created_at", Fri, 30 Aug 2013 07:49:55 UTC +00:00], ["payment_id", 44], ["updated_at", Fri, 30 Aug 2013 07:49:55 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 86 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 86], ["amount", #], ["created_at", Fri, 30 Aug 2013 07:49:55 UTC +00:00], ["payment_id", 44], ["updated_at", Fri, 30 Aug 2013 07:49:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.3ms) ROLLBACK  (0.1ms) BEGIN 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  (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", Fri, 30 Aug 2013 07:49:55 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 07:49:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 07:49:55 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 150], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 07:49:55 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" = 150 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 150 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", #], ["created_at", Fri, 30 Aug 2013 07:49:55 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 150], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 07:49:55 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 07:49:55 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 150], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 07:49:55 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 150 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 150 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 87 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", 87], ["amount", #], ["created_at", Fri, 30 Aug 2013 07:49:55 UTC +00:00], ["payment_id", 45], ["updated_at", Fri, 30 Aug 2013 07:49:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) 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.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '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", Fri, 30 Aug 2013 07:49:55 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 07:49:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 07:49:55 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 151], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 07:49:55 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" = 151 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 151 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", #], ["created_at", Fri, 30 Aug 2013 07:49:55 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 151], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 07:49:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 07:49:55 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 151], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 07:49:55 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 151 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 151 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 89 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", 89], ["amount", #], ["created_at", Fri, 30 Aug 2013 07:49:55 UTC +00:00], ["payment_id", 46], ["updated_at", Fri, 30 Aug 2013 07:49:55 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 90 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 90], ["amount", #], ["created_at", Fri, 30 Aug 2013 07:49:55 UTC +00:00], ["payment_id", 46], ["updated_at", Fri, 30 Aug 2013 07:49:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (7.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 07:50:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 07:50:01 UTC +00:00]]  (0.1ms) RELEASE 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" = 100) LIMIT 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" = 100) LIMIT 1 SQL (0.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", Fri, 30 Aug 2013 07:50:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 100], ["updated_at", Fri, 30 Aug 2013 07:50:01 UTC +00:00]]  (0.1ms) 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" = 152 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 152 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", #], ["created_at", Fri, 30 Aug 2013 07:50:01 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 152], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 07:50:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 07:50:01 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 152], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 07:50:01 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 152 LIMIT 1 Adherent::Adhesion Load (1.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 152 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 91  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) 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", Fri, 30 Aug 2013 07:50:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 07:50:01 UTC +00:00]]  (0.0ms) RELEASE 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" = 101) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 101) LIMIT 1 SQL (1.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", Fri, 30 Aug 2013 07:50:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 101], ["updated_at", Fri, 30 Aug 2013 07:50:01 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 153 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 153 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", #], ["created_at", Fri, 30 Aug 2013 07:50:01 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 153], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 07:50:01 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", #], ["created_at", Fri, 30 Aug 2013 07:50:01 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 153], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 07:50:01 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 153 LIMIT 1 Adherent::Adhesion Load (1.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 153 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 07:50:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 07:50:01 UTC +00:00]]  (0.1ms) RELEASE 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" = 102) LIMIT 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" = 102) 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", Fri, 30 Aug 2013 07:50:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 102], ["updated_at", Fri, 30 Aug 2013 07:50:01 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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 154 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 154 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", #], ["created_at", Fri, 30 Aug 2013 07:50:01 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 154], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 07:50:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/154/payments/new" for 127.0.0.1 at 2013-08-30 09:50:01 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"154"} 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", "154"]] Adherent::Adhesion Load (0.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 154 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 93 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (25.3ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 53ms (Views: 44.9ms | ActiveRecord: 1.3ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 154 Started POST "/adherent/members/154/payments" for 127.0.0.1 at 2013-08-30 09:50:02 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"154"} 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", "154"]]  (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", #], ["created_at", Fri, 30 Aug 2013 07:50:02 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 154], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 07:50:02 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 154 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 154 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 93  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 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.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 24ms (Views: 9.5ms | ActiveRecord: 2.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 154  (0.2ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Fri, 30 Aug 2013 07:50:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 07:50:02 UTC +00:00]]  (0.1ms) RELEASE 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" = 103) LIMIT 1  (0.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" = 103) 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", Fri, 30 Aug 2013 07:50:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 103], ["updated_at", Fri, 30 Aug 2013 07:50:02 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 155 Adherent::Adhesion Load (4.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 155 ORDER BY to_date DESC LIMIT 1  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 07:50:02 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 155], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 07:50:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/155/payments/new" for 127.0.0.1 at 2013-08-30 09:50:02 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"155"} 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", "155"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 155 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 94 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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 16ms (Views: 8.6ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Organism Load (1.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 07:53:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 07:53:32 UTC +00:00]]  (0.1ms) RELEASE 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" = 104) LIMIT 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" = 104) 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", Fri, 30 Aug 2013 07:53:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 104], ["updated_at", Fri, 30 Aug 2013 07:53:32 UTC +00:00]]  (0.2ms) 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" = 156 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 156 ORDER BY to_date DESC LIMIT 1  (0.5ms) SAVEPOINT active_record_1 SQL (27.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", #], ["created_at", Fri, 30 Aug 2013 07:53:32 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 156], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 07:53:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/156/payments/new" for 127.0.0.1 at 2013-08-30 09:53:32 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"156"} Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "156"]] Adherent::Adhesion Load (0.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 156 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (25.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (31.9ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 118ms (Views: 87.3ms | ActiveRecord: 6.2ms)  (0.5ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Fri, 30 Aug 2013 07:53:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 07:53:32 UTC +00:00]]  (0.1ms) RELEASE 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" = 105) LIMIT 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" = 105) 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", Fri, 30 Aug 2013 07:53:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 105], ["updated_at", Fri, 30 Aug 2013 07:53: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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 157 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 157 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", #], ["created_at", Fri, 30 Aug 2013 07:53:32 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 157], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 07:53:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/157/payments/new" for 127.0.0.1 at 2013-08-30 09:53:32 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"157"} 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", "157"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 157 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (7.7ms) 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 18ms (Views: 11.8ms | ActiveRecord: 1.4ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 157 Started POST "/adherent/members/157/payments" for 127.0.0.1 at 2013-08-30 09:53:32 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"157"} 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", "157"]]  (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", #], ["created_at", Fri, 30 Aug 2013 07:53:32 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 157], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 07:53:32 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 157 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 157 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96  (0.6ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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 45ms (Views: 11.7ms | ActiveRecord: 3.1ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 157  (0.1ms) 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", Fri, 30 Aug 2013 07:53:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 07:53:32 UTC +00:00]]  (0.1ms) RELEASE 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" = 106) LIMIT 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" = 106) 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", Fri, 30 Aug 2013 07:53:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 106], ["updated_at", Fri, 30 Aug 2013 07:53:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 158 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 158 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", #], ["created_at", Fri, 30 Aug 2013 07:53:32 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 158], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 07:53:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 07:53:32 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 158], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 07:53:32 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 158 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 158 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 97  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.1ms) 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", Fri, 30 Aug 2013 07:53:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 07:53:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 107) LIMIT 1  (0.2ms) 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" = 107) 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", Fri, 30 Aug 2013 07:53:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 107], ["updated_at", Fri, 30 Aug 2013 07:53:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 159 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 159 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", #], ["created_at", Fri, 30 Aug 2013 07:53:32 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 159], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 07:53:32 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", #], ["created_at", Fri, 30 Aug 2013 07:53:32 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 159], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 07:53:32 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 159 LIMIT 1 Adherent::Adhesion Load (2.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 159 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 98  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (9.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 07:54:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 07:54:06 UTC +00:00]]  (0.1ms) RELEASE 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" = 108) LIMIT 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" = 108) 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", Fri, 30 Aug 2013 07:54:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 108], ["updated_at", Fri, 30 Aug 2013 07:54:06 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" = 160 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 160 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", #], ["created_at", Fri, 30 Aug 2013 07:54:06 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 160], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 07:54:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/160/payments/new" for 127.0.0.1 at 2013-08-30 09:54:06 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"160"} 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", "160"]] Adherent::Adhesion Load (1.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 160 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 99 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (24.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (28.7ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 118ms (Views: 87.5ms | ActiveRecord: 4.9ms)  (0.5ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Fri, 30 Aug 2013 07:54:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 07:54:06 UTC +00:00]]  (0.1ms) RELEASE 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" = 109) LIMIT 1  (0.0ms) 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" = 109) 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", Fri, 30 Aug 2013 07:54:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 109], ["updated_at", Fri, 30 Aug 2013 07:54:06 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" = 161 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 161 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", #], ["created_at", Fri, 30 Aug 2013 07:54:06 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 161], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 07:54:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/161/payments/new" for 127.0.0.1 at 2013-08-30 09:54:06 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"161"} 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", "161"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 161 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 100 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (8.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 18ms (Views: 11.8ms | ActiveRecord: 1.3ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 161 Started POST "/adherent/members/161/payments" for 127.0.0.1 at 2013-08-30 09:54:06 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"161"} 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", "161"]]  (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", #], ["created_at", Fri, 30 Aug 2013 07:54:06 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 161], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 07:54:06 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 161 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 161 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 100  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.3ms) Rendered layouts/adherent/_header.html.haml (1.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: 10.0ms | ActiveRecord: 2.8ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 161  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) 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", Fri, 30 Aug 2013 07:54:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 07:54:06 UTC +00:00]]  (0.1ms) RELEASE 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" = 110) LIMIT 1  (0.2ms) 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" = 110) 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", Fri, 30 Aug 2013 07:54:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 110], ["updated_at", Fri, 30 Aug 2013 07:54:06 UTC +00:00]]  (3.6ms) 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" = 162 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 162 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", #], ["created_at", Fri, 30 Aug 2013 07:54:06 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 162], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 07:54:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 07:54:06 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 162], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 07:54:06 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 162 LIMIT 1 Adherent::Adhesion Load (1.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 162 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 101  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Fri, 30 Aug 2013 07:54:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 07:54:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (3.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 111) LIMIT 1  (0.2ms) 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" = 111) 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", Fri, 30 Aug 2013 07:54:07 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 111], ["updated_at", Fri, 30 Aug 2013 07:54:07 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" = 163 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 163 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", #], ["created_at", Fri, 30 Aug 2013 07:54:07 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 163], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 07:54:07 UTC +00:00]]  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 07:54:07 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 163], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 07:54:07 UTC +00:00]] Adherent::Member Load (3.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 163 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 163 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 102  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (12.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 07:54:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 07:54:48 UTC +00:00]]  (0.1ms) RELEASE 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" = 112) LIMIT 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" = 112) 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", Fri, 30 Aug 2013 07:54:48 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 112], ["updated_at", Fri, 30 Aug 2013 07:54:48 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" = 164 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 164 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", #], ["created_at", Fri, 30 Aug 2013 07:54:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 164], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 07:54:49 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/164/payments/new" for 127.0.0.1 at 2013-08-30 09:54:49 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"164"} Organism Load (0.8ms) 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", "164"]] Adherent::Adhesion Load (1.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 164 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 103 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (25.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (30.2ms) Rendered layouts/adherent/_header.html.haml (0.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 126ms (Views: 86.5ms | ActiveRecord: 6.9ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 07:54:49 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 07:54:49 UTC +00:00]]  (0.1ms) RELEASE 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" = 113) LIMIT 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" = 113) 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", Fri, 30 Aug 2013 07:54:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 113], ["updated_at", Fri, 30 Aug 2013 07:54:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 165 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 165 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", #], ["created_at", Fri, 30 Aug 2013 07:54:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 165], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 07:54:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/165/payments/new" for 127.0.0.1 at 2013-08-30 09:54:49 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"165"} 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", "165"]] Adherent::Adhesion Load (0.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 165 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 104 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (7.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.2ms) Completed 200 OK in 18ms (Views: 12.1ms | ActiveRecord: 1.0ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 165 Started POST "/adherent/members/165/payments" for 127.0.0.1 at 2013-08-30 09:54:49 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"165"} 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", "165"]]  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 07:54:49 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 165], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 07:54:49 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 165 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 165 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 104  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.4ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 42ms (Views: 10.6ms | ActiveRecord: 3.5ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 165  (0.3ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) 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", Fri, 30 Aug 2013 07:54:49 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 07:54:49 UTC +00:00]]  (0.1ms) RELEASE 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" = 114) LIMIT 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" = 114) 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", Fri, 30 Aug 2013 07:54:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 114], ["updated_at", Fri, 30 Aug 2013 07:54:49 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" = 166 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 166 ORDER BY to_date DESC LIMIT 1  (0.7ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Fri, 30 Aug 2013 07:54:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 166], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 07:54:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 07:54:49 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 166], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 07:54:49 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 166 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 166 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 105  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Fri, 30 Aug 2013 07:54:49 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 07:54:49 UTC +00:00]]  (0.1ms) RELEASE 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" = 115) LIMIT 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" = 115) 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", Fri, 30 Aug 2013 07:54:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 115], ["updated_at", Fri, 30 Aug 2013 07:54:49 UTC +00:00]]  (0.2ms) 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" = 167 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 167 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", #], ["created_at", Fri, 30 Aug 2013 07:54:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 167], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 07:54:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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", #], ["created_at", Fri, 30 Aug 2013 07:54:49 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 167], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 07:54:49 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 167 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 167 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 106  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (12.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 07:57:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 07:57:15 UTC +00:00]]  (0.2ms) RELEASE 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" = 116) LIMIT 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" = 116) 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", Fri, 30 Aug 2013 07:57:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 116], ["updated_at", Fri, 30 Aug 2013 07:57: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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 168 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 168 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", #], ["created_at", Fri, 30 Aug 2013 07:57:15 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 168], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 07:57:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/168/payments/new" for 127.0.0.1 at 2013-08-30 09:57:15 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"168"} 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", "168"]] Adherent::Adhesion Load (1.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 168 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 107 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (24.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (29.1ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (1.8ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.6ms) Completed 200 OK in 115ms (Views: 85.6ms | ActiveRecord: 4.9ms)  (1.4ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.0ms) 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", Fri, 30 Aug 2013 07:57:15 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 07:57:15 UTC +00:00]]  (0.1ms) RELEASE 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" = 117) LIMIT 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" = 117) 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", Fri, 30 Aug 2013 07:57:15 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 117], ["updated_at", Fri, 30 Aug 2013 07:57: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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 169 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 169 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 07:57:15 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 169], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 07:57:15 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/169/payments/new" for 127.0.0.1 at 2013-08-30 09:57:15 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"169"} 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", "169"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 169 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 108 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (7.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 18ms (Views: 12.0ms | ActiveRecord: 1.3ms)  (0.7ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 169 Started POST "/adherent/members/169/payments" for 127.0.0.1 at 2013-08-30 09:57: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"=>"169"} 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", "169"]]  (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", #], ["created_at", Fri, 30 Aug 2013 07:57:16 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 169], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 07:57:16 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 169 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 169 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 108  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 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 62ms (Views: 9.4ms | ActiveRecord: 2.9ms)  (4.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 169  (0.6ms) 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", Fri, 30 Aug 2013 07:57:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 07:57:16 UTC +00:00]]  (0.1ms) RELEASE 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" = 118) LIMIT 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" = 118) 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", Fri, 30 Aug 2013 07:57:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 118], ["updated_at", Fri, 30 Aug 2013 07:57: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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 170 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 170 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", #], ["created_at", Fri, 30 Aug 2013 07:57:16 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 170], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 07:57:16 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 07:57:16 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 170], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 07:57:16 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 170 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 170 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 109  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Fri, 30 Aug 2013 07:57:16 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 07:57:16 UTC +00:00]]  (0.1ms) RELEASE 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" = 119) LIMIT 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" = 119) 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", Fri, 30 Aug 2013 07:57:16 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 119], ["updated_at", Fri, 30 Aug 2013 07:57: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.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 171 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 171 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", #], ["created_at", Fri, 30 Aug 2013 07:57:16 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 171], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 07:57: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", #], ["created_at", Fri, 30 Aug 2013 07:57:16 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 171], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 07:57:16 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 171 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 171 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 110  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.2ms) BEGIN Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (12.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 120) LIMIT 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" = 120) 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", Fri, 30 Aug 2013 08:03:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 120], ["updated_at", Fri, 30 Aug 2013 08:03:00 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" = 172 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 172 ORDER BY to_date DESC LIMIT 1  (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:03:00 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 172], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/172/payments/new" for 127.0.0.1 at 2013-08-30 10:03:00 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"172"} 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", "172"]] Adherent::Adhesion Load (29.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 172 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (24.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (28.7ms) Rendered layouts/adherent/_header.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 133ms (Views: 86.2ms | ActiveRecord: 31.9ms)  (0.6ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:00 UTC +00:00]]  (0.0ms) RELEASE 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" = 121) LIMIT 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" = 121) 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", Fri, 30 Aug 2013 08:03:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 121], ["updated_at", Fri, 30 Aug 2013 08:03:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 173 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 173 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", #], ["created_at", Fri, 30 Aug 2013 08:03:00 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 173], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/173/payments/new" for 127.0.0.1 at 2013-08-30 10:03:00 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"173"} 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", "173"]] Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 173 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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 16ms (Views: 10.6ms | ActiveRecord: 1.3ms)  (1.1ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 173 Started POST "/adherent/members/173/payments" for 127.0.0.1 at 2013-08-30 10:03:00 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"173"} 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", "173"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:00 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 173], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:00 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 173 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 173 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/173/payments Completed 302 Found in 23ms (ActiveRecord: 3.6ms) Started GET "/adherent/members/173/payments" for 127.0.0.1 at 2013-08-30 10:03:00 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"173"} 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", "173"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 173 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 62 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 62  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 62 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 62 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 62 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 173 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.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.1ms) Completed 200 OK in 24ms (Views: 18.3ms | ActiveRecord: 2.9ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 173  (0.4ms) ROLLBACK  (0.1ms) BEGIN Organism Load (1.1ms) 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", Fri, 30 Aug 2013 08:03:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 122) LIMIT 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" = 122) 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", Fri, 30 Aug 2013 08:03:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 122], ["updated_at", Fri, 30 Aug 2013 08:03:00 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" = 174 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 174 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", #], ["created_at", Fri, 30 Aug 2013 08:03:00 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 174], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:00 UTC +00:00]]  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:03:00 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 174], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:00 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 174 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 174 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/174/payments" for 127.0.0.1 at 2013-08-30 10:03:00 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"174"} 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", "174"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 174 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 63 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 63  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 63 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 63 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 63 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 174 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (7.6ms) 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 17ms (Views: 11.9ms | ActiveRecord: 2.8ms)  (0.1ms) 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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 123) LIMIT 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" = 123) 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", Fri, 30 Aug 2013 08:03:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 123], ["updated_at", Fri, 30 Aug 2013 08:03:00 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" = 175 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 175 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", #], ["created_at", Fri, 30 Aug 2013 08:03:00 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 175], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:00 UTC +00:00]]  (0.8ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:03:00 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 175], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:00 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 175 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 175 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/175/payments" for 127.0.0.1 at 2013-08-30 10:03:00 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"175"} 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", "175"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 175 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 175 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.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 18ms (Views: 12.5ms | ActiveRecord: 2.4ms) Started GET "/adherent/payments/64/reglements/new" for 127.0.0.1 at 2013-08-30 10:03:00 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"64"} Organism Load (0.4ms) 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", "64"]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 175 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 29ms (Views: 15.9ms | ActiveRecord: 2.4ms)  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1001"} Organism Load (0.8ms) 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", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/index.html.haml within layouts/adherent/application (0.2ms) Completed 200 OK in 26ms (Views: 7.6ms | ActiveRecord: 5.9ms)  (0.9ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1002"} 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", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1002/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1003"} 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", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1004"} 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", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1006", "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", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.6ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1008", "id"=>"1"} Organism Load (0.3ms) 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", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1008/adhesions Completed 302 Found in 7ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1010", "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", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1010/adhesions Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1012", "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.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1014"} 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", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1016"} Organism Load (0.7ms) 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", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1016/adhesions Completed 302 Found in 6ms (ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1018"} 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", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1018/adhesions Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1020", "id"=>"1"} Organism Load (0.4ms) 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", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1022", "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", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) 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", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 176], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 08:03:07 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" = 176 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 176 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", #], ["created_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 176], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 176], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 176 LIMIT 1 Adherent::Adhesion Load (1.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 176 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 115 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", 115], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["payment_id", 65], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 116 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", 116], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["payment_id", 65], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 65  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 65  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' 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", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:03:07 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", #], ["created_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 177], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 08:03:07 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" = 177 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 177 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", #], ["created_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 177], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 08:03:07 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", #], ["created_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 177], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 177 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 177 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 117 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", 117], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["payment_id", 66], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.4ms) ROLLBACK  (0.1ms) BEGIN  (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", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:03:07 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", #], ["created_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 178], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 08:03:07 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" = 178 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 178 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", #], ["created_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 178], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 178], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 178 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 178 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 119 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", 119], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["payment_id", 67], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 120 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 120], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["payment_id", 67], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.1ms) SELECT COUNT(*) FROM "adherent_reglements"   (5.8ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) ROLLBACK  (1.6ms) BEGIN  (0.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) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.7ms) ROLLBACK  (1.6ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) 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.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:07 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" = 121  (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", 121], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:07 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" = 122  (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", 122], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 122  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 122  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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", #], ["created_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:07 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" = 123  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 123], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 123  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) 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.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", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.0ms) 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" = '002' 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", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 179], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 180], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 180], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 180 LIMIT 1 Adherent::Adhesion Load (1.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 180 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 125 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 125], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["payment_id", 68], ["updated_at", Fri, 30 Aug 2013 08:03:07 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", #], ["created_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 180], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 180 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 180 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 125 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", 125], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["payment_id", 69], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 179], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:07 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 179 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 179 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 124 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", 124], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["payment_id", 70], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' 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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:03:08 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" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (0.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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:03:08 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", #], ["created_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 181], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 182], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 182], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 182 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 182 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 127 SQL (1.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 127], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["payment_id", 71], ["updated_at", Fri, 30 Aug 2013 08:03:08 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", #], ["created_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 181], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 181 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 181 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 126 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", 126], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["payment_id", 72], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (0.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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:03:08 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" = '002' 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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 183], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 184], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 184], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 184 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 184 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 129 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", 129], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["payment_id", 73], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY "adherent_adhesions"."id" DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 137 Completed 200 OK in 14ms (Views: 2.9ms | ActiveRecord: 2.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (0.5ms) 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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 2.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} 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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} 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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.9ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1026"} 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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 2.7ms | ActiveRecord: 1.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1027"} Organism Load (1.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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1027 Completed 302 Found in 9ms (ActiveRecord: 2.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1028"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1028 Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1029"} 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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1029 Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:08 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" = 'A001' AND "adherent_members"."organism_id" = 145) 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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 145], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/185/coord/new Completed 302 Found in 9ms (ActiveRecord: 1.7ms)  (0.1ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:08 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" = 'A001' AND "adherent_members"."organism_id" = 146) 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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 146], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/186/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.6ms)  (0.1ms) 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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.5ms | ActiveRecord: 1.5ms)  (0.1ms) 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.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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:08 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" = 'A001' AND "adherent_members"."organism_id" = 148) 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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 148], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/187/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} 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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} Organism Load (0.4ms) 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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.1ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML 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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 5.8ms | ActiveRecord: 0.9ms)  (2.8ms) ROLLBACK  (0.9ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1032"} Organism Load (1.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.4ms) 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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 8ms (ActiveRecord: 3.8ms)  (1.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1033"} Organism Load (1.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.8ms) SAVEPOINT active_record_1 SQL (4.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 12ms (ActiveRecord: 6.1ms)  (0.9ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AllpaymentsController#index as HTML Organism Load (1.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.8ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" INNER JOIN "adherent_members" ON "adherent_payments"."member_id" = "adherent_members"."id" WHERE "adherent_members"."organism_id" = 154 Completed 200 OK in 38ms (Views: 2.0ms | ActiveRecord: 5.0ms)  (1.4ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (2.6ms) 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.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.3ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (2.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.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.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", Tue, 06 Jun 1944], ["created_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.0ms) 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 (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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.1ms) RELEASE 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  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) 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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 2) LIMIT 1  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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.0ms) 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.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  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:03:08 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" = 191 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 191 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", #], ["created_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 191], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:08 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" = 191 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 191 ORDER BY to_date DESC LIMIT 1  (1.6ms) ROLLBACK  (0.0ms) 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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:03:08 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" = 192 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 192 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", #], ["created_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 192], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:08 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" = 192 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 192 ORDER BY to_date DESC LIMIT 1  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) 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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:03:08 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" = 193 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 193 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", #], ["created_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 193], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:08 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" = 193 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 193 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.0ms) COMMIT  (0.3ms) BEGIN Organism Load (1.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.7ms) 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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.1ms) RELEASE 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" = 155) LIMIT 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" = 155) 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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 155], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.1ms) RELEASE 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" = 155) LIMIT 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" = 155) 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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 155], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.1ms) RELEASE 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" = 155) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 155) 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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 155], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.1ms) RELEASE 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" = 155) LIMIT 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" = 155) 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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 155], ["updated_at", Fri, 30 Aug 2013 08:03:08 UTC +00:00]]  (0.0ms) RELEASE 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" = 155) LIMIT 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" = 155) 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", Fri, 30 Aug 2013 08:03:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 155], ["updated_at", Fri, 30 Aug 2013 08:03:08 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-30 10:03:08 +0200 Processing by Adherent::MembersController#index as HTML 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"."organism_id" = 155  (0.2ms) SHOW max_identifier_length  (0.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 194 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 194 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 195 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 195 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 196 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 196 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 197 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 197 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 198 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 198 LIMIT 1 Rendered layouts/adherent/_header.html.haml (1.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 82ms (Views: 72.4ms | ActiveRecord: 7.1ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 156) LIMIT 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" = 156) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 156], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 156) LIMIT 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" = 156) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 156], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 156) LIMIT 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" = 156) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 156], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 156) LIMIT 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" = 156) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 156], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 156) LIMIT 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" = 156) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 156], ["updated_at", Fri, 30 Aug 2013 08:03:09 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-30 10:03:09 +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" = 156  (1.2ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 199 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 199 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 200 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 200 LIMIT 1  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 201 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 201 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 202 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 202 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 203 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 203 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 37ms (Views: 29.2ms | ActiveRecord: 5.8ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 157) LIMIT 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" = 157) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 157], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 157) LIMIT 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" = 157) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 157], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 157) LIMIT 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" = 157) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 157], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 157) LIMIT 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" = 157) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 157], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 157) LIMIT 1  (0.0ms) 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" = 157) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 157], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.4ms) 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-30 10:03:09 +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" = 157  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 204 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 204 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 205 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 205 LIMIT 1  (1.2ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 206 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 206 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 207 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 207 LIMIT 1  (1.3ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 208 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 208 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 96ms (Views: 87.5ms | ActiveRecord: 6.6ms) Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/204/coord" for 127.0.0.1 at 2013-08-30 10:03:09 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"204"} 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", "204"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 204 LIMIT 1 Redirected to http://www.example.com/adherent/members/204/coord/new Completed 302 Found in 5ms (ActiveRecord: 1.0ms) Started GET "/adherent/members/204/coord/new" for 127.0.0.1 at 2013-08-30 10:03:09 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"204"} 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", "204"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 204 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (32.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 60ms (Views: 41.1ms | ActiveRecord: 1.0ms)  (0.4ms) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 158) LIMIT 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" = 158) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 158], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 158) LIMIT 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" = 158) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 158], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (7.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 158) LIMIT 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" = 158) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 158], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 158) LIMIT 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" = 158) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 158], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (4.3ms) RELEASE 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" = 158) LIMIT 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" = 158) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 158], ["updated_at", Fri, 30 Aug 2013 08:03:09 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-30 10:03:09 +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" = 158  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 209 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 209 LIMIT 1  (1.5ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 210 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 210 LIMIT 1  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 211 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 211 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 212 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 212 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 213 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 213 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 44ms (Views: 35.3ms | ActiveRecord: 5.9ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 209], ["office", nil], ["tel", nil], ["updated_at", Fri, 30 Aug 2013 08:03:09 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" = 209 LIMIT 1 Started GET "/adherent/members/209/coord" for 127.0.0.1 at 2013-08-30 10:03:09 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"209"} 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", "209"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 209 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 8ms (Views: 4.8ms | ActiveRecord: 0.8ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 159) LIMIT 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" = 159) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 159], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 159) LIMIT 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" = 159) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 159], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 159) LIMIT 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" = 159) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 159], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 159) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 159) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 159], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 159) LIMIT 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" = 159) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 159], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members" for 127.0.0.1 at 2013-08-30 10:03:09 +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" = 159  (0.9ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 214 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 214 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 215 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 215 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 216 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (1.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 216 LIMIT 1  (1.2ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 217 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 217 LIMIT 1  (1.0ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 218 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 218 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 52ms (Views: 40.2ms | ActiveRecord: 8.3ms) Adherent::Member Load (1.6ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/214/edit" for 127.0.0.1 at 2013-08-30 10:03:09 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"214"} Organism Load (0.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", "214"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_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 19ms (Views: 14.9ms | ActiveRecord: 1.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 160) LIMIT 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" = 160) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 160], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 160) LIMIT 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" = 160) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 160], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 160) LIMIT 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" = 160) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 160], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 160) LIMIT 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" = 160) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 160], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 160) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 160) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 160], ["updated_at", Fri, 30 Aug 2013 08:03:09 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-30 10:03:09 +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" = 160  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 219 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 219 LIMIT 1  (0.5ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 220 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 220 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 221 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 221 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 222 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 222 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 223 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (1.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 223 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 40ms (Views: 31.0ms | ActiveRecord: 6.1ms) Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/219/payments" for 127.0.0.1 at 2013-08-30 10:03:09 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"219"} 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", "219"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 219 Rendered collection (0.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 16ms (Views: 10.0ms | ActiveRecord: 1.1ms)  (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 (0.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 161) LIMIT 1  (0.0ms) 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" = 161) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 161], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 161) LIMIT 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" = 161) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 161], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 161) LIMIT 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" = 161) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 161], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 161) LIMIT 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" = 161) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 161], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 161) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 161) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 161], ["updated_at", Fri, 30 Aug 2013 08:03:09 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-30 10:03:09 +0200 Processing by Adherent::MembersController#index as HTML 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"."organism_id" = 161  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 224 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 224 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 225 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 225 LIMIT 1  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 226 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 226 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 227 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 227 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 228 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 228 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 39ms (Views: 29.9ms | ActiveRecord: 5.8ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 224 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 224 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", #], ["created_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 224], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/224/adhesions" for 127.0.0.1 at 2013-08-30 10:03:09 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"224"} 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"."id" = $1 LIMIT 1 [["id", "224"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 224 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 224  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 133 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 133 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 22ms (Views: 16.7ms | ActiveRecord: 2.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 162) LIMIT 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" = 162) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 162], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 162) LIMIT 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" = 162) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 162], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 162) LIMIT 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" = 162) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 162], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 162) LIMIT 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" = 162) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 162], ["updated_at", Fri, 30 Aug 2013 08:03:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 162) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 162) 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", Fri, 30 Aug 2013 08:03:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 162], ["updated_at", Fri, 30 Aug 2013 08:03:09 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-30 10:03:09 +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" = 162  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 229 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 229 LIMIT 1  (0.9ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 230 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 230 LIMIT 1  (1.0ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 231 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (1.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 231 LIMIT 1  (2.3ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 232 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 232 LIMIT 1  (4.5ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 233 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (2.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 233 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 61ms (Views: 42.6ms | ActiveRecord: 15.1ms) Adherent::Member Load (5.5ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/229/adhesions" for 127.0.0.1 at 2013-08-30 10:03:09 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"229"} Organism Load (3.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "229"]]  (0.5ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 229 Redirected to http://www.example.com/adherent/members/229/adhesions/new Completed 302 Found in 10ms (ActiveRecord: 5.4ms) Started GET "/adherent/members/229/adhesions/new" for 127.0.0.1 at 2013-08-30 10:03:09 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"229"} Organism Load (8.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "229"]] Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 229 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 229 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (27.6ms) 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 57ms (Views: 39.1ms | ActiveRecord: 11.2ms)  (0.1ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) COMMIT  (0.8ms) BEGIN Organism Load (1.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.7ms) RELEASE 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" = 163) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 163) 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", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 163], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.4ms) RELEASE 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" = 163) LIMIT 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" = 163) 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", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 163], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.1ms) RELEASE 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" = 163) LIMIT 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" = 163) 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", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 163], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.2ms) RELEASE 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" = 163) LIMIT 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" = 163) LIMIT 1 SQL (1.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", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 163], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.1ms) RELEASE 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" = 163) LIMIT 1  (0.2ms) 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" = 163) 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", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 163], ["updated_at", Fri, 30 Aug 2013 08:03:10 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-30 10:03:10 +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" = 163  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 234 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 234 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 235 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 235 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 236 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 236 LIMIT 1  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 237 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 237 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 238 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 238 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 40ms (Views: 31.4ms | ActiveRecord: 5.8ms) Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-30 10:03:10 +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 (6.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 12ms (Views: 9.9ms | ActiveRecord: 0.3ms)  (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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.0ms) RELEASE 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" = 164) LIMIT 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" = 164) 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", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 164], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 164) LIMIT 1  (0.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" = 164) LIMIT 1 SQL (10.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", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 164], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 164) LIMIT 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" = 164) 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", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 164], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.1ms) RELEASE 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" = 164) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 164) LIMIT 1 SQL (1.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", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 164], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.1ms) RELEASE 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" = 164) LIMIT 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" = 164) 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", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 164], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-30 10:03:10 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (8.1ms) 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.8ms) Completed 200 OK in 17ms (Views: 14.0ms | ActiveRecord: 0.4ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members" Started POST "/adherent/members" for 127.0.0.1 at 2013-08-30 10:03:10 +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.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'ADH1' AND "adherent_members"."organism_id" = 164) 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", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 164], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/244/coord/new Completed 302 Found in 9ms (ActiveRecord: 1.8ms) Started GET "/adherent/members/244/coord/new" for 127.0.0.1 at 2013-08-30 10:03:10 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"244"} Organism Load (2.1ms) 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", "244"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 244 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (13.7ms) 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.2ms) Completed 200 OK in 27ms (Views: 19.1ms | ActiveRecord: 3.1ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"   (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 (0.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.1ms) RELEASE 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" = 165) LIMIT 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" = 165) LIMIT 1 SQL (5.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", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 165], ["updated_at", Fri, 30 Aug 2013 08:03:10 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" = 245 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 245 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", #], ["created_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 245], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/245/payments/new" for 127.0.0.1 at 2013-08-30 10:03:10 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"245"} 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", "245"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 245 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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: 18.2ms | ActiveRecord: 1.5ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.1ms) RELEASE 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" = 166) LIMIT 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" = 166) 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", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 166], ["updated_at", Fri, 30 Aug 2013 08:03:10 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" = 246 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 246 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", #], ["created_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 246], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/246/payments/new" for 127.0.0.1 at 2013-08-30 10:03:10 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"246"} 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", "246"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 246 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (8.2ms) Rendered layouts/adherent/_header.html.haml (0.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 19ms (Views: 14.0ms | ActiveRecord: 0.9ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 246 Started POST "/adherent/members/246/payments" for 127.0.0.1 at 2013-08-30 10:03:10 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"246"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "246"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 246], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 246 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 246 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/246/payments Completed 302 Found in 11ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/246/payments" for 127.0.0.1 at 2013-08-30 10:03:10 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"246"} 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", "246"]] Adherent::Payment Load (1.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 246 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 74 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 74  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 74 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 74 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 74 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 246 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 22ms (Views: 16.6ms | ActiveRecord: 3.5ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 246  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.0ms) RELEASE 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" = 167) LIMIT 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" = 167) 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", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 167], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.2ms) 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" = 247 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 247 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", #], ["created_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 247], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 247], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 247 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 247 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/247/payments" for 127.0.0.1 at 2013-08-30 10:03:10 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"247"} 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", "247"]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 247 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 247 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 18ms (Views: 13.8ms | ActiveRecord: 2.7ms)  (0.1ms) 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.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", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 168) LIMIT 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" = 168) 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", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 168], ["updated_at", Fri, 30 Aug 2013 08:03:10 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.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 248 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 248 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", #], ["created_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 248], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 248], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 248 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 248 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/248/payments" for 127.0.0.1 at 2013-08-30 10:03:10 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"248"} 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", "248"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 248 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 76 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 76  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 76 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 76 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 76 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 248 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (6.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 18ms (Views: 12.2ms | ActiveRecord: 2.2ms) Started GET "/adherent/payments/76/reglements/new" for 127.0.0.1 at 2013-08-30 10:03:10 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"76"} 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", "76"]] Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 248 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 76  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 76 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 76 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 76 Adherent::Adhesion Load (0.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (7.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 22ms (Views: 15.3ms | ActiveRecord: 2.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.1ms) 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", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.1ms) RELEASE 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" = 169) LIMIT 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" = 169) 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", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 169], ["updated_at", Fri, 30 Aug 2013 08:03:10 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/249/adhesions/new" for 127.0.0.1 at 2013-08-30 10:03:10 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"249"} 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", "249"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 249 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 249 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 13ms (Views: 8.6ms | ActiveRecord: 0.9ms)  (0.6ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.1ms) RELEASE 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" = 170) LIMIT 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" = 170) 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", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 170], ["updated_at", Fri, 30 Aug 2013 08:03:10 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/250/adhesions/new" for 127.0.0.1 at 2013-08-30 10:03:10 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"250"} 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", "250"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 250 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 250 ORDER BY to_date DESC LIMIT 1 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 15ms (Views: 9.9ms | ActiveRecord: 1.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 250 Started POST "/adherent/members/250/adhesions" for 127.0.0.1 at 2013-08-30 10:03:10 +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"=>"250"} 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", "250"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 250], ["to_date", Thu, 31 Jul 2014], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/250/adhesions Completed 302 Found in 6ms (ActiveRecord: 1.1ms) Started GET "/adherent/members/250/adhesions" for 127.0.0.1 at 2013-08-30 10:03:10 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"250"} Organism Load (1.0ms) 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", "250"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 250 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 250  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 138 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 138 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 11ms (Views: 7.4ms | ActiveRecord: 1.9ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 250  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.1ms) RELEASE 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" = 171) LIMIT 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" = 171) 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", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 171], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (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", #], ["created_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 251], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/251/adhesions" for 127.0.0.1 at 2013-08-30 10:03:10 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"251"} 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", "251"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 251 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 251  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 139 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 139 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: 7.9ms | ActiveRecord: 1.2ms)  (0.3ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.1ms) RELEASE 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" = 172) LIMIT 1  (0.0ms) 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" = 172) 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", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 172], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 252], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/252/adhesions" for 127.0.0.1 at 2013-08-30 10:03:10 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"252"} 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", "252"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 252 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 252  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 140 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 140 Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.2ms) Completed 200 OK in 15ms (Views: 11.0ms | ActiveRecord: 1.1ms) Started GET "/adherent/members/252/adhesions/140/edit" for 127.0.0.1 at 2013-08-30 10:03:10 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"252", "id"=>"140"} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (6.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "252"]] Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 252 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "140"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (13.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.8ms) Completed 200 OK in 78ms (Views: 18.3ms | ActiveRecord: 8.5ms)  (4.2ms) ROLLBACK  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.1ms) RELEASE 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" = 173) LIMIT 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" = 173) 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", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 173], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (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", #], ["created_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 253], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/253/adhesions" for 127.0.0.1 at 2013-08-30 10:03:10 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"253"} 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", "253"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 253 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 253  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 141 CACHE (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 141 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.9ms | ActiveRecord: 1.9ms) Started GET "/adherent/members/253/payments/new" for 127.0.0.1 at 2013-08-30 10:03:10 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"253"} 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", "253"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 253 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 141 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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 16ms (Views: 8.3ms | ActiveRecord: 1.7ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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" = 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", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 254], ["office", nil], ["tel", nil], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 254 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 7]] SQL (0.4ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 254]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1037"} 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", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1040"} 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", Fri, 30 Aug 2013 08:03:10 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.7ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1043"} 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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1042/payments Completed 302 Found in 6ms (ActiveRecord: 1.0ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE 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" = 177) LIMIT 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" = 177) 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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 177], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE 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" = 177) LIMIT 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" = 177) 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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 177], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE 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" = 177) LIMIT 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" = 177) 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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 177], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.0ms) 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" = 255 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 255 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 255], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/255/payments/new" for 127.0.0.1 at 2013-08-30 10:03:11 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"255"} 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", "255"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 255 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 142 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.0ms) Completed 200 OK in 15ms (Views: 8.9ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/255/payments" for 127.0.0.1 at 2013-08-30 10:03:11 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"255"} 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", "255"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 255], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 255 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 255 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 142 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", 142], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["payment_id", 77], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/255/payments Completed 302 Found in 12ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/255/payments" for 127.0.0.1 at 2013-08-30 10:03:11 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"255"} 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", "255"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 255 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 77 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 142 LIMIT 1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 255 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 77  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 77 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 77 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 77 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 255 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (28.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 37ms (Views: 32.6ms | ActiveRecord: 3.0ms)  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 255 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE 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" = 178) LIMIT 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" = 178) 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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 178], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE 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" = 178) LIMIT 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" = 178) 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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 178], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE 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" = 178) LIMIT 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" = 178) 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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 178], ["updated_at", Fri, 30 Aug 2013 08:03:11 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" = 258 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 258 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", #], ["created_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 258], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/258/payments/new" for 127.0.0.1 at 2013-08-30 10:03:11 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"258"} 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", "258"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 258 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 143 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (59.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 69ms (Views: 62.9ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/258/payments" for 127.0.0.1 at 2013-08-30 10:03:11 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"258"} 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", "258"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 258], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 258 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 258 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 143 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", 143], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["payment_id", 78], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/258/payments Completed 302 Found in 13ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/258/payments" for 127.0.0.1 at 2013-08-30 10:03:11 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"258"} 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", "258"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 258 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 78 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 143 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 258 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 78  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 78 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 78 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 78 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 258 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 24ms (Views: 19.7ms | ActiveRecord: 2.5ms) Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 258 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 143  (0.1ms) 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.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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 179) LIMIT 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" = 179) 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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 179], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE 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" = 179) LIMIT 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" = 179) 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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 179], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE 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" = 179) LIMIT 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" = 179) LIMIT 1 SQL (0.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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 179], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.4ms) 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" = 261 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 261 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", #], ["created_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 261], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/261/payments/new" for 127.0.0.1 at 2013-08-30 10:03:11 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"261"} 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", "261"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 261 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 144 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 16ms (Views: 8.6ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/261/payments" for 127.0.0.1 at 2013-08-30 10:03:11 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"261"} 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", "261"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 261], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 261 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 261 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 144 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", 144], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["payment_id", 79], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/261/payments Completed 302 Found in 13ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/261/payments" for 127.0.0.1 at 2013-08-30 10:03:11 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"261"} 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", "261"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 261 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 79 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 144 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 261 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 79  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 79 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 79 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 79 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 261 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 23ms (Views: 18.2ms | ActiveRecord: 2.9ms)  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 261 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE 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" = 180) LIMIT 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" = 180) 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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 180], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.2ms) RELEASE 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" = 180) LIMIT 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" = 180) 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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 180], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.0ms) RELEASE 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" = 180) LIMIT 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" = 180) 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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 180], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 264 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 264 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", #], ["created_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 264], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  Started GET "/adherent/members/264/payments/new" for 127.0.0.1 at 2013-08-30 10:03:11 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"264"} 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", "264"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 264 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 145 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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 16ms (Views: 8.6ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/264/payments" for 127.0.0.1 at 2013-08-30 10:03:11 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"264"} 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", "264"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 264], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 264 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 264 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 145 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", 145], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["payment_id", 80], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/264/payments Completed 302 Found in 12ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/264/payments" for 127.0.0.1 at 2013-08-30 10:03:11 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"264"} 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", "264"]] Adherent::Payment Load (3.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 264 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 80 Adherent::Adhesion Load (4.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 145 LIMIT 1 Adherent::Member Load (4.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 264 LIMIT 1 Adherent::Reglement Load (1.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 80  (2.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 80 Adherent::Reglement Load (2.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 80 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 80 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 264 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.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 43ms (Views: 22.1ms | ActiveRecord: 19.5ms)  (3.8ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (1.9ms) BEGIN Organism Load (1.0ms) 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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.4ms) RELEASE 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" = 181) LIMIT 1  (2.0ms) 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" = 181) 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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 181], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 181) LIMIT 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" = 181) 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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 181], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 181) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 181) 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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 181], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 267 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 267 ORDER BY to_date DESC LIMIT 1  (1.3ms) SAVEPOINT active_record_1 SQL (4.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 267], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 267 Started GET "/adherent/members/267/payments/new" for 127.0.0.1 at 2013-08-30 10:03:11 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"267"} Organism Load (1.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "267"]] Adherent::Adhesion Load (2.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 267 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (1.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 146 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (12.5ms) 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: 22.8ms | ActiveRecord: 5.9ms) Started POST "/adherent/members/267/payments" for 127.0.0.1 at 2013-08-30 10:03:11 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"267"} 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", "267"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 267], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 267 LIMIT 1 Adherent::Adhesion Load (1.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 267 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 146 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", 146], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["payment_id", 81], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/267/payments Completed 302 Found in 14ms (ActiveRecord: 3.4ms) Started GET "/adherent/members/267/payments" for 127.0.0.1 at 2013-08-30 10:03:11 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"267"} 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", "267"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 267 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 81 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 146 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 267 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 81  (1.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 81 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 81 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 81 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 267 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (19.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 34ms (Views: 26.7ms | ActiveRecord: 4.0ms)  (0.7ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 267  (0.3ms) 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 (1.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE 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" = 182) LIMIT 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" = 182) 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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 182], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE 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" = 182) LIMIT 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" = 182) 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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 182], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE 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" = 182) LIMIT 1  (0.2ms) 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" = 182) 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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 182], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) 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" = 270 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 270 ORDER BY to_date DESC LIMIT 1  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 270], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/270/payments/new" for 127.0.0.1 at 2013-08-30 10:03:11 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"270"} 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", "270"]] Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 270 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 147 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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 18ms (Views: 9.2ms | ActiveRecord: 2.6ms) Started POST "/adherent/members/270/payments" for 127.0.0.1 at 2013-08-30 10:03:11 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"270"} 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", "270"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 270], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 270 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 270 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 147 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", 147], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["payment_id", 82], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/270/payments Completed 302 Found in 15ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/270/payments" for 127.0.0.1 at 2013-08-30 10:03:11 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"270"} Organism Load (0.7ms) 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", "270"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 270 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 82 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 147 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 270 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 82  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 82 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 82 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 82 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 270 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (12.4ms) 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 25ms (Views: 17.4ms | ActiveRecord: 3.7ms)  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 270 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.5ms) 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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE 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" = 183) LIMIT 1  (0.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" = 183) 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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 183], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE 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" = 183) LIMIT 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" = 183) 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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 183], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE 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" = 183) LIMIT 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" = 183) 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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 183], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) 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" = 273 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 273 ORDER BY to_date DESC LIMIT 1  (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 273], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/273/payments/new" for 127.0.0.1 at 2013-08-30 10:03:11 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"273"} 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", "273"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 273 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 148 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 22ms (Views: 13.7ms | ActiveRecord: 1.7ms) Started POST "/adherent/members/273/payments" for 127.0.0.1 at 2013-08-30 10:03:11 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"273"} 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", "273"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 273], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 273 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 273 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 148 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", 148], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["payment_id", 83], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/273/payments Completed 302 Found in 15ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/273/payments" for 127.0.0.1 at 2013-08-30 10:03:11 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"273"} Organism Load (0.4ms) 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"."id" = $1 LIMIT 1 [["id", "273"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 273 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 83 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 148 LIMIT 1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 273 LIMIT 1 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 83  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 83 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 83 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 83 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 273 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (26.1ms) 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 39ms (Views: 29.2ms | ActiveRecord: 5.4ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 273 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 83  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 83  (0.1ms) 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.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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.2ms) RELEASE 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" = 184) LIMIT 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" = 184) 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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 184], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE 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" = 184) LIMIT 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" = 184) 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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 184], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) RELEASE 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" = 184) LIMIT 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" = 184) 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", Fri, 30 Aug 2013 08:03:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 184], ["updated_at", Fri, 30 Aug 2013 08:03:11 UTC +00:00]]  (0.1ms) 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" = 276 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 276 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", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 276], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/276/payments/new" for 127.0.0.1 at 2013-08-30 10:03:12 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"276"} 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", "276"]] Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 276 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 149 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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: 8.3ms | ActiveRecord: 1.7ms) Started POST "/adherent/members/276/payments" for 127.0.0.1 at 2013-08-30 10:03:12 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"276"} 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", "276"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 276], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 276 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 276 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 149 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", 149], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["payment_id", 84], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/276/payments Completed 302 Found in 14ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/276/payments" for 127.0.0.1 at 2013-08-30 10:03:12 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"276"} 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", "276"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 276 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 84 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 149 LIMIT 1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 276 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 84  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 84 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 84 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 84 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 276 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (17.9ms) 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.0ms) Completed 200 OK in 30ms (Views: 25.7ms | ActiveRecord: 2.3ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 276 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 277 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 277 ORDER BY to_date DESC LIMIT 1  (0.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", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 277], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:12 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" = 278 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 278 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", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 278], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/84/reglements/new" for 127.0.0.1 at 2013-08-30 10:03:12 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"84"} Organism Load (1.0ms) 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", "84"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 276 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 84  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 84 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 84 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 84 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 278 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 151 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 277 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 150 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (14.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 28ms (Views: 17.3ms | ActiveRecord: 5.0ms)  (0.1ms) ROLLBACK  (0.0ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE 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" = 185) LIMIT 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" = 185) 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", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 185], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE 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" = 185) LIMIT 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" = 185) 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", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 185], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE 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" = 185) LIMIT 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" = 185) 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", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 185], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 279 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 279 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", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 279], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/279/payments/new" for 127.0.0.1 at 2013-08-30 10:03:12 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"279"} 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", "279"]] Adherent::Adhesion Load (0.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 279 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 152 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.1ms | ActiveRecord: 1.0ms) Started POST "/adherent/members/279/payments" for 127.0.0.1 at 2013-08-30 10:03:12 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"279"} 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", "279"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 279], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 279 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 279 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 152 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", 152], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["payment_id", 85], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/279/payments Completed 302 Found in 13ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/279/payments" for 127.0.0.1 at 2013-08-30 10:03:12 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"279"} 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", "279"]] Adherent::Payment Load (0.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 279 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 85 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 152 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 279 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 85  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 85 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 85 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 85 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 279 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 22ms (Views: 18.8ms | ActiveRecord: 2.1ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 279 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 280 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 280 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", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 280], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:12 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" = 281 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 281 ORDER BY to_date DESC LIMIT 1  (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 281], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/85/reglements/new" for 127.0.0.1 at 2013-08-30 10:03:12 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"85"} 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", "85"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 279 LIMIT 1 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 85  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 85 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 85 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 85 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 280 LIMIT 1  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 153 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 281 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 154 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (10.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 21ms (Views: 12.9ms | ActiveRecord: 2.9ms) Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 279 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 279 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 85  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 85  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE 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" = 186) LIMIT 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" = 186) 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", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 186], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE 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" = 186) LIMIT 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" = 186) 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", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 186], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE 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" = 186) LIMIT 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" = 186) 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", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 186], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 282 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 282 ORDER BY to_date DESC LIMIT 1  (0.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", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 282], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/282/payments/new" for 127.0.0.1 at 2013-08-30 10:03:12 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"282"} 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", "282"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 282 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 155 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 16ms (Views: 8.5ms | ActiveRecord: 1.6ms) Started POST "/adherent/members/282/payments" for 127.0.0.1 at 2013-08-30 10:03:12 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"282"} 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", "282"]]  (0.1ms) SAVEPOINT active_record_1 SQL (3.4ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 282], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]] Adherent::Member Load (1.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 282 LIMIT 1 Adherent::Adhesion Load (1.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 282 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (4.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 155 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", 155], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["payment_id", 86], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/282/payments Completed 302 Found in 28ms (ActiveRecord: 12.1ms) Started GET "/adherent/members/282/payments" for 127.0.0.1 at 2013-08-30 10:03:12 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"282"} 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", "282"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 282 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 86 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 155 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 282 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 86  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 86 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 86 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 86 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 282 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (17.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 26ms (Views: 21.1ms | ActiveRecord: 3.1ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 282 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 283 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 283 ORDER BY to_date DESC LIMIT 1  (0.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", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 283], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:12 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" = 284 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 284 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 284], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (2.8ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/86/reglements/new" for 127.0.0.1 at 2013-08-30 10:03:12 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"86"} 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", "86"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 282 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 86  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 86 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 86 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 86 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 283 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 156 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 284 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 157 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (10.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 23ms (Views: 13.4ms | ActiveRecord: 3.2ms)  (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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE 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" = 187) LIMIT 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" = 187) 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", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 187], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE 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" = 187) LIMIT 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" = 187) 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", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 187], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE 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" = 187) LIMIT 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" = 187) 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", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 187], ["updated_at", Fri, 30 Aug 2013 08:03:12 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" = 285 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 285 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", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 285], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/285/payments/new" for 127.0.0.1 at 2013-08-30 10:03:12 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"285"} Organism Load (0.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", "285"]] Adherent::Adhesion Load (1.0ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 285 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 158 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 18ms (Views: 9.1ms | ActiveRecord: 2.3ms) Started POST "/adherent/members/285/payments" for 127.0.0.1 at 2013-08-30 10:03:12 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"285"} 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", "285"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 285], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 285 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 285 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 158 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", 158], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["payment_id", 87], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/285/payments Completed 302 Found in 13ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/285/payments" for 127.0.0.1 at 2013-08-30 10:03:12 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"285"} 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", "285"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 285 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 87 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 158 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 285 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 87  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 87 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 87 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 87 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 285 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.9ms) 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 27ms (Views: 23.1ms | ActiveRecord: 2.5ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 285 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 286 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 286 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", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 286], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:12 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" = 287 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 287 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", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 287], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/87/reglements/new" for 127.0.0.1 at 2013-08-30 10:03:12 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"87"} Organism Load (0.7ms) 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", "87"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 285 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 87  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 87 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 87 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 87 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 287 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 160 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 286 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 159 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (10.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 21ms (Views: 13.2ms | ActiveRecord: 3.4ms)  (0.1ms) ROLLBACK  (0.0ms) 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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE 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" = 188) LIMIT 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" = 188) 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", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 188], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.0ms) RELEASE 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" = 188) LIMIT 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" = 188) 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", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 188], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE 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" = 188) LIMIT 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" = 188) 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", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 188], ["updated_at", Fri, 30 Aug 2013 08:03:12 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" = 288 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 288 ORDER BY to_date DESC LIMIT 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", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 288], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/288/payments/new" for 127.0.0.1 at 2013-08-30 10:03:12 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"288"} Organism Load (1.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", "288"]] Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 288 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 161 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.8ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 20ms (Views: 11.6ms | ActiveRecord: 2.3ms) Started POST "/adherent/members/288/payments" for 127.0.0.1 at 2013-08-30 10:03:12 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"288"} 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", "288"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 288], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 288 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 288 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 161 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", 161], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["payment_id", 88], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/288/payments Completed 302 Found in 13ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/288/payments" for 127.0.0.1 at 2013-08-30 10:03:12 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"288"} 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", "288"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 288 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 88 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 161 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 288 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 88  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 88 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 88 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 88 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 288 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.7ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (3.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 27ms (Views: 22.3ms | ActiveRecord: 2.6ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 288 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 289 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 289 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", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 289], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 290 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 290 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", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 290], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/88/reglements/new" for 127.0.0.1 at 2013-08-30 10:03:12 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"88"} 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", "88"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 288 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 88  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 88 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 88 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 88 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 289 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 162 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 290 LIMIT 1  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 163 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (10.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 21ms (Views: 13.5ms | ActiveRecord: 3.7ms) Started POST "/adherent/payments/88/reglements" for 127.0.0.1 at 2013-08-30 10:03:12 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"162"}, "commit"=>"Enregistrer", "payment_id"=>"88"} 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", "88"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "162"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 88  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 88  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 162  (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", 162], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["payment_id", 88], ["updated_at", Fri, 30 Aug 2013 08:03:12 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" = 288 LIMIT 1 Redirected to http://www.example.com/adherent/members/288/payments Completed 302 Found in 10ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/288/payments" for 127.0.0.1 at 2013-08-30 10:03:12 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"288"} 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", "288"]] Adherent::Payment Load (1.0ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 288 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 88 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 161 LIMIT 1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 288 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 162 LIMIT 1 Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 289 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 88  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 88 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 88 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 88 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 288 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (16.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 30ms (Views: 24.0ms | ActiveRecord: 4.2ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE 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" = 189) LIMIT 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" = 189) 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", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 189], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE 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" = 189) LIMIT 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" = 189) 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", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 189], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE 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" = 189) LIMIT 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" = 189) 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", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 189], ["updated_at", Fri, 30 Aug 2013 08:03:12 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" = 291 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 291 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", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 291], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/291/payments/new" for 127.0.0.1 at 2013-08-30 10:03:12 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"291"} 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", "291"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 291 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 164 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 16ms (Views: 8.2ms | ActiveRecord: 1.6ms) Started POST "/adherent/members/291/payments" for 127.0.0.1 at 2013-08-30 10:03:12 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"291"} 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", "291"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 291], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 291 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 291 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 164 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", 164], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["payment_id", 89], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/291/payments Completed 302 Found in 12ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/291/payments" for 127.0.0.1 at 2013-08-30 10:03:12 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"291"} Organism Load (5.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", "291"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 291 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 89 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 164 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 291 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 89  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 89 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 89 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 89 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 291 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 85ms (Views: 12.8ms | ActiveRecord: 8.0ms) Adherent::Payment Load (4.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 291 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (2.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 292 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 292 ORDER BY to_date DESC LIMIT 1  (1.8ms) SAVEPOINT active_record_1 SQL (3.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", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 292], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (2.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (2.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 293 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 293 ORDER BY to_date DESC LIMIT 1  (1.1ms) SAVEPOINT active_record_1 SQL (3.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 293], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:12 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/89/reglements/new" for 127.0.0.1 at 2013-08-30 10:03:12 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"89"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "89"]] Adherent::Member Load (1.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 291 LIMIT 1 Adherent::Reglement Load (1.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 89  (3.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 89 Adherent::Reglement Load (2.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 89 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 89 Adherent::Adhesion Load (4.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (1.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 292 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 165 Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 293 LIMIT 1  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 166 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (18.8ms) Rendered layouts/adherent/_header.html.haml (1.9ms) 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 43ms (Views: 20.5ms | ActiveRecord: 17.6ms) Started POST "/adherent/payments/89/reglements" for 127.0.0.1 at 2013-08-30 10:03:13 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"165"}, "commit"=>"Enregistrer", "payment_id"=>"89"} Organism Load (1.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "89"]] Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "165"]] Adherent::Reglement Load (1.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 89  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 89  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 165  (0.7ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 165], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["payment_id", 89], ["updated_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00]]  (2.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 291 LIMIT 1 Redirected to http://www.example.com/adherent/members/291/payments Completed 302 Found in 22ms (ActiveRecord: 10.8ms) Started GET "/adherent/members/291/payments" for 127.0.0.1 at 2013-08-30 10:03:13 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"291"} Organism Load (1.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "291"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 291 Adherent::Reglement Load (1.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 89 Adherent::Adhesion Load (2.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 164 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 291 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 165 LIMIT 1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 292 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 89  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 89 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 89 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 89 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 291 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (19.0ms) 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 33ms (Views: 22.6ms | ActiveRecord: 8.8ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00]]  (0.1ms) RELEASE 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" = 190) LIMIT 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" = 190) 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", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 190], ["updated_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00]]  (0.1ms) RELEASE 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" = 190) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (5.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 190) 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", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 190], ["updated_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00]]  (0.2ms) RELEASE 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" = 190) LIMIT 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" = 190) 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", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 190], ["updated_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00]]  (0.1ms) 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" = 294 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 294 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", #], ["created_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 294], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/294/payments/new" for 127.0.0.1 at 2013-08-30 10:03:13 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"294"} 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", "294"]] Adherent::Adhesion Load (1.0ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 294 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 167 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.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 18ms (Views: 9.1ms | ActiveRecord: 1.9ms) Started POST "/adherent/members/294/payments" for 127.0.0.1 at 2013-08-30 10:03:13 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"294"} 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", "294"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 294], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 294 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 294 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 167 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", 167], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["payment_id", 90], ["updated_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/294/payments Completed 302 Found in 16ms (ActiveRecord: 3.8ms) Started GET "/adherent/members/294/payments" for 127.0.0.1 at 2013-08-30 10:03:13 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"294"} Organism Load (0.8ms) 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", "294"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 294 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 90 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 167 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 294 LIMIT 1 Adherent::Reglement Load (1.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 90  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 90 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 90 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 90 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 294 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (21.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 35ms (Views: 25.6ms | ActiveRecord: 4.7ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 294 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 295 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 295 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", #], ["created_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 295], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 296 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 296 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", #], ["created_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 296], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/90/reglements/new" for 127.0.0.1 at 2013-08-30 10:03:13 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"90"} 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", "90"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 294 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 90  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 90 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 90 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 90 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 295 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 168 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 296 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 169 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (11.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 23ms (Views: 14.4ms | ActiveRecord: 3.6ms) Started POST "/adherent/payments/90/reglements" for 127.0.0.1 at 2013-08-30 10:03:13 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"168"}, "commit"=>"Enregistrer", "payment_id"=>"90"} 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", "90"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "168"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 90  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 90  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 168  (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", 168], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["payment_id", 90], ["updated_at", Fri, 30 Aug 2013 08:03:13 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" = 294 LIMIT 1 Redirected to http://www.example.com/adherent/members/294/payments Completed 302 Found in 11ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/294/payments" for 127.0.0.1 at 2013-08-30 10:03:13 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"294"} Organism Load (0.5ms) 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", "294"]] Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 294 Adherent::Reglement Load (0.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 90 Adherent::Adhesion Load (3.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 167 LIMIT 1 Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 294 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 168 LIMIT 1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 295 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 90  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 90 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 90 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 90 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 294 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (31.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 46ms (Views: 31.6ms | ActiveRecord: 9.1ms) Adherent::Adhesion Load (1.0ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 295 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 168  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.7ms) 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", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00]]  (0.1ms) RELEASE 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" = 191) LIMIT 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" = 191) 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", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 191], ["updated_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00]]  (0.1ms) RELEASE 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" = 191) LIMIT 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" = 191) 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", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 191], ["updated_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00]]  (0.1ms) RELEASE 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" = 191) LIMIT 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" = 191) 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", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 191], ["updated_at", Fri, 30 Aug 2013 08:03:13 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" = 297 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 297 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", #], ["created_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 297], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/297/payments/new" for 127.0.0.1 at 2013-08-30 10:03:13 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"297"} Organism Load (0.9ms) 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", "297"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 297 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 170 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 16ms (Views: 8.4ms | ActiveRecord: 2.1ms) Started POST "/adherent/members/297/payments" for 127.0.0.1 at 2013-08-30 10:03:13 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"297"} 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", "297"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 297], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 297 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 297 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 170 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", 170], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["payment_id", 91], ["updated_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/297/payments Completed 302 Found in 13ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/297/payments" for 127.0.0.1 at 2013-08-30 10:03:13 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"297"} 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", "297"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 297 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 91 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 170 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 297 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 91  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 91 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 91 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 91 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 297 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 25ms (Views: 20.9ms | ActiveRecord: 2.7ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 297 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 298 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 298 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 298], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:13 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" = 299 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 299 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", #], ["created_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 299], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/91/reglements/new" for 127.0.0.1 at 2013-08-30 10:03:13 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"91"} 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", "91"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 297 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 91  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 91 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 91 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 91 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 298 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 171 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 299 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 172 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 21ms (Views: 13.4ms | ActiveRecord: 3.2ms) Started POST "/adherent/payments/91/reglements" for 127.0.0.1 at 2013-08-30 10:03:13 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"171"}, "commit"=>"Enregistrer", "payment_id"=>"91"} Organism Load (0.5ms) 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", "91"]] Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "171"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 91  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 91  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 171  (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", 171], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["payment_id", 91], ["updated_at", Fri, 30 Aug 2013 08:03:13 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" = 297 LIMIT 1 Redirected to http://www.example.com/adherent/members/297/payments Completed 302 Found in 10ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/297/payments" for 127.0.0.1 at 2013-08-30 10:03:13 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"297"} 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", "297"]] Adherent::Payment Load (0.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 297 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 91 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 170 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 297 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 171 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 298 LIMIT 1 Adherent::Reglement Load (3.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 91  (1.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 91 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 91 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 91 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 297 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (22.6ms) 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: 25.6ms | ActiveRecord: 7.1ms) Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" ORDER BY "adherent_reglements"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 171 LIMIT 1 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 298 LIMIT 1  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00]]  (0.1ms) RELEASE 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" = 192) LIMIT 1  (0.2ms) 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" = 192) 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", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 192], ["updated_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 192) LIMIT 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" = 192) 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", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 192], ["updated_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00]]  (0.1ms) RELEASE 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" = 192) LIMIT 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" = 192) 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", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 192], ["updated_at", Fri, 30 Aug 2013 08:03:13 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" = 300 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 300 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", #], ["created_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 300], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/300/payments/new" for 127.0.0.1 at 2013-08-30 10:03:13 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"300"} Organism Load (5.7ms) 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", "300"]] Adherent::Adhesion Load (0.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 300 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 173 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.2ms) 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 22ms (Views: 9.8ms | ActiveRecord: 7.3ms) Started POST "/adherent/members/300/payments" for 127.0.0.1 at 2013-08-30 10:03:13 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"300"} 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", "300"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 300], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 300 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 300 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 173 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", 173], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["payment_id", 92], ["updated_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/300/payments Completed 302 Found in 14ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/300/payments" for 127.0.0.1 at 2013-08-30 10:03:13 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"300"} 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", "300"]] Adherent::Payment Load (1.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 300 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 92 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 173 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 300 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 92  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 92 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 92 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 92 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 300 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.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.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 23ms (Views: 17.8ms | ActiveRecord: 3.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 300 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 301 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 301 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", #], ["created_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 301], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:13 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" = 302 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 302 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", #], ["created_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 302], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/92/reglements/new" for 127.0.0.1 at 2013-08-30 10:03:13 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"92"} 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", "92"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 300 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 92  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 92 Adherent::Reglement Load (0.9ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 92 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 92 Adherent::Adhesion Load (0.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 302 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 175 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 301 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 174 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (14.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 26ms (Views: 16.8ms | ActiveRecord: 4.5ms) Started POST "/adherent/payments/92/reglements" for 127.0.0.1 at 2013-08-30 10:03:13 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"174"}, "commit"=>"Enregistrer", "payment_id"=>"92"} 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", "92"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "174"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 92  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 92  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 174  (0.0ms) 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", 174], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["payment_id", 92], ["updated_at", Fri, 30 Aug 2013 08:03:13 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" = 300 LIMIT 1 Redirected to http://www.example.com/adherent/members/300/payments Completed 302 Found in 11ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/300/payments" for 127.0.0.1 at 2013-08-30 10:03:13 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"300"} 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", "300"]] Adherent::Payment Load (1.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 300 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 92 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 173 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 300 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 174 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 301 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 92  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 92 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 92 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 92 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 300 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (15.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 30ms (Views: 24.7ms | ActiveRecord: 4.1ms) Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 173 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 300 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.0ms) 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", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00]]  (0.1ms) RELEASE 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" = 193) LIMIT 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" = 193) 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", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 193], ["updated_at", Fri, 30 Aug 2013 08:03:13 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/303/coord/new" for 127.0.0.1 at 2013-08-30 10:03:13 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"303"} 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", "303"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 303 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (8.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 18ms (Views: 11.4ms | ActiveRecord: 0.9ms) Started POST "/adherent/members/303/coord" for 127.0.0.1 at 2013-08-30 10:03:13 +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"=>"303"} 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", "303"]] Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 303 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) 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", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 303], ["office", ""], ["tel", ""], ["updated_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/303/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 1.5ms) Started GET "/adherent/members/303/adhesions/new" for 127.0.0.1 at 2013-08-30 10:03:13 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"303"} Organism Load (0.8ms) 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", "303"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 303 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 303 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (7.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 20ms (Views: 11.9ms | ActiveRecord: 2.0ms) Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 303 LIMIT 1  (0.2ms) 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", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00]]  (0.1ms) RELEASE 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" = 194) LIMIT 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" = 194) 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", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 194], ["updated_at", Fri, 30 Aug 2013 08:03:13 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/304/coord/new" for 127.0.0.1 at 2013-08-30 10:03:13 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"304"} 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", "304"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 304 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (25.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 47ms (Views: 34.3ms | ActiveRecord: 1.3ms)  (9.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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:13 UTC +00:00]]  (0.1ms) RELEASE 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" = 195) LIMIT 1  (3.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" = 195) 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", Fri, 30 Aug 2013 08:03:13 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 195], ["updated_at", Fri, 30 Aug 2013 08:03:13 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/305/coord/new" for 127.0.0.1 at 2013-08-30 10:03:13 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"305"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "305"]] Adherent::Coord Load (3.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 305 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (14.1ms) 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 31ms (Views: 18.2ms | ActiveRecord: 4.9ms)  (0.2ms) SELECT COUNT(*) FROM "adherent_coords" Started POST "/adherent/members/305/coord" for 127.0.0.1 at 2013-08-30 10:03:13 +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"=>"305"} Organism Load (2.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", "305"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 305 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", Fri, 30 Aug 2013 08:03:14 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 305], ["office", ""], ["tel", ""], ["updated_at", Fri, 30 Aug 2013 08:03:14 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/305/adhesions/new Completed 302 Found in 9ms (ActiveRecord: 3.5ms) Started GET "/adherent/members/305/adhesions/new" for 127.0.0.1 at 2013-08-30 10:03:14 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"305"} 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", "305"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 305 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 305 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 13ms (Views: 8.3ms | ActiveRecord: 1.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"   (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", Fri, 30 Aug 2013 08:03:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:14 UTC +00:00]]  (0.1ms) RELEASE 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" = 196) LIMIT 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" = 196) 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", Fri, 30 Aug 2013 08:03:14 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 196], ["updated_at", Fri, 30 Aug 2013 08:03:14 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members/306/coord/new" for 127.0.0.1 at 2013-08-30 10:03:14 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"306"} 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", "306"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 306 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (9.0ms) 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 17ms (Views: 13.3ms | ActiveRecord: 0.8ms) Started POST "/adherent/members/306/coord" for 127.0.0.1 at 2013-08-30 10:03:14 +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"=>"306"} 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", "306"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 306 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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", Fri, 30 Aug 2013 08:03:14 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 306], ["office", ""], ["tel", ""], ["updated_at", Fri, 30 Aug 2013 08:03:14 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/306/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 1.7ms) Started GET "/adherent/members/306/adhesions/new" for 127.0.0.1 at 2013-08-30 10:03:14 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"306"} 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", "306"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 306 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 306 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 16ms (Views: 9.3ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1044"} 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", Fri, 30 Aug 2013 08:03:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1046"} 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", Fri, 30 Aug 2013 08:03:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:14 UTC +00:00]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1046/payments Completed 302 Found in 7ms (ActiveRecord: 2.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1048"} 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", Fri, 30 Aug 2013 08:03:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1048/payments Completed 302 Found in 6ms (ActiveRecord: 1.1ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1050"} 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", Fri, 30 Aug 2013 08:03:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:14 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1051"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Fri, 30 Aug 2013 08:03:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1052"} 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", Fri, 30 Aug 2013 08:03:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.9ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1054", "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", Fri, 30 Aug 2013 08:03:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 2.4ms | ActiveRecord: 0.9ms)  (0.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1056"} 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", Fri, 30 Aug 2013 08:03:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1058"} 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", Fri, 30 Aug 2013 08:03:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:14 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.0ms | ActiveRecord: 1.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1060"} Organism Load (0.1ms) 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", Fri, 30 Aug 2013 08:03:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1062"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.4ms) 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", Fri, 30 Aug 2013 08:03:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1064"} Organism Load (0.9ms) 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", Fri, 30 Aug 2013 08:03:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1064/coord Completed 302 Found in 7ms (ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1066"} 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", Fri, 30 Aug 2013 08:03:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1066/coord Completed 302 Found in 5ms (ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1068"} 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", Fri, 30 Aug 2013 08:03:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:14 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1070"} 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", Fri, 30 Aug 2013 08:03:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1070/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1072"} 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", Fri, 30 Aug 2013 08:03:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:14 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1074"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.8ms) SAVEPOINT active_record_1 SQL (2.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:14 UTC +00:00]]  (1.6ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.8ms | ActiveRecord: 5.4ms)  (1.9ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1076"} Organism Load (1.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.5ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:03:14 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:03:14 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 1.1ms | ActiveRecord: 4.6ms)  (5.8ms) ROLLBACK Connecting to database specified by database.yml  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (3.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:12:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:56 UTC +00:00]]  (0.1ms) RELEASE 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" = 215) LIMIT 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" = 215) LIMIT 1 SQL (1.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", Fri, 30 Aug 2013 08:12:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 215], ["updated_at", Fri, 30 Aug 2013 08:12:56 UTC +00:00]]  (0.1ms) RELEASE 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" = 215) LIMIT 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" = 215) 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", Fri, 30 Aug 2013 08:12:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 215], ["updated_at", Fri, 30 Aug 2013 08:12:56 UTC +00:00]]  (0.1ms) RELEASE 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" = 215) LIMIT 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" = 215) 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", Fri, 30 Aug 2013 08:12:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 215], ["updated_at", Fri, 30 Aug 2013 08:12:56 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" = 307 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 307 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", #], ["created_at", Fri, 30 Aug 2013 08:12:56 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 307], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/307/payments/new" for 127.0.0.1 at 2013-08-30 10:12:56 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"307"} 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", "307"]] Adherent::Adhesion Load (1.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 307 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 176 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (24.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (29.7ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.0ms) Completed 200 OK in 72ms (Views: 44.0ms | ActiveRecord: 5.5ms) Started POST "/adherent/members/307/payments" for 127.0.0.1 at 2013-08-30 10:12:56 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"307"} 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", "307"]]  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 307], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 307 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 307 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 176 SQL (2.8ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 176], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["payment_id", 93], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/307/payments Completed 302 Found in 43ms (ActiveRecord: 6.6ms) Started GET "/adherent/members/307/payments" for 127.0.0.1 at 2013-08-30 10:12:57 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"307"} 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", "307"]] Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 307 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 93 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 176 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 307 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 93  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 93 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 93 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 93 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 307 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (29.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/index.html.haml within layouts/adherent/application (37.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 44ms (Views: 38.4ms | ActiveRecord: 3.1ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 307 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 308 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 308 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", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 308], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:57 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" = 309 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 309 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", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 309], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/93/reglements/new" for 127.0.0.1 at 2013-08-30 10:12:57 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"93"} 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", "93"]] Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 307 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 93  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 93 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 93 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 93 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 309 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 178 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 308 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 177 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (15.7ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/new.html.erb within layouts/adherent/application (20.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 32ms (Views: 22.9ms | ActiveRecord: 3.3ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.1ms) 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", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE 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" = 216) LIMIT 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" = 216) 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", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 216], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 216) LIMIT 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" = 216) 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", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 216], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE 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" = 216) LIMIT 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" = 216) 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", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 216], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 310 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 310 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", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 310], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/310/payments/new" for 127.0.0.1 at 2013-08-30 10:12:57 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"310"} Organism Load (1.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", "310"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 310 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 179 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.1ms) 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: 9.2ms | ActiveRecord: 2.8ms) Started POST "/adherent/members/310/payments" for 127.0.0.1 at 2013-08-30 10:12:57 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"310"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "310"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 310], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 310 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 310 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 179 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", 179], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["payment_id", 94], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/310/payments Completed 302 Found in 13ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/310/payments" for 127.0.0.1 at 2013-08-30 10:12:57 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"310"} 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", "310"]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 310 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 94 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 179 LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 310 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 94  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 94 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 94 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 94 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 310 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 16ms (Views: 11.6ms | ActiveRecord: 2.8ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 310 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 311 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 311 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", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 311], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:57 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" = 312 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 312 ORDER BY to_date DESC LIMIT 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", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 312], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/94/reglements/new" for 127.0.0.1 at 2013-08-30 10:12:57 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"94"} 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", "94"]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 310 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 94  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 94 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 94 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 94 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 311 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 180 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 312 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 181 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 67ms (Views: 59.3ms | ActiveRecord: 2.7ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE 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" = 217) LIMIT 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" = 217) 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", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 217], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE 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" = 217) LIMIT 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" = 217) 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", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 217], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE 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" = 217) LIMIT 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" = 217) 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", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 217], ["updated_at", Fri, 30 Aug 2013 08:12:57 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" = 313 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 313 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", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 313], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/313/payments/new" for 127.0.0.1 at 2013-08-30 10:12:57 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"313"} 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", "313"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 313 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 182 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (7.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 24ms (Views: 11.1ms | ActiveRecord: 2.0ms) Started POST "/adherent/members/313/payments" for 127.0.0.1 at 2013-08-30 10:12:57 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"313"} 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", "313"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 313], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 313 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 313 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 182 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", 182], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["payment_id", 95], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/313/payments Completed 302 Found in 12ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/313/payments" for 127.0.0.1 at 2013-08-30 10:12:57 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"313"} 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", "313"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 313 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 95 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 182 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 313 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 95  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 95 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 95 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 95 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 313 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (8.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 15ms (Views: 11.3ms | ActiveRecord: 2.1ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 313 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 314 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 314 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", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 314], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:57 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" = 315 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 315 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 315], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/95/reglements/new" for 127.0.0.1 at 2013-08-30 10:12:57 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"95"} 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", "95"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 313 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 95  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 95 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 95 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 95 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 314 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 183 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 315 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 184 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 19ms (Views: 12.1ms | ActiveRecord: 3.2ms)  (0.2ms) 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 (4.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.2ms) RELEASE 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" = 218) LIMIT 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" = 218) 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", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 218], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 218) LIMIT 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" = 218) 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", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 218], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 218) LIMIT 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" = 218) 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", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 218], ["updated_at", Fri, 30 Aug 2013 08:12:57 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" = 316 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 316 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.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", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 316], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/316/payments/new" for 127.0.0.1 at 2013-08-30 10:12:57 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"316"} 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", "316"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 316 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 185 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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 15ms (Views: 9.2ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/316/payments" for 127.0.0.1 at 2013-08-30 10:12:57 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"316"} 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", "316"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 316], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 316 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 316 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 185 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", 185], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["payment_id", 96], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/316/payments Completed 302 Found in 14ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/316/payments" for 127.0.0.1 at 2013-08-30 10:12:57 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"316"} Organism Load (0.0ms) 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", "316"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 316 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 96 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 185 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 316 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 96  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 96 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 96 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 96 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 316 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 16ms (Views: 12.5ms | ActiveRecord: 2.0ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 316 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 317 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 317 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", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 317], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:57 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" = 318 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 318 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", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 318], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/96/reglements/new" for 127.0.0.1 at 2013-08-30 10:12:57 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"96"} 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", "96"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 316 LIMIT 1 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 96  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 96 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 96 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 96 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 318 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 187 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 317 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 186 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (11.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 21ms (Views: 13.8ms | ActiveRecord: 3.4ms) Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 316 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 316 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 96  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 96  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE 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" = 219) LIMIT 1  (0.0ms) 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" = 219) 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", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 219], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE 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" = 219) LIMIT 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" = 219) 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", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 219], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE 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" = 219) LIMIT 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" = 219) 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", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 219], ["updated_at", Fri, 30 Aug 2013 08:12:57 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" = 319 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 319 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", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 319], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/319/payments/new" for 127.0.0.1 at 2013-08-30 10:12:57 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"319"} Organism Load (0.9ms) 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", "319"]] Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 319 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 188 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 18ms (Views: 8.6ms | ActiveRecord: 2.2ms) Started POST "/adherent/members/319/payments" for 127.0.0.1 at 2013-08-30 10:12:57 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"319"} 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", "319"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 319], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 319 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 319 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 188 SQL (0.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 188], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["payment_id", 97], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/319/payments Completed 302 Found in 14ms (ActiveRecord: 3.5ms) Started GET "/adherent/members/319/payments" for 127.0.0.1 at 2013-08-30 10:12:57 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"319"} 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", "319"]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 319 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 97 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 188 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 319 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 97  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 97 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 97 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 97 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 319 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 16ms (Views: 12.6ms | ActiveRecord: 1.9ms) Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 319 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 320 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 320 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", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 320], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:57 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" = 321 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 321 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", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 321], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/97/reglements/new" for 127.0.0.1 at 2013-08-30 10:12:57 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"97"} 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", "97"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 319 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 97  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 97 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 97 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 97 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 321 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 190 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 320 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 189 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (10.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 22ms (Views: 13.6ms | ActiveRecord: 3.0ms) Started POST "/adherent/payments/97/reglements" for 127.0.0.1 at 2013-08-30 10:12:57 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"189"}, "commit"=>"Enregistrer", "payment_id"=>"97"} 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", "97"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "189"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 97  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 97  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 189  (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", 189], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["payment_id", 97], ["updated_at", Fri, 30 Aug 2013 08:12:57 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" = 319 LIMIT 1 Redirected to http://www.example.com/adherent/members/319/payments Completed 302 Found in 10ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/319/payments" for 127.0.0.1 at 2013-08-30 10:12:57 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"319"} 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", "319"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 319 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 97 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 188 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 319 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 189 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 320 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 97  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 97 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 97 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 97 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 319 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (14.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 22ms (Views: 17.3ms | ActiveRecord: 3.1ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" ORDER BY "adherent_reglements"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 189 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 320 LIMIT 1  (0.4ms) 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", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE 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" = 220) LIMIT 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" = 220) 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", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 220], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE 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" = 220) LIMIT 1  (0.8ms) 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" = 220) 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", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 220], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE 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" = 220) LIMIT 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" = 220) 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", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 220], ["updated_at", Fri, 30 Aug 2013 08:12:57 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" = 322 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 322 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (5.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", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 322], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/322/payments/new" for 127.0.0.1 at 2013-08-30 10:12:57 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"322"} 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", "322"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 322 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 191 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.5ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/322/payments" for 127.0.0.1 at 2013-08-30 10:12:57 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"322"} 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", "322"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 322], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 322 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 322 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 191 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", 191], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["payment_id", 98], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/322/payments Completed 302 Found in 12ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/322/payments" for 127.0.0.1 at 2013-08-30 10:12:57 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"322"} 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", "322"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 322 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 98 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 191 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 322 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 98  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 98 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 98 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 98 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 322 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.1ms) 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: 12.5ms | ActiveRecord: 2.1ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 322 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 323 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 323 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", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 323], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 324 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 324 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 324], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/98/reglements/new" for 127.0.0.1 at 2013-08-30 10:12:57 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"98"} 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", "98"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 322 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 98  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 98 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 98 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 98 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 323 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 192 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 324 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 193 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (10.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 20ms (Views: 12.9ms | ActiveRecord: 3.0ms) Started POST "/adherent/payments/98/reglements" for 127.0.0.1 at 2013-08-30 10:12:57 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"192"}, "commit"=>"Enregistrer", "payment_id"=>"98"} 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", "98"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "192"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 98  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 98  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 192  (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", 192], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["payment_id", 98], ["updated_at", Fri, 30 Aug 2013 08:12:57 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" = 322 LIMIT 1 Redirected to http://www.example.com/adherent/members/322/payments Completed 302 Found in 9ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/322/payments" for 127.0.0.1 at 2013-08-30 10:12:57 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"322"} Organism Load (0.3ms) 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", "322"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 322 Adherent::Reglement Load (0.9ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 98 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 191 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 322 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 192 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 323 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 98  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 98 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 98 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 98 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 322 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (13.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 21ms (Views: 15.3ms | ActiveRecord: 3.7ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 191 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 322 LIMIT 1  (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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE 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" = 221) LIMIT 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" = 221) 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", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 221], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE 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" = 221) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 221) 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", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 221], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE 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" = 221) LIMIT 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" = 221) 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", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 221], ["updated_at", Fri, 30 Aug 2013 08:12:57 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" = 325 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 325 ORDER BY to_date DESC LIMIT 1  (2.6ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 325], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/325/payments/new" for 127.0.0.1 at 2013-08-30 10:12:57 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"325"} Organism Load (3.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "325"]] Adherent::Adhesion Load (2.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 325 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (1.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 194 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (7.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 28ms (Views: 10.9ms | ActiveRecord: 10.6ms) Started POST "/adherent/members/325/payments" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"325"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "325"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 325], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 325 LIMIT 1 Adherent::Adhesion Load (1.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 325 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 194 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", 194], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["payment_id", 99], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/325/payments Completed 302 Found in 13ms (ActiveRecord: 3.8ms) Started GET "/adherent/members/325/payments" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"325"} 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", "325"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 325 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 99 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 194 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 325 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 99  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 99 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 99 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 99 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 325 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.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 18ms (Views: 13.9ms | ActiveRecord: 2.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 325 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 326 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 326 ORDER BY to_date DESC LIMIT 1  (0.6ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 326], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:58 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" = 327 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 327 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", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 327], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/99/reglements/new" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"99"} Organism Load (0.2ms) 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", "99"]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 325 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 99  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 99 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 99 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 99 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 326 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 195 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 327 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 196 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (10.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 21ms (Views: 13.3ms | ActiveRecord: 3.0ms) Started POST "/adherent/payments/99/reglements" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"195"}, "commit"=>"Enregistrer", "payment_id"=>"99"} 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", "99"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "195"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 99  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 99  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 195  (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", 195], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["payment_id", 99], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 325 LIMIT 1 Redirected to http://www.example.com/adherent/members/325/payments Completed 302 Found in 14ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/325/payments" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"325"} 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", "325"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 325 Adherent::Reglement Load (0.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 99 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 194 LIMIT 1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 325 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 195 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 326 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 99  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 99 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 99 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 99 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 325 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (15.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 25ms (Views: 18.8ms | ActiveRecord: 3.8ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 222) LIMIT 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" = 222) 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", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 222], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.3ms) RELEASE 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" = 222) LIMIT 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" = 222) 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", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 222], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 222) LIMIT 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" = 222) 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", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 222], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) 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" = 328 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 328 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", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 328], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/328/payments/new" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"328"} Organism Load (1.0ms) 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", "328"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 328 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 197 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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 17ms (Views: 8.2ms | ActiveRecord: 3.0ms) Started POST "/adherent/members/328/payments" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"328"} 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", "328"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 328], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 328 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 328 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 197 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", 197], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["payment_id", 100], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/328/payments Completed 302 Found in 12ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/328/payments" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"328"} 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", "328"]] Adherent::Payment Load (1.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 328 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 100 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 197 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 328 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 100  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 100 Adherent::Reglement Load (0.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 100 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 100 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 328 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (8.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 17ms (Views: 12.4ms | ActiveRecord: 3.1ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 328 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 329 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 329 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", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 329], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 330 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 330 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", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 330], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/100/reglements/new" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"100"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (4.9ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "100"]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 328 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 100  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 100 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 100 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 100 Adherent::Adhesion Load (1.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 329 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 198 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 330 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 199 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (11.4ms) 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 80ms (Views: 16.5ms | ActiveRecord: 8.8ms) Started POST "/adherent/payments/100/reglements" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"198"}, "commit"=>"Enregistrer", "payment_id"=>"100"} 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", "100"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "198"]] Adherent::Reglement Load (1.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 100  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 100  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 198  (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", 198], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["payment_id", 100], ["updated_at", Fri, 30 Aug 2013 08:12:58 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" = 328 LIMIT 1 Redirected to http://www.example.com/adherent/members/328/payments Completed 302 Found in 10ms (ActiveRecord: 3.3ms) Started GET "/adherent/members/328/payments" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"328"} 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", "328"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 328 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 100 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 197 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 328 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 198 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 329 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 100  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 100 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 100 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 100 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 328 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (12.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: 15.1ms | ActiveRecord: 2.7ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* 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.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", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 223) LIMIT 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" = 223) 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", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 223], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 223) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 223) 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", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 223], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 223) LIMIT 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" = 223) 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", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 223], ["updated_at", Fri, 30 Aug 2013 08:12:58 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" = 331 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 331 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", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 331], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/331/payments/new" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"331"} Organism Load (1.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", "331"]] Adherent::Adhesion Load (1.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 331 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 200 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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 18ms (Views: 8.6ms | ActiveRecord: 3.1ms) Started POST "/adherent/members/331/payments" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"331"} 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", "331"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 331], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 331 LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 331 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 200 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", 200], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["payment_id", 101], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/331/payments Completed 302 Found in 12ms (ActiveRecord: 3.3ms) Started GET "/adherent/members/331/payments" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"331"} 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", "331"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 331 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 101 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 200 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 331 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 101  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 101 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 101 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 101 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 331 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 17ms (Views: 11.8ms | ActiveRecord: 2.6ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 331 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 332 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 332 ORDER BY to_date DESC LIMIT 1  (0.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", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 332], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:58 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" = 333 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 333 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", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 333], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/101/reglements/new" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"101"} 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", "101"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 331 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 101  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 101 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 101 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 101 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 332 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 201 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 333 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 202 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (10.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 20ms (Views: 13.4ms | ActiveRecord: 3.1ms) Started POST "/adherent/payments/101/reglements" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"201"}, "commit"=>"Enregistrer", "payment_id"=>"101"} 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", "101"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "201"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 101  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 101  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 201  (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", 201], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["payment_id", 101], ["updated_at", Fri, 30 Aug 2013 08:12:58 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" = 331 LIMIT 1 Redirected to http://www.example.com/adherent/members/331/payments Completed 302 Found in 10ms (ActiveRecord: 2.2ms) Started GET "/adherent/members/331/payments" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"331"} 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", "331"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 331 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 101 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 200 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 331 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 201 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 332 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 101  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 101 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 101 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 101 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 331 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (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.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.6ms) Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 332 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 201  (0.3ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 224) LIMIT 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" = 224) 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", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 224], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.0ms) RELEASE 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" = 224) LIMIT 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" = 224) 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", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 224], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 224) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 224) 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", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 224], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 334 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 334 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", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 334], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/334/payments/new" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"334"} Organism Load (1.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", "334"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 334 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 203 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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 17ms (Views: 8.3ms | ActiveRecord: 2.3ms) Started POST "/adherent/members/334/payments" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"334"} 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", "334"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 334], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 334 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 334 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 203 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", 203], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["payment_id", 102], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/334/payments Completed 302 Found in 12ms (ActiveRecord: 3.2ms) Started GET "/adherent/members/334/payments" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"334"} 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", "334"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 334 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 102 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 203 LIMIT 1 Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 334 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 102  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 102 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 102 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 102 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 334 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 16ms (Views: 12.5ms | ActiveRecord: 2.2ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 334 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 102  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 102  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 225) LIMIT 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" = 225) 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", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 225], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 225) LIMIT 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" = 225) 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", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 225], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 225) LIMIT 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" = 225) 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", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 225], ["updated_at", Fri, 30 Aug 2013 08:12:58 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" = 337 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 337 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", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 337], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/337/payments/new" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"337"} 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", "337"]] Adherent::Adhesion Load (0.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 337 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 204 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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 17ms (Views: 7.7ms | ActiveRecord: 1.6ms) Started POST "/adherent/members/337/payments" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"337"} 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", "337"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 337], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 337 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 337 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 204 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", 204], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["payment_id", 103], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/337/payments Completed 302 Found in 13ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/337/payments" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"337"} 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", "337"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 337 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 103 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 204 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 337 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 103  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 103 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 103 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 103 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 337 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 16ms (Views: 12.1ms | ActiveRecord: 2.2ms)  (0.2ms) SHOW max_identifier_length  (1.1ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 337 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 226) LIMIT 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" = 226) 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", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 226], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 226) LIMIT 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" = 226) 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", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 226], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 226) LIMIT 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" = 226) 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", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 226], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (4.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 340 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 340 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", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 340], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/340/payments/new" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"340"} 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", "340"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 340 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 205 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 15ms (Views: 8.8ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/340/payments" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"340"} 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", "340"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 340], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 340 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 340 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 205 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", 205], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["payment_id", 104], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/340/payments Completed 302 Found in 13ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/340/payments" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"340"} 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", "340"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 340 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 104 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 205 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 340 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 104  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 104 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 104 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 104 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 340 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (8.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: 12.0ms | ActiveRecord: 2.2ms) Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 340 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 205  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 227) LIMIT 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" = 227) 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", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 227], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 227) LIMIT 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" = 227) 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", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 227], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 227) LIMIT 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" = 227) 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", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 227], ["updated_at", Fri, 30 Aug 2013 08:12:58 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" = 343 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 343 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", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 343], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/343/payments/new" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"343"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "343"]] Adherent::Adhesion Load (1.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 343 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 206 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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 17ms (Views: 7.9ms | ActiveRecord: 2.9ms) Started POST "/adherent/members/343/payments" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"343"} 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", "343"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 343], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 343 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 343 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 206 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", 206], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["payment_id", 105], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/343/payments Completed 302 Found in 13ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/343/payments" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"343"} 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", "343"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 343 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 105 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 206 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 343 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 105  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 105 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 105 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 105 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 343 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 18ms (Views: 13.9ms | ActiveRecord: 2.1ms)  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 343 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 228) LIMIT 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" = 228) 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", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 228], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.2ms) RELEASE 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" = 228) LIMIT 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" = 228) 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", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 228], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 228) LIMIT 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" = 228) 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", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 228], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (3.5ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 346 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 346 ORDER BY to_date DESC LIMIT 1  (3.6ms) SAVEPOINT active_record_1 SQL (3.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", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 346], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (6.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 346 Started GET "/adherent/members/346/payments/new" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"346"} 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", "346"]] Adherent::Adhesion Load (1.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 346 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 207 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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 15ms (Views: 7.9ms | ActiveRecord: 2.2ms) Started POST "/adherent/members/346/payments" for 127.0.0.1 at 2013-08-30 10:12:58 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"346"} 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", "346"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 346], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:12:58 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 346 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 346 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 207 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", 207], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["payment_id", 106], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/346/payments Completed 302 Found in 12ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/346/payments" for 127.0.0.1 at 2013-08-30 10:12:59 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"346"} 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", "346"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 346 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 106 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 207 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 346 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 106  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 106 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 106 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 106 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 346 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (7.6ms) 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: 12.5ms | ActiveRecord: 1.9ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 346  (0.5ms) 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE 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" = 229) LIMIT 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" = 229) 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 229], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.2ms) RELEASE 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" = 229) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 229) 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 229], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE 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" = 229) LIMIT 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" = 229) 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 229], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 349 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 349 ORDER BY to_date DESC LIMIT 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", #], ["created_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 349], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/349/payments/new" for 127.0.0.1 at 2013-08-30 10:12:59 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"349"} 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", "349"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 349 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 208 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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: 8.3ms | ActiveRecord: 1.6ms) Started POST "/adherent/members/349/payments" for 127.0.0.1 at 2013-08-30 10:12:59 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"349"} 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", "349"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 349], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 349 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 349 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 208 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", 208], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["payment_id", 107], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/349/payments Completed 302 Found in 12ms (ActiveRecord: 2.8ms) Started GET "/adherent/members/349/payments" for 127.0.0.1 at 2013-08-30 10:12:59 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"349"} 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", "349"]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 349 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 107 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 208 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 349 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 107  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 107 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 107 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 107 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 349 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (8.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: 11.2ms | ActiveRecord: 2.4ms)  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 349 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) COMMIT  (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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE 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" = 230) LIMIT 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" = 230) 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 230], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE 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" = 230) LIMIT 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" = 230) LIMIT 1 SQL (0.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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 230], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.3ms) RELEASE 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" = 230) LIMIT 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" = 230) 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 230], ["updated_at", Fri, 30 Aug 2013 08:12:59 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" = 352 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 352 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", #], ["created_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 352], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements" Started GET "/adherent/members/352/payments/new" for 127.0.0.1 at 2013-08-30 10:12:59 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"352"} Organism Load (1.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", "352"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 352 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 209 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.3ms) 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 17ms (Views: 8.1ms | ActiveRecord: 2.6ms) Started POST "/adherent/members/352/payments" for 127.0.0.1 at 2013-08-30 10:12:59 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"352"} 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", "352"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 352], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 352 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 352 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 209 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", 209], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["payment_id", 108], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/352/payments Completed 302 Found in 13ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/352/payments" for 127.0.0.1 at 2013-08-30 10:12:59 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"352"} 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", "352"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 352 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 108 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 209 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 352 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 108  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 108 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 108 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 108 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 352 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (8.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 16ms (Views: 12.6ms | ActiveRecord: 2.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.1ms) 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE 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" = 231) LIMIT 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" = 231) 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 231], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"   (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", #], ["created_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 355], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/355/adhesions" for 127.0.0.1 at 2013-08-30 10:12:59 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"355"} 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", "355"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 355 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 355  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 210 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 210 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.0ms | ActiveRecord: 1.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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.0ms) RELEASE 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" = 232) LIMIT 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" = 232) 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 232], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (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", #], ["created_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 356], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/356/adhesions" for 127.0.0.1 at 2013-08-30 10:12:59 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"356"} 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", "356"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 356 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 356  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 211 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 211 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.2ms | ActiveRecord: 1.2ms) Started GET "/adherent/members/356/payments/new" for 127.0.0.1 at 2013-08-30 10:12:59 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"356"} 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", "356"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 356 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 211 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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 14ms (Views: 7.4ms | 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE 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" = 233) LIMIT 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" = 233) 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 233], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (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", #], ["created_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 357], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/357/adhesions" for 127.0.0.1 at 2013-08-30 10:12:59 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"357"} 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", "357"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 357 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 357  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 212 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 212 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 11ms (Views: 7.4ms | ActiveRecord: 1.3ms) Started GET "/adherent/members/357/adhesions/212/edit" for 127.0.0.1 at 2013-08-30 10:12:59 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"357", "id"=>"212"} 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", "357"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 357 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "212"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (7.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: 12.6ms | ActiveRecord: 0.7ms)  (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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE 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" = 234) LIMIT 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" = 234) 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 234], ["updated_at", Fri, 30 Aug 2013 08:12:59 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/358/adhesions/new" for 127.0.0.1 at 2013-08-30 10:12:59 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"358"} 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", "358"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 358 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 358 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 15ms (Views: 9.0ms | ActiveRecord: 1.0ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 358 Started POST "/adherent/members/358/adhesions" for 127.0.0.1 at 2013-08-30 10:12:59 +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"=>"358"} 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", "358"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 358], ["to_date", Thu, 31 Jul 2014], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/358/adhesions Completed 302 Found in 6ms (ActiveRecord: 1.1ms) Started GET "/adherent/members/358/adhesions" for 127.0.0.1 at 2013-08-30 10:12:59 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"358"} 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", "358"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 358 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 358  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 213 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 213 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 11ms (Views: 7.6ms | ActiveRecord: 1.2ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 358  (0.2ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE 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" = 235) LIMIT 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" = 235) 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 235], ["updated_at", Fri, 30 Aug 2013 08:12:59 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/359/adhesions/new" for 127.0.0.1 at 2013-08-30 10:12:59 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"359"} 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", "359"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 359 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 359 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 14ms (Views: 8.6ms | ActiveRecord: 1.0ms)  (0.2ms) 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" = 'Adh1' AND "adherent_members"."organism_id" = 1) 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 360], ["office", nil], ["tel", nil], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["zip", 59000]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 360 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 11]] SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 360]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1003"} 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1003/adhesions Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1005"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1007"} 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1007/adhesions Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1009", "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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.6ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1013"} 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1014"} 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:59 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#index as HTML Parameters: {"member_id"=>"1015"} 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1015/adhesions/new Completed 302 Found in 6ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1016"} 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 1.1ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1018", "id"=>"1"} 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1020", "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.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1020/adhesions Completed 302 Found in 4ms (ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1022", "id"=>"1"} 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1024", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.0ms) 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1024/adhesions Completed 302 Found in 4ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1027"} 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1026/payments Completed 302 Found in 6ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1029"} Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1032"} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.9ms | 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  (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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE 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" = 252) LIMIT 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" = 252) 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 252], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE 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" = 252) LIMIT 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" = 252) 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 252], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE 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" = 252) LIMIT 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" = 252) 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 252], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE 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" = 252) LIMIT 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" = 252) 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 252], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE 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" = 252) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 252) 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 252], ["updated_at", Fri, 30 Aug 2013 08:12:59 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-30 10:12:59 +0200 Processing by Adherent::MembersController#index as HTML 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"."organism_id" = 252  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 361 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 361 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 362 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 362 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 363 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 363 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 364 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 364 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 365 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 365 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 42ms (Views: 31.3ms | ActiveRecord: 5.7ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE 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" = 253) LIMIT 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" = 253) 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 253], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE 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" = 253) LIMIT 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" = 253) 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 253], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE 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" = 253) LIMIT 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" = 253) 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 253], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE 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" = 253) LIMIT 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" = 253) 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 253], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.1ms) RELEASE 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" = 253) LIMIT 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" = 253) 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", Fri, 30 Aug 2013 08:12:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 253], ["updated_at", Fri, 30 Aug 2013 08:12:59 UTC +00:00]]  (0.0ms) 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-30 10:12:59 +0200 Processing by Adherent::MembersController#index as HTML 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"."organism_id" = 253  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 366 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 366 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 367 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 367 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 368 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 368 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 369 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 369 LIMIT 1  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 370 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 370 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 37ms (Views: 28.2ms | ActiveRecord: 6.0ms)  (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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 254) LIMIT 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" = 254) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 254], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 254) LIMIT 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" = 254) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 254], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 254) LIMIT 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" = 254) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 254], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 254) LIMIT 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" = 254) LIMIT 1 SQL (0.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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 254], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 254) LIMIT 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" = 254) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 254], ["updated_at", Fri, 30 Aug 2013 08:13:00 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/new" for 127.0.0.1 at 2013-08-30 10:13:00 +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 (61.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 70ms (Views: 67.0ms | ActiveRecord: 0.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members" Started POST "/adherent/members" for 127.0.0.1 at 2013-08-30 10:13:00 +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.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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" = 254) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 254], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/376/coord/new Completed 302 Found in 7ms (ActiveRecord: 1.1ms) Started GET "/adherent/members/376/coord/new" for 127.0.0.1 at 2013-08-30 10:13:00 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"376"} 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", "376"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 376 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (12.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 23ms (Views: 18.4ms | ActiveRecord: 0.8ms)  (0.3ms) 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.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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 255) LIMIT 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" = 255) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 255], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 255) LIMIT 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" = 255) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 255], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 255) LIMIT 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" = 255) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 255], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 255) LIMIT 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" = 255) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 255], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.2ms) RELEASE 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" = 255) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 255) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 255], ["updated_at", Fri, 30 Aug 2013 08:13:00 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-30 10:13:00 +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" = 255  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 377 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 377 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 378 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 378 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 379 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 379 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 380 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 380 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 381 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 381 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 35ms (Views: 28.4ms | ActiveRecord: 4.7ms) Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/377/edit" for 127.0.0.1 at 2013-08-30 10:13:00 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"377"} 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", "377"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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.6ms) Completed 200 OK in 13ms (Views: 10.7ms | ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 256) LIMIT 1  (1.4ms) 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" = 256) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 256], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 256) LIMIT 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" = 256) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 256], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 256) LIMIT 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" = 256) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 256], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 256) LIMIT 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" = 256) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 256], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 256) LIMIT 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" = 256) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 256], ["updated_at", Fri, 30 Aug 2013 08:13:00 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-30 10:13:00 +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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 256  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 382 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 382 LIMIT 1  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 383 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 383 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 384 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 384 LIMIT 1  (0.5ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 385 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 385 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 386 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 386 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 38ms (Views: 30.1ms | ActiveRecord: 5.5ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/382/payments" for 127.0.0.1 at 2013-08-30 10:13:00 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"382"} 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", "382"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 382 Rendered collection (0.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 8ms (Views: 4.6ms | ActiveRecord: 1.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 257) LIMIT 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" = 257) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 257], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 257) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 257) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 257], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 257) LIMIT 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" = 257) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 257], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 257) LIMIT 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" = 257) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 257], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 257) LIMIT 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" = 257) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 257], ["updated_at", Fri, 30 Aug 2013 08:13:00 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-30 10:13:00 +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" = 257  (0.5ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 387 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 387 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 388 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 388 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 389 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 389 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 390 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 390 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 391 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 391 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 36ms (Views: 26.2ms | ActiveRecord: 5.8ms) Adherent::Member Load (1.7ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/387/adhesions" for 127.0.0.1 at 2013-08-30 10:13:00 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"387"} 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", "387"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 387 Redirected to http://www.example.com/adherent/members/387/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET "/adherent/members/387/adhesions/new" for 127.0.0.1 at 2013-08-30 10:13:00 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"387"} 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", "387"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 387 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 387 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 12ms (Views: 7.4ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 258) LIMIT 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" = 258) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 258], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 258) LIMIT 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" = 258) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 258], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 258) LIMIT 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" = 258) LIMIT 1 SQL (5.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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 258], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 258) LIMIT 1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 258) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 258], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (1.7ms) RELEASE 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" = 258) LIMIT 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" = 258) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 258], ["updated_at", Fri, 30 Aug 2013 08:13:00 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-30 10:13:00 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.9ms) 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" = 258  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 392 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 392 LIMIT 1  (1.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 393 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 393 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 394 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 394 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 395 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 395 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 396 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 396 LIMIT 1 Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 40ms (Views: 30.3ms | ActiveRecord: 7.6ms) Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/392/coord" for 127.0.0.1 at 2013-08-30 10:13:00 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"392"} 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", "392"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 392 LIMIT 1 Redirected to http://www.example.com/adherent/members/392/coord/new Completed 302 Found in 5ms (ActiveRecord: 0.7ms) Started GET "/adherent/members/392/coord/new" for 127.0.0.1 at 2013-08-30 10:13:00 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"392"} 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", "392"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 392 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.5ms) 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 15ms (Views: 11.3ms | ActiveRecord: 0.7ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 259) LIMIT 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" = 259) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 259], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 259) LIMIT 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" = 259) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 259], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 259) LIMIT 1  (0.6ms) 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" = 259) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 259], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 259) LIMIT 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" = 259) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 259], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 259) LIMIT 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" = 259) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 259], ["updated_at", Fri, 30 Aug 2013 08:13:00 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-30 10:13:00 +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" = 259  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 397 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 397 LIMIT 1  (1.2ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 398 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 398 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 399 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 399 LIMIT 1  (0.5ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 400 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 400 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 401 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 401 LIMIT 1 Rendered layouts/adherent/_header.html.haml (0.3ms) 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 36ms (Views: 28.1ms | ActiveRecord: 5.3ms) Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-30 10:13:00 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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 10ms (Views: 8.2ms | ActiveRecord: 0.4ms)  (0.1ms) 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.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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 260) LIMIT 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" = 260) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 260], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 260) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 260) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 260], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 260) LIMIT 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" = 260) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 260], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 260) LIMIT 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" = 260) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 260], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 260) LIMIT 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" = 260) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 260], ["updated_at", Fri, 30 Aug 2013 08:13:00 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-30 10:13:00 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.7ms) 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" = 260  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 402 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 402 LIMIT 1  (1.0ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 403 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 403 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 404 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 404 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 405 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 405 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 406 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 406 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 39ms (Views: 28.6ms | ActiveRecord: 5.9ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.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", "Marseille"], ["created_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 402], ["office", nil], ["tel", nil], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["zip", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 402 LIMIT 1 Started GET "/adherent/members/402/coord" for 127.0.0.1 at 2013-08-30 10:13:00 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"402"} 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", "402"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 402 LIMIT 1 Rendered layouts/adherent/_header.html.haml (0.4ms) 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: 6.1ms | ActiveRecord: 0.7ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 261) LIMIT 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" = 261) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 261], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 261) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 261) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 261], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 261) LIMIT 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" = 261) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 261], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 261) LIMIT 1  (0.3ms) 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" = 261) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 261], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE 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" = 261) LIMIT 1  (0.2ms) 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" = 261) 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 261], ["updated_at", Fri, 30 Aug 2013 08:13:00 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-30 10:13:00 +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" = 261  (0.9ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 407 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 407 LIMIT 1  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 408 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 408 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 409 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 409 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 410 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 410 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 411 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 411 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 35ms (Views: 27.6ms | ActiveRecord: 5.0ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 407 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 407 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", #], ["created_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 407], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/407/adhesions" for 127.0.0.1 at 2013-08-30 10:13:00 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"407"} 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", "407"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 407 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 407  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 214 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 214 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.6ms) Completed 200 OK in 11ms (Views: 7.0ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1034", "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.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.4ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1036"} 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.0ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1038"} 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1038/payments Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1040"} 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", Fri, 30 Aug 2013 08:13:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1042"} 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1042/payments Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1044"} 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.6ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1045"} Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 1.0ms | ActiveRecord: 5.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (1.3ms) BEGIN Organism Load (2.1ms) 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE 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" = 269) LIMIT 1  (0.5ms) 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" = 269) 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 269], ["updated_at", Fri, 30 Aug 2013 08:13:01 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" = 412 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 412 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", #], ["created_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 412], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 412], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]] Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 412 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 412 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/412/payments" for 127.0.0.1 at 2013-08-30 10:13:01 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"412"} 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", "412"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 412 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 109 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 109  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 109 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 109 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 109 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 412 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (7.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: 10.1ms | ActiveRecord: 2.7ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.9ms) 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE 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" = 270) LIMIT 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" = 270) 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 270], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 413 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 413 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", #], ["created_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 413], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 413], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 413 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 413 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/413/payments" for 127.0.0.1 at 2013-08-30 10:13:01 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"413"} 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", "413"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 413 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 110 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 110  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 110 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 110 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 110 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 413 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.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 17ms (Views: 12.2ms | ActiveRecord: 2.0ms) Started GET "/adherent/payments/110/reglements/new" for 127.0.0.1 at 2013-08-30 10:13:01 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"110"} 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", "110"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 413 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 110  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 110 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 110 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 110 Adherent::Adhesion Load (0.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_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 15ms (Views: 9.3ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE 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" = 271) LIMIT 1  (0.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" = 271) 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 271], ["updated_at", Fri, 30 Aug 2013 08:13:01 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.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 414 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 414 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", #], ["created_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 414], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/414/payments/new" for 127.0.0.1 at 2013-08-30 10:13:01 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"414"} 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", "414"]] Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 414 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (7.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 16ms (Views: 10.8ms | ActiveRecord: 1.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 414 Started POST "/adherent/members/414/payments" for 127.0.0.1 at 2013-08-30 10:13:01 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"414"} 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", "414"]]  (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", #], ["created_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 414], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 414 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 414 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/414/payments Completed 302 Found in 9ms (ActiveRecord: 2.0ms) Started GET "/adherent/members/414/payments" for 127.0.0.1 at 2013-08-30 10:13:01 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"414"} 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", "414"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 414 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 111 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 111  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 111 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 111 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 111 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 414 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.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 14ms (Views: 10.2ms | ActiveRecord: 2.4ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 414  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE 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" = 272) LIMIT 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" = 272) 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 272], ["updated_at", Fri, 30 Aug 2013 08:13:01 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" = 415 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 415 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", #], ["created_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 415], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/415/payments/new" for 127.0.0.1 at 2013-08-30 10:13:01 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"415"} 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", "415"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 415 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (7.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 16ms (Views: 10.9ms | ActiveRecord: 1.2ms)  (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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE 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" = 273) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 273) 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 273], ["updated_at", Fri, 30 Aug 2013 08:13:01 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/416/coord/new" for 127.0.0.1 at 2013-08-30 10:13:01 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"416"} 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", "416"]] Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 416 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (13.8ms) 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 23ms (Views: 19.1ms | ActiveRecord: 0.7ms) Started POST "/adherent/members/416/coord" for 127.0.0.1 at 2013-08-30 10:13:01 +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"=>"416"} 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", "416"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 416 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", ""], ["created_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 416], ["office", ""], ["tel", ""], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/416/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 1.5ms) Started GET "/adherent/members/416/adhesions/new" for 127.0.0.1 at 2013-08-30 10:13:01 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"416"} 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", "416"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 416 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 416 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 17ms (Views: 8.3ms | ActiveRecord: 1.6ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE 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" = 274) LIMIT 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" = 274) 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 274], ["updated_at", Fri, 30 Aug 2013 08:13:01 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/417/coord/new" for 127.0.0.1 at 2013-08-30 10:13:01 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"417"} Organism Load (0.3ms) 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", "417"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 417 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (59.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 68ms (Views: 62.7ms | ActiveRecord: 1.3ms)  (1.0ms) SELECT COUNT(*) FROM "adherent_coords"  Started POST "/adherent/members/417/coord" for 127.0.0.1 at 2013-08-30 10:13:01 +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"=>"417"} 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", "417"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 417 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 417], ["office", ""], ["tel", ""], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["zip", ""]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/417/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 1.4ms) Started GET "/adherent/members/417/adhesions/new" for 127.0.0.1 at 2013-08-30 10:13:01 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"417"} 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", "417"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 417 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 417 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (6.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 14ms (Views: 9.8ms | ActiveRecord: 1.0ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  (0.0ms) 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 (0.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE 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" = 275) LIMIT 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" = 275) 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 275], ["updated_at", Fri, 30 Aug 2013 08:13:01 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/418/coord/new" for 127.0.0.1 at 2013-08-30 10:13:01 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"418"} 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", "418"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 418 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.8ms) 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: 12.7ms | ActiveRecord: 0.7ms) Started POST "/adherent/members/418/coord" for 127.0.0.1 at 2013-08-30 10:13:01 +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"=>"418"} 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", "418"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 418 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 418], ["office", ""], ["tel", ""], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/418/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 1.4ms) Started GET "/adherent/members/418/adhesions/new" for 127.0.0.1 at 2013-08-30 10:13:01 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"418"} 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", "418"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 418 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 418 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.9ms) 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 13ms (Views: 8.9ms | ActiveRecord: 1.0ms) Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 418 LIMIT 1  (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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE 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" = 276) LIMIT 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" = 276) 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 276], ["updated_at", Fri, 30 Aug 2013 08:13:01 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/419/coord/new" for 127.0.0.1 at 2013-08-30 10:13:01 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"419"} 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", "419"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 419 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (7.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 18ms (Views: 12.5ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AllpaymentsController#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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" INNER JOIN "adherent_members" ON "adherent_payments"."member_id" = "adherent_members"."id" WHERE "adherent_members"."organism_id" = 277 Completed 200 OK in 17ms (Views: 1.8ms | ActiveRecord: 1.4ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1046"} 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 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::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1048"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1048/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1050"} Organism Load (0.1ms) 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1052"} 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1054"} Organism Load (0.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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1056"} 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1058"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.0ms) 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1060"} 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 2.3ms | ActiveRecord: 0.8ms)  (0.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1062"} Organism Load (0.3ms) 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1062/coord Completed 302 Found in 4ms (ActiveRecord: 0.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1064"} 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1066/coord Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1068"} 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1068 Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1069"} 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1069 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"=>"1070"} 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1071"} Organism Load (0.6ms) 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1071 Completed 302 Found in 5ms (ActiveRecord: 1.1ms)  (0.1ms) 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.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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 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" = 'A001' AND "adherent_members"."organism_id" = 293) 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 293], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/420/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.8ms)  (0.1ms) 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.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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.3ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 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" = 'A001' AND "adherent_members"."organism_id" = 295) 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 295], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/421/coord/new Completed 302 Found in 8ms (ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.0ms) 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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) 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" = 296) LIMIT 1 SQL (0.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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 296], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/422/coord/new Completed 302 Found in 9ms (ActiveRecord: 2.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML 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", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 299 Completed 200 OK in 14ms (Views: 4.9ms | ActiveRecord: 1.1ms)  (2.7ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1072"} Organism Load (0.3ms) 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", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 8ms (ActiveRecord: 1.6ms)  (1.0ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1073"} 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", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.1ms) 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", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} 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", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} Organism Load (0.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", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Organism Load (1.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", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.7ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:13:02 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" = 219  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 219], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:02 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" = 219  (0.0ms) ROLLBACK  (0.0ms) BEGIN  (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", #], ["created_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 220  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 220], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:13:02 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" = 221  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 221], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 221  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 221  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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.0ms) BEGIN  (0.2ms) 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.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (1.9ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) 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", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:02 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" = '002' 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", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 423], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 424], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 08:13:02 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", #], ["created_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 424], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 424 LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 424 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 223 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", 223], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["payment_id", 112], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY "adherent_adhesions"."id" DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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.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", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:02 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", #], ["created_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 425], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 426], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 426], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 426 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 426 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 225 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", 225], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["payment_id", 113], ["updated_at", Fri, 30 Aug 2013 08:13:02 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", #], ["created_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 426], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 426 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 426 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 225 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", 225], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["payment_id", 114], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 425], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 425 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 425 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 224 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", 224], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["payment_id", 115], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) 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", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:02 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" = '002' 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", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 427], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]]  (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 428], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 08:13:02 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", #], ["created_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 428], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 428 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 428 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 227 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", 227], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["payment_id", 116], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 427], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 427 LIMIT 1 Adherent::Adhesion Load (1.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 427 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 226 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", 226], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["payment_id", 117], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) LIMIT 1  (0.1ms) ROLLBACK Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]]  (1.1ms) COMMIT Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 306) LIMIT 1  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 306) 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", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 306], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]]  (0.9ms) COMMIT Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 306) LIMIT 1  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 306) 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", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 306], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]]  (0.4ms) COMMIT Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 306) LIMIT 1  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 306) 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", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 306], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]]  (1.0ms) COMMIT Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 306) LIMIT 1  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 306) 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", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 306], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]]  (0.8ms) COMMIT Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 306) LIMIT 1  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 306) 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", Fri, 30 Aug 2013 08:13:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 306], ["updated_at", Fri, 30 Aug 2013 08:13:02 UTC +00:00]]  (0.8ms) COMMIT Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members" for 127.0.0.1 at 2013-08-30 10:13:32 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.1ms) 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"."organism_id" = 306  (0.2ms) SHOW max_identifier_length  (2.1ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 429 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 429 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 430 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 430 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 431 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 431 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 432 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 432 LIMIT 1  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 433 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 433 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 73ms (Views: 48.0ms | ActiveRecord: 18.9ms) Started GET "/assets/adherent/application.css" for 127.0.0.1 at 2013-08-30 10:13:33 +0200 Compiled jquery.ui.core.css (3ms) (pid 19293) Compiled jquery.ui.theme.css (17ms) (pid 19293) Compiled jquery.ui.datepicker.css (263ms) (pid 19293) Compiled adherent/adhesion.css (0ms) (pid 19293) Compiled adherent/allpayments.css (1ms) (pid 19293) Compiled adherent/bootstrap.css (2ms) (pid 19293) Compiled adherent/coords.css (0ms) (pid 19293) Compiled adherent/date_picker.css (125ms) (pid 19293) Compiled adherent/jc_application.css (3469ms) (pid 19293) Compiled adherent/jcmenu.css (0ms) (pid 19293) Compiled adherent/layouts.css (27ms) (pid 19293) Compiled adherent/members.css (0ms) (pid 19293) Compiled adherent/old_bootstrap.css (0ms) (pid 19293) Compiled adherent/payments.css (0ms) (pid 19293) Compiled adherent/reglements.css (0ms) (pid 19293) Compiled adherent/application.css (5610ms) (pid 19293) Served asset /adherent/application.css - 200 OK (6033ms) Started GET "/assets/adherent/application.js" for 127.0.0.1 at 2013-08-30 10:13:39 +0200 Compiled jquery.js (103ms) (pid 19293) Compiled jquery_ujs.js (0ms) (pid 19293) Compiled jquery.ui.core.js (0ms) (pid 19293) Compiled jquery.ui.datepicker.js (42ms) (pid 19293) Compiled adherent/adhesion.js (0ms) (pid 19293) Compiled adherent/allpayments.js (0ms) (pid 19293) Compiled adherent/bootstrap.js (1ms) (pid 19293) Compiled adherent/coords.js (2ms) (pid 19293) Compiled adherent/date_picker.js (1ms) (pid 19293) Compiled adherent/members.js (1ms) (pid 19293) Compiled adherent/payments.js (0ms) (pid 19293) Compiled adherent/reglements.js (0ms) (pid 19293) Compiled adherent/application.js (633ms) (pid 19293) Served asset /adherent/application.js - 200 OK (828ms) Started GET "/assets/adherent/icones/nouveau.png" for 127.0.0.1 at 2013-08-30 10:13:39 +0200 Served asset /adherent/icones/nouveau.png - 200 OK (58ms) Started GET "/assets/adherent/icones/payment.png" for 127.0.0.1 at 2013-08-30 10:13:39 +0200 Served asset /adherent/icones/payment.png - 200 OK (47ms) Started GET "/assets/adherent/icones/supprimer.png" for 127.0.0.1 at 2013-08-30 10:13:40 +0200 Served asset /adherent/icones/supprimer.png - 200 OK (89ms) Started GET "/assets/adherent/icones/modifier.png" for 127.0.0.1 at 2013-08-30 10:13:40 +0200 Served asset /adherent/icones/modifier.png - 200 OK (49ms) Started GET "/assets/adherent/icones/bandaid.png" for 127.0.0.1 at 2013-08-30 10:13:40 +0200 Served asset /adherent/icones/bandaid.png - 200 OK (115ms) Started GET "/assets/adherent/icones/card-address.png" for 127.0.0.1 at 2013-08-30 10:13:40 +0200 Served asset /adherent/icones/card-address.png - 200 OK (103ms) Started DELETE "/adherent/members/429" for 127.0.0.1 at 2013-08-30 10:13:46 +0200 Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"429"} Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (236.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "429"]]  (0.1ms) BEGIN Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 429 LIMIT 1 SQL (188.4ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 429]]  (56.2ms) COMMIT Redirected to http://127.0.0.1:37904/adherent/members Completed 302 Found in 491ms (ActiveRecord: 482.5ms) Started GET "/adherent/members" for 127.0.0.1 at 2013-08-30 10:13:47 +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" = 306  (0.5ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 430 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 430 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 431 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (1.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 431 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 432 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 432 LIMIT 1  (0.9ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 433 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 433 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 43ms (Views: 35.3ms | ActiveRecord: 5.1ms)  (1.0ms) SELECT COUNT(*) FROM "adherent_members"   (62.1ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (502.8ms) select table_name from information_schema.views where table_schema = 'adh_test'  (736.3ms) TRUNCATE TABLE "adherent_adhesions", "adherent_coords", "adherent_members", "adherent_payments", "adherent_reglements", "organisms" RESTART IDENTITY CASCADE;  (1.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (35.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:13:49 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:49 UTC +00:00]]  (16.2ms) COMMIT Adherent::Member Exists (0.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) LIMIT 1  (2.1ms) BEGIN Adherent::Member Exists (5.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (2.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", Fri, 30 Aug 2013 08:13:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:49 UTC +00:00]]  (117.7ms) COMMIT Adherent::Member Exists (6.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.2ms) BEGIN Adherent::Member Exists (0.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 1) 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", Fri, 30 Aug 2013 08:13:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:49 UTC +00:00]]  (6.0ms) COMMIT 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  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) 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", Fri, 30 Aug 2013 08:13:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:49 UTC +00:00]]  (4.7ms) COMMIT Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 1) LIMIT 1  (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", Fri, 30 Aug 2013 08:13:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:49 UTC +00:00]]  (6.4ms) COMMIT 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  (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", Fri, 30 Aug 2013 08:13:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:49 UTC +00:00]]  (7.3ms) COMMIT Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members"   (0.1ms) BEGIN SQL (2.5ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 08:13:50 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 1], ["mode", "Chèque"], ["updated_at", Fri, 30 Aug 2013 08:13:50 UTC +00:00]] Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 1 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 1 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (7.6ms) COMMIT Started GET "/adherent/members/1/payments" for 127.0.0.1 at 2013-08-30 10:13:50 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1"} Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (8.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] Adherent::Payment Load (1.0ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* 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  (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 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 1 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (12.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 41ms (Views: 17.1ms | ActiveRecord: 17.9ms) Started GET "/assets/adherent/icones/users.png" for 127.0.0.1 at 2013-08-30 10:13:50 +0200 Served asset /adherent/icones/users.png - 200 OK (108ms) Started GET "/assets/adherent/icones/imputation.png" for 127.0.0.1 at 2013-08-30 10:13:50 +0200 Served asset /adherent/icones/imputation.png - 200 OK (206ms) Started GET "/assets/adherent/icones/detail.png" for 127.0.0.1 at 2013-08-30 10:13:50 +0200 Served asset /adherent/icones/detail.png - 200 OK (78ms) Started GET "/assets/adherent/icones/money-plus.png" for 127.0.0.1 at 2013-08-30 10:13:50 +0200 Served asset /adherent/icones/money-plus.png - 200 OK (319ms)  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (365.8ms) TRUNCATE TABLE "adherent_adhesions", "adherent_coords", "adherent_members", "adherent_payments", "adherent_reglements", "organisms" RESTART IDENTITY CASCADE;  (1.1ms) ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (1.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:13:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:13:53 UTC +00:00]]  (4.9ms) COMMIT Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (0.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", Fri, 30 Aug 2013 08:13:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:53 UTC +00:00]]  (10.5ms) COMMIT 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  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 1) 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", Fri, 30 Aug 2013 08:13:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:53 UTC +00:00]]  (6.6ms) COMMIT 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  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) 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", Fri, 30 Aug 2013 08:13:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:53 UTC +00:00]]  (35.1ms) COMMIT Adherent::Member Exists (0.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.4ms) BEGIN Adherent::Member Exists (1.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (1.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", Fri, 30 Aug 2013 08:13:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:53 UTC +00:00]]  (2.7ms) COMMIT Adherent::Member Exists (2.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.1ms) BEGIN Adherent::Member Exists (1.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' 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", Fri, 30 Aug 2013 08:13:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:53 UTC +00:00]]  (16.2ms) COMMIT Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date DESC LIMIT 1  (0.4ms) BEGIN 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", #], ["created_at", Fri, 30 Aug 2013 08:13:53 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:13:53 UTC +00:00]]  (5.9ms) COMMIT Started GET "/adherent/members/1/adhesions" for 127.0.0.1 at 2013-08-30 10:13:53 +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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]]  (5.9ms) SELECT COUNT(*) 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  (0.4ms) 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.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 21ms (Views: 10.5ms | ActiveRecord: 7.4ms) Started DELETE "/adherent/members/1/adhesions/1" for 127.0.0.1 at 2013-08-30 10:13:54 +0200 Processing by Adherent::AdhesionsController#destroy as HTML Parameters: {"member_id"=>"1", "id"=>"1"} Organism Load (3.3ms) 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"]] Adherent::Adhesion Load (0.5ms) 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 (1.2ms) DELETE FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 [["id", 1]]  (62.6ms) COMMIT Redirected to http://127.0.0.1:37904/adherent/members/1/adhesions Completed 302 Found in 87ms (ActiveRecord: 68.1ms) Started GET "/adherent/members/1/adhesions" for 127.0.0.1 at 2013-08-30 10:13:54 +0200 Processing by Adherent::AdhesionsController#index 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.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 Redirected to http://127.0.0.1:37904/adherent/members/1/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.6ms) Started GET "/adherent/members/1/adhesions/new" for 127.0.0.1 at 2013-08-30 10:13:54 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1"} Organism Load (2.8ms) 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"]] Adherent::Adhesion Load (0.4ms) 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 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (7.9ms) 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 26ms (Views: 12.0ms | ActiveRecord: 4.0ms)  (1.0ms) SELECT COUNT(*) FROM "adherent_adhesions"   (0.2ms) ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL Started GET "/assets/adherent/cal.gif" for 127.0.0.1 at 2013-08-30 10:13:55 +0200 Served asset /adherent/cal.gif - 200 OK (139ms)  (567.0ms) TRUNCATE TABLE "adherent_adhesions", "adherent_coords", "adherent_members", "adherent_payments", "adherent_reglements", "organisms" RESTART IDENTITY CASCADE;  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (1.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (24.7ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '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", Fri, 30 Aug 2013 08:13:56 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00]]  (10.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 Adherent::Adhesion Load (8.9ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 1], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 1], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 1 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 1 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 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", 1], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 2 SQL (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  (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" = '001' AND "adherent_members"."organism_id" = 1) 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", Fri, 30 Aug 2013 08:13:56 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 2], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 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", #], ["created_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 2], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 2], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 2 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 2 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 3 SQL (0.7ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00], ["payment_id", 2], ["updated_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 4 SQL (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00], ["payment_id", 2], ["updated_at", Fri, 30 Aug 2013 08:13:56 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" = 2  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 2  (0.7ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) 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", Fri, 30 Aug 2013 08:13:56 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 3], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 08:13:56 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" = 3 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (14.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", #], ["created_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 3], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00]]  (3.2ms) RELEASE SAVEPOINT active_record_1  (14.4ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 3], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00]] Adherent::Member Load (3.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 3 LIMIT 1 Adherent::Adhesion Load (3.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 3 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (2.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 5 SQL (1.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 5], ["amount", #], ["created_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00], ["payment_id", 3], ["updated_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00]]  (3.6ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.6ms) ROLLBACK  (0.1ms) BEGIN  (1.3ms) ROLLBACK  (0.1ms) BEGIN  (2.9ms) ROLLBACK  (0.1ms) BEGIN  (2.1ms) ROLLBACK  (0.2ms) BEGIN Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (7.2ms) ROLLBACK  (0.2ms) BEGIN Adherent::Adhesion Load (3.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (1.5ms) ROLLBACK  (0.1ms) BEGIN Adherent::Adhesion Load (2.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (1.7ms) 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.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", Fri, 30 Aug 2013 08:13:56 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:56 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" = 4 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 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", #], ["created_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 4], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:13:56 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" = 4 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date DESC LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Fri, 30 Aug 2013 08:13:56 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 Adherent::Adhesion Load (1.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 5], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:13:56 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" = 5 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 ORDER BY to_date DESC LIMIT 1  (0.2ms) 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", Fri, 30 Aug 2013 08:13:56 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:56 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" = 6 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 6 ORDER BY to_date DESC LIMIT 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", #], ["created_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 6], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:13:56 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" = 6 Adherent::Adhesion Load (1.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 6 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" 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 (0.4ms) 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.0ms) BEGIN Adherent::Member Exists (0.2ms) 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.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) 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", Fri, 30 Aug 2013 08:13:56 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.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.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) 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", Fri, 30 Aug 2013 08:13:56 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00]]  (0.1ms) RELEASE 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  (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 (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", Tue, 06 Jun 1944], ["created_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:13:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK Connecting to database specified by database.yml Organism Load (2.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (5.2ms) BEGIN SQL (48.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:15:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:15:56 UTC +00:00]]  (1.3ms) COMMIT Adherent::Member Exists (1.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.4ms) BEGIN Adherent::Member Exists (2.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (0.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", Fri, 30 Aug 2013 08:15:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:15:56 UTC +00:00]]  (1.3ms) COMMIT 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  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' 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", Fri, 30 Aug 2013 08:15:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:15:56 UTC +00:00]]  (1.4ms) COMMIT 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  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' 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", Fri, 30 Aug 2013 08:15:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:15:56 UTC +00:00]]  (2.5ms) COMMIT Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 1) LIMIT 1  (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.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", Fri, 30 Aug 2013 08:15:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:15:56 UTC +00:00]]  (1.4ms) COMMIT 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  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' 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", Fri, 30 Aug 2013 08:15:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:15:56 UTC +00:00]]  (1.0ms) COMMIT Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  (0.9ms) BEGIN SQL (2.1ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 08:15:56 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 10], ["mode", "Chèque"], ["updated_at", Fri, 30 Aug 2013 08:15:56 UTC +00:00]] Adherent::Member Load (5.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 10 LIMIT 1 Adherent::Adhesion Load (2.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 10 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (1.7ms) COMMIT Started GET "/adherent/members/10/payments/4" for 127.0.0.1 at 2013-08-30 10:16:14 +0200 Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"10", "id"=>"4"} Organism Load (1.2ms) 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", "10"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 10 AND "adherent_payments"."id" = 4 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4 Adherent::Member Load (0.3ms) 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 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/show.html.haml within layouts/adherent/application (34.9ms) Rendered layouts/adherent/_header.html.haml (0.7ms) 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.1ms) Completed 200 OK in 168ms (Views: 151.8ms | ActiveRecord: 10.7ms) Started GET "/assets/adherent/application.css" for 127.0.0.1 at 2013-08-30 10:16:14 +0200 Served asset /adherent/application.css - 200 OK (326ms) Started GET "/assets/adherent/application.js" for 127.0.0.1 at 2013-08-30 10:16:15 +0200 Served asset /adherent/application.js - 200 OK (1576ms) Started GET "/assets/adherent/icones/payment.png" for 127.0.0.1 at 2013-08-30 10:16:16 +0200 Served asset /adherent/icones/payment.png - 200 OK (25ms) Started GET "/assets/adherent/icones/money-plus.png" for 127.0.0.1 at 2013-08-30 10:16:16 +0200 Served asset /adherent/icones/money-plus.png - 200 OK (9ms) Started GET "/assets/adherent/icones/modifier.png" for 127.0.0.1 at 2013-08-30 10:16:16 +0200 Served asset /adherent/icones/modifier.png - 200 OK (41ms) Started GET "/assets/adherent/icones/imputation.png" for 127.0.0.1 at 2013-08-30 10:16:16 +0200 Served asset /adherent/icones/imputation.png - 200 OK (2ms) Started GET "/assets/adherent/icones/supprimer.png" for 127.0.0.1 at 2013-08-30 10:16:16 +0200 Served asset /adherent/icones/supprimer.png - 200 OK (16ms) Started DELETE "/adherent/members/10/payments/4" for 127.0.0.1 at 2013-08-30 10:16:17 +0200 Processing by Adherent::PaymentsController#destroy as HTML Parameters: {"member_id"=>"10", "id"=>"4"} Organism Load (7.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "10"]] Adherent::Payment Load (1.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 10 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "4"]]  (0.1ms) BEGIN Adherent::Reglement Load (5.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4 SQL (1.2ms) DELETE FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 [["id", 4]]  (9.2ms) COMMIT Redirected to http://127.0.0.1:59331/adherent/members/10/payments Completed 302 Found in 51ms (ActiveRecord: 25.8ms) Started GET "/adherent/members/10/payments" for 127.0.0.1 at 2013-08-30 10:16:18 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"10"} Organism Load (0.9ms) 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", "10"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 10 Rendered collection (0.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/index.html.haml within layouts/adherent/application (7.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 (7.3ms) Completed 200 OK in 44ms (Views: 38.9ms | ActiveRecord: 1.7ms) Started GET "/assets/adherent/icones/users.png" for 127.0.0.1 at 2013-08-30 10:16:18 +0200 Served asset /adherent/icones/users.png - 200 OK (12ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_payments"  (65.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (52.9ms) select table_name from information_schema.views where table_schema = 'adh_test'  (490.8ms) TRUNCATE TABLE "adherent_adhesions", "adherent_coords", "adherent_members", "adherent_payments", "adherent_reglements", "organisms" RESTART IDENTITY CASCADE;  (2.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (2.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:16:19 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:16:19 UTC +00:00]]  (40.8ms) COMMIT 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  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) 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", Fri, 30 Aug 2013 08:16:19 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:16:19 UTC +00:00]]  (9.3ms) COMMIT 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  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) 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", Fri, 30 Aug 2013 08:16:19 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:16:19 UTC +00:00]]  (15.3ms) COMMIT 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  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' 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", Fri, 30 Aug 2013 08:16:19 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:16:19 UTC +00:00]]  (27.9ms) COMMIT 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  (0.2ms) BEGIN Adherent::Member Exists (0.2ms) 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", Fri, 30 Aug 2013 08:16:19 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:16:19 UTC +00:00]]  (11.1ms) COMMIT 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  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) 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", Fri, 30 Aug 2013 08:16:19 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:16:19 UTC +00:00]]  (11.3ms) COMMIT Adherent::Member Load (0.3ms) 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date DESC LIMIT 1  (0.3ms) BEGIN 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", #], ["created_at", Fri, 30 Aug 2013 08:16:19 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 08:16:19 UTC +00:00]]  (3.1ms) COMMIT Started GET "/adherent/members/1/adhesions" for 127.0.0.1 at 2013-08-30 10:16:19 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1"} Organism Load (1.3ms) 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.6ms) SELECT COUNT(*) 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  (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 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 59ms (Views: 40.5ms | ActiveRecord: 14.5ms) Started GET "/assets/adherent/icones/nouveau.png" for 127.0.0.1 at 2013-08-30 10:16:19 +0200 Served asset /adherent/icones/nouveau.png - 200 OK (41ms) Started DELETE "/adherent/members/1/adhesions/1" for 127.0.0.1 at 2013-08-30 10:16:20 +0200 Processing by Adherent::AdhesionsController#destroy as HTML Parameters: {"member_id"=>"1", "id"=>"1"} Organism Load (14.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (3.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] Adherent::Adhesion Load (0.5ms) 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.3ms) DELETE FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 [["id", 1]]  (254.0ms) COMMIT Redirected to http://127.0.0.1:59331/adherent/members/1/adhesions Completed 302 Found in 281ms (ActiveRecord: 272.4ms) Started GET "/adherent/members/1/adhesions" for 127.0.0.1 at 2013-08-30 10:16:21 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1"} Organism Load (3.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 Redirected to http://127.0.0.1:59331/adherent/members/1/adhesions/new Completed 302 Found in 24ms (ActiveRecord: 5.7ms) Started GET "/adherent/members/1/adhesions/new" for 127.0.0.1 at 2013-08-30 10:16:21 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1"} Organism Load (1.2ms) 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"]] Adherent::Adhesion Load (0.3ms) 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 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (269.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.0ms) Completed 200 OK in 319ms (Views: 303.1ms | ActiveRecord: 2.4ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_adhesions"   (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL Started GET "/assets/adherent/cal.gif" for 127.0.0.1 at 2013-08-30 10:16:21 +0200 Served asset /adherent/cal.gif - 200 OK (53ms)  (1376.9ms) TRUNCATE TABLE "adherent_adhesions", "adherent_coords", "adherent_members", "adherent_payments", "adherent_reglements", "organisms" RESTART IDENTITY CASCADE;  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (4.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 08:16:23 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 08:16:23 UTC +00:00]]  (127.8ms) COMMIT Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) LIMIT 1  (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" = 1) 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", Fri, 30 Aug 2013 08:16:23 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:16:23 UTC +00:00]]  (308.0ms) COMMIT Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.2ms) BEGIN Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (1.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", Fri, 30 Aug 2013 08:16:23 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:16:23 UTC +00:00]]  (479.7ms) COMMIT Adherent::Member Exists (2.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.2ms) BEGIN Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (0.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", Fri, 30 Aug 2013 08:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:16:24 UTC +00:00]]  (6.2ms) COMMIT Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.1ms) BEGIN Adherent::Member Exists (0.5ms) 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", Fri, 30 Aug 2013 08:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:16:24 UTC +00:00]]  (38.0ms) COMMIT Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 1) 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", Fri, 30 Aug 2013 08:16:24 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 08:16:24 UTC +00:00]]  (34.9ms) COMMIT Adherent::Member Load (1.3ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members" for 127.0.0.1 at 2013-08-30 10:16:24 +0200 Processing by Adherent::MembersController#index as HTML 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"."organism_id" = 1  (0.2ms) SHOW max_identifier_length  (3.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 1 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1  (1.1ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 2 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 2 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 3 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 3 LIMIT 1  (0.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 4 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 5 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 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 110ms (Views: 91.9ms | ActiveRecord: 10.6ms) Started GET "/assets/adherent/icones/card-address.png" for 127.0.0.1 at 2013-08-30 10:16:24 +0200 Served asset /adherent/icones/card-address.png - 200 OK (14ms) Started GET "/assets/adherent/icones/bandaid.png" for 127.0.0.1 at 2013-08-30 10:16:24 +0200 Served asset /adherent/icones/bandaid.png - 200 OK (40ms) Started DELETE "/adherent/members/1" for 127.0.0.1 at 2013-08-30 10:16:25 +0200 Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1"} Organism Load (4.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", "1"]]  (0.1ms) BEGIN Adherent::Coord Load (1.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1 SQL (2.1ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 1]]  (195.6ms) COMMIT Redirected to http://127.0.0.1:59331/adherent/members Completed 302 Found in 231ms (ActiveRecord: 203.5ms) Started GET "/adherent/members" for 127.0.0.1 at 2013-08-30 10:16:25 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.0ms) 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"."organism_id" = 1  (8.1ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 2 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 2 LIMIT 1  (3.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 3 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 3 LIMIT 1  (0.9ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 4 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 5 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 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 55ms (Views: 30.9ms | ActiveRecord: 15.8ms)  (0.6ms) SELECT COUNT(*) FROM "adherent_members"  (12.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL  (2326.6ms) TRUNCATE TABLE "adherent_adhesions", "adherent_coords", "adherent_members", "adherent_payments", "adherent_reglements", "organisms" RESTART IDENTITY CASCADE;  (0.7ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL Connecting to database specified by database.yml  (0.1ms) BEGIN Adherent::Member Exists (78.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  (1.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 (4.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.4ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (5.5ms) 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.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (187.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", Tue, 06 Jun 1944], ["created_at", Fri, 30 Aug 2013 15:54:46 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:54:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' 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", Fri, 30 Aug 2013 15:54:46 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:54:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (1.2ms) 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.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", Fri, 30 Aug 2013 15:54:46 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:54:46 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Adhesion Load (23.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) 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.2ms) ROLLBACK  (4.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.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) 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", Fri, 30 Aug 2013 15:54:47 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:54:47 UTC +00:00]]  (1.8ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (2.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date DESC LIMIT 1  (2.8ms) SAVEPOINT active_record_1 SQL (154.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", #], ["created_at", Fri, 30 Aug 2013 15:54:47 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 4], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:47 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" = 4 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date DESC LIMIT 1  (5.5ms) ROLLBACK  (0.0ms) 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.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", Fri, 30 Aug 2013 15:54:47 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:54:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 Adherent::Adhesion Load (3.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Fri, 30 Aug 2013 15:54:47 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 5], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (4.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 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 (7.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", Fri, 30 Aug 2013 15:54:47 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:54:47 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" = 6 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 6 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (5.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", #], ["created_at", Fri, 30 Aug 2013 15:54:47 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 6], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:47 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" = 6 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 6 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (5.7ms) 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 (120.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:47 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:47 UTC +00:00]]  (0.1ms) RELEASE 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" = 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" = 'Adh000' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (28.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", Fri, 30 Aug 2013 15:54:47 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:54:47 UTC +00:00]]  (0.1ms) RELEASE 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  (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" = 1) 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", Fri, 30 Aug 2013 15:54:47 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:54:47 UTC +00:00]]  (0.1ms) RELEASE 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" = 1) LIMIT 1  (3.2ms) 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" = 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", Fri, 30 Aug 2013 15:54:47 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:54:47 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (3.0ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.3ms) 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  (4.4ms) SAVEPOINT active_record_1 SQL (50.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:47 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 7], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:47 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (43.2ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 7 Started GET "/adherent/members/7/payments/new" for 127.0.0.1 at 2013-08-30 17:54:48 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"7"} Organism Load (7.9ms) 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", "7"]] Adherent::Adhesion Load (53.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 7 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (5.4ms) 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 (173.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/new.html.erb within layouts/adherent/application (204.4ms) Rendered layouts/adherent/_header.html.haml (5.9ms) 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.2ms) Completed 200 OK in 367ms (Views: 260.5ms | ActiveRecord: 69.2ms) Started POST "/adherent/members/7/payments" for 127.0.0.1 at 2013-08-30 17:54:48 +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 (7.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", "7"]]  (2.8ms) SAVEPOINT active_record_1 SQL (63.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:48 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 7], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:54:48 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 7 LIMIT 1 Adherent::Adhesion Load (3.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 7 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 4 SQL (69.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:48 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 15:54:48 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/7/payments Completed 302 Found in 219ms (ActiveRecord: 148.2ms) Started GET "/adherent/members/7/payments" for 127.0.0.1 at 2013-08-30 17:54:48 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"7"} Organism Load (6.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", "7"]] Adherent::Payment Load (0.5ms) 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" = 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 4 LIMIT 1 Adherent::Member Load (3.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 7 LIMIT 1 Adherent::Reglement Load (2.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1 Adherent::Reglement Load (2.8ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 7 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (44.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/index.html.haml within layouts/adherent/application (64.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 77ms (Views: 57.4ms | ActiveRecord: 17.3ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 7  (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 (3.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:48 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:48 UTC +00:00]]  (0.1ms) RELEASE 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" = 2) LIMIT 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" = 2) LIMIT 1 SQL (3.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", Fri, 30 Aug 2013 15:54:48 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 2], ["updated_at", Fri, 30 Aug 2013 15:54:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 2) LIMIT 1  (0.3ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 2) 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", Fri, 30 Aug 2013 15:54:48 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 2], ["updated_at", Fri, 30 Aug 2013 15:54:48 UTC +00:00]]  (0.1ms) RELEASE 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" = 2) LIMIT 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" = 2) LIMIT 1 SQL (1.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", Fri, 30 Aug 2013 15:54:48 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 2], ["updated_at", Fri, 30 Aug 2013 15:54:48 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (3.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 10 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 10 ORDER BY to_date DESC LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (4.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", #], ["created_at", Fri, 30 Aug 2013 15:54:48 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 10], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:48 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/10/payments/new" for 127.0.0.1 at 2013-08-30 17:54:48 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"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"]] Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 10 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (3.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 5 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (15.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 28ms (Views: 18.4ms | ActiveRecord: 4.9ms) Started POST "/adherent/members/10/payments" for 127.0.0.1 at 2013-08-30 17:54:49 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"10"} Organism Load (4.3ms) 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", "10"]]  (0.1ms) SAVEPOINT active_record_1 SQL (2.0ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 10], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00]] Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 10 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 10 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (5.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 5 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", 5], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00], ["payment_id", 2], ["updated_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/10/payments Completed 302 Found in 31ms (ActiveRecord: 14.6ms) Started GET "/adherent/members/10/payments" for 127.0.0.1 at 2013-08-30 17:54:49 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"10"} Organism Load (5.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", "10"]] Adherent::Payment Load (4.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 10 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 2 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 5 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 10 LIMIT 1 Adherent::Reglement Load (5.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 2  (0.4ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 10 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (15.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 32ms (Views: 13.3ms | ActiveRecord: 17.0ms)  (0.2ms) SHOW max_identifier_length  (1.0ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 10 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) ROLLBACK  (4.7ms) BEGIN  (1.4ms) 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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (5.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 3) LIMIT 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" = 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", Fri, 30 Aug 2013 15:54:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 3], ["updated_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00]]  (0.1ms) RELEASE 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" = 3) LIMIT 1  (0.4ms) 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" = 3) 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", Fri, 30 Aug 2013 15:54:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 3], ["updated_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 3) LIMIT 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" = 3) LIMIT 1 SQL (2.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", Fri, 30 Aug 2013 15:54:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 3], ["updated_at", Fri, 30 Aug 2013 15:54:49 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 (4.6ms) 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.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", #], ["created_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 13], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  Started GET "/adherent/members/13/payments/new" for 127.0.0.1 at 2013-08-30 17:54:49 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"13"} Organism Load (3.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (9.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "13"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 13 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) 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/payments/_form.html.haml (10.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 134ms (Views: 17.9ms | ActiveRecord: 14.1ms) Started POST "/adherent/members/13/payments" for 127.0.0.1 at 2013-08-30 17:54:49 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"13"} Organism Load (6.8ms) 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", "13"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 13], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 13 LIMIT 1 Adherent::Adhesion Load (3.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 13 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 6 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", 6], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00], ["payment_id", 3], ["updated_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/13/payments Completed 302 Found in 27ms (ActiveRecord: 12.7ms) Started GET "/adherent/members/13/payments" for 127.0.0.1 at 2013-08-30 17:54:49 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"13"} Organism Load (3.8ms) 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", "13"]] Adherent::Payment Load (3.9ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 13 Adherent::Reglement Load (5.0ms) 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" = 6 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 13 LIMIT 1 Adherent::Reglement Load (5.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 3  (0.3ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 13 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (19.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 35ms (Views: 12.6ms | ActiveRecord: 19.5ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (5.8ms) BEGIN 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", Fri, 30 Aug 2013 15:54:49 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00]]  (0.1ms) RELEASE 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" = 4) LIMIT 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" = 4) LIMIT 1 SQL (4.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", Fri, 30 Aug 2013 15:54:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 4], ["updated_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00]]  (0.1ms) RELEASE 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  (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" = 4) 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", Fri, 30 Aug 2013 15:54:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 4], ["updated_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00]]  (0.1ms) RELEASE 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" = 4) LIMIT 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" = 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", Fri, 30 Aug 2013 15:54:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 4], ["updated_at", Fri, 30 Aug 2013 15:54:49 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.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 16 Adherent::Adhesion Load (0.4ms) 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 (2.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", #], ["created_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 16], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00]]  (3.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/16/payments/new" for 127.0.0.1 at 2013-08-30 17:54:49 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"16"} Organism Load (3.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", "16"]] Adherent::Adhesion Load (4.0ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 16 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) 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 (14.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 35ms (Views: 18.1ms | ActiveRecord: 8.0ms) Started POST "/adherent/members/16/payments" for 127.0.0.1 at 2013-08-30 17:54:49 +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.0ms) SAVEPOINT active_record_1 SQL (35.4ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 16], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00]] Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 16 LIMIT 1 Adherent::Adhesion Load (1.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 16 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 7 SQL (4.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00], ["payment_id", 4], ["updated_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/16/payments Completed 302 Found in 57ms (ActiveRecord: 42.7ms) Started GET "/adherent/members/16/payments" for 127.0.0.1 at 2013-08-30 17:54:49 +0200 Processing by Adherent::PaymentsController#index 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::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 16 Adherent::Reglement Load (4.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 7 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 16 LIMIT 1 Adherent::Reglement Load (5.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4  (0.3ms) 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 CACHE (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 16 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (19.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 34ms (Views: 20.6ms | ActiveRecord: 11.5ms) 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 (5.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 17 Adherent::Adhesion Load (0.4ms) 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.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", #], ["created_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 17], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:49 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" = 18 Adherent::Adhesion Load (2.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 18 ORDER BY to_date DESC LIMIT 1  (5.8ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 18], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:49 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-30 17:54:49 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"4"} Organism Load (10.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.5ms) 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" = 16 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 (4.8ms) 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::Adhesion Load (5.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 17 LIMIT 1  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8 Adherent::Member Load (7.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 18 LIMIT 1  (0.3ms) 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 (32.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 90ms (Views: 54.5ms | ActiveRecord: 30.5ms) Adherent::Adhesion Load (6.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 16 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date 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::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.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  (5.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", Fri, 30 Aug 2013 15:54:49 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00]]  (0.1ms) RELEASE 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" = 5) LIMIT 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" = 5) LIMIT 1 SQL (2.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", Fri, 30 Aug 2013 15:54:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 5], ["updated_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 5) LIMIT 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" = 5) LIMIT 1 SQL (3.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", Fri, 30 Aug 2013 15:54:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 5], ["updated_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00]]  (0.1ms) RELEASE 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" = 5) LIMIT 1  (4.4ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 5) 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", Fri, 30 Aug 2013 15:54:49 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 5], ["updated_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (4.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 19 Adherent::Adhesion Load (0.4ms) 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.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", #], ["created_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 19], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00]]  (3.5ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/19/payments/new" for 127.0.0.1 at 2013-08-30 17:54:49 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"19"} Organism Load (3.6ms) 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", "19"]] Adherent::Adhesion Load (6.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 19 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.8ms) 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 (11.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 39ms (Views: 23.1ms | ActiveRecord: 10.6ms) Started POST "/adherent/members/19/payments" for 127.0.0.1 at 2013-08-30 17:54:49 +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 (5.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.4ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 19], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 19 LIMIT 1 Adherent::Adhesion Load (4.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 19 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 10 SQL (2.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00], ["payment_id", 5], ["updated_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00]]  (4.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/19/payments Completed 302 Found in 27ms (ActiveRecord: 17.4ms) Started GET "/adherent/members/19/payments" for 127.0.0.1 at 2013-08-30 17:54:49 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"19"} Organism Load (1.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (4.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "19"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 19 Adherent::Reglement Load (3.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 5 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 10 LIMIT 1 Adherent::Member Load (5.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 19 LIMIT 1 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 5  (0.2ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 19 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (18.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 32ms (Views: 13.8ms | ActiveRecord: 16.2ms) Adherent::Payment Load (3.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 (4.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 20], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 21 Adherent::Adhesion Load (6.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 21], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:49 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-30 17:54:49 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"5"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (3.8ms) 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" = 19 LIMIT 1 Adherent::Reglement Load (1.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 5  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 5 Adherent::Reglement Load (4.6ms) 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::Adhesion Load (5.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 20 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 11 Adherent::Member Load (1.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 21 LIMIT 1  (3.9ms) 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 (21.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 44ms (Views: 14.9ms | ActiveRecord: 22.2ms)  (0.2ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:49 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (5.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 6) LIMIT 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.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", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 6], ["updated_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00]]  (0.1ms) RELEASE 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  (2.6ms) 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" = 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", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 6], ["updated_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (6.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 6) LIMIT 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" = 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", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 6], ["updated_at", Fri, 30 Aug 2013 15:54:50 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" = 22 Adherent::Adhesion Load (6.5ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 22], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/22/payments/new" for 127.0.0.1 at 2013-08-30 17:54:50 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"22"} Organism Load (4.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 (3.0ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 22 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) 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 (10.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 37ms (Views: 21.8ms | ActiveRecord: 7.8ms) Started POST "/adherent/members/22/payments" for 127.0.0.1 at 2013-08-30 17:54:50 +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 (8.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", #], ["created_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 22], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00]] Adherent::Member Load (6.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 22 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 22 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["payment_id", 6], ["updated_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/22/payments Completed 302 Found in 28ms (ActiveRecord: 17.6ms) Started GET "/adherent/members/22/payments" for 127.0.0.1 at 2013-08-30 17:54:50 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"22"} Organism Load (5.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 (6.8ms) 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" = 6 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 13 LIMIT 1 Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 22 LIMIT 1 Adherent::Reglement Load (4.9ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 6  (8.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 6 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 22 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (133.4ms) 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 152ms (Views: 122.3ms | ActiveRecord: 28.1ms) Adherent::Payment Load (5.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 22 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 23 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 23 ORDER BY to_date DESC LIMIT 1  (2.5ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 23], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00]]  (5.0ms) 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.2ms) 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 (4.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", #], ["created_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 24], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:50 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-30 17:54:50 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"6"} Organism Load (3.1ms) 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 (5.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 22 LIMIT 1 Adherent::Reglement Load (0.3ms) 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.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::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 24 LIMIT 1  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 15 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 23 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 14 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (23.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 42ms (Views: 26.0ms | ActiveRecord: 11.8ms)  (5.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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (3.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 7) LIMIT 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" = 7) 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", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 7], ["updated_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 7) LIMIT 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 (6.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", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 7], ["updated_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 7) LIMIT 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" = 7) 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", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 7], ["updated_at", Fri, 30 Aug 2013 15:54:50 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" = 25 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 25 ORDER BY to_date DESC LIMIT 1  (1.3ms) SAVEPOINT active_record_1 SQL (4.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", #], ["created_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 25], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/25/payments/new" for 127.0.0.1 at 2013-08-30 17:54:50 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"25"} Organism Load (4.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 (4.0ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 25 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) 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 (10.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 28ms (Views: 14.1ms | ActiveRecord: 8.9ms) Started POST "/adherent/members/25/payments" for 127.0.0.1 at 2013-08-30 17:54:50 +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 (3.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (3.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "25"]]  (0.7ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 25], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00]] Adherent::Member Load (5.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 25 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 25 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 16 SQL (1.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["payment_id", 7], ["updated_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00]]  (4.9ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/25/payments Completed 302 Found in 32ms (ActiveRecord: 21.1ms) Started GET "/adherent/members/25/payments" for 127.0.0.1 at 2013-08-30 17:54:50 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"25"} Organism Load (3.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"]] Adherent::Payment Load (0.1ms) 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" = 7 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 16 LIMIT 1 Adherent::Member Load (2.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 25 LIMIT 1 Adherent::Reglement Load (2.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 7  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 7 Adherent::Reglement Load (6.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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 25 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (21.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 36ms (Views: 18.5ms | ActiveRecord: 16.2ms) Adherent::Payment Load (3.6ms) 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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 26 ORDER BY to_date DESC LIMIT 1  (3.5ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 26], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:50 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 (4.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 27], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00]]  (1.8ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/7/reglements/new" for 127.0.0.1 at 2013-08-30 17:54:50 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"7"} Organism Load (4.5ms) 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", "7"]] Adherent::Member Load (2.6ms) 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" = 7  (4.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 Adherent::Adhesion Load (6.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 26 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 17 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 27 LIMIT 1  (2.1ms) 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 (20.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 42ms (Views: 15.4ms | ActiveRecord: 21.4ms)  (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 (5.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 8) LIMIT 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" = 8) 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", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 8], ["updated_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00]]  (4.8ms) RELEASE 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  (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" = 8) 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", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 8], ["updated_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 8) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 8) LIMIT 1 SQL (6.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", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 8], ["updated_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.6ms) 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 (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", #], ["created_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 28], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/28/payments/new" for 127.0.0.1 at 2013-08-30 17:54:50 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"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"]] Adherent::Adhesion Load (5.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 28 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.4ms) 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 (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 38ms (Views: 21.1ms | ActiveRecord: 6.2ms) Started POST "/adherent/members/28/payments" for 127.0.0.1 at 2013-08-30 17:54:50 +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 (1.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "28"]]  (1.8ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 28], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00]] Adherent::Member Load (2.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 28 LIMIT 1 Adherent::Adhesion Load (2.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 28 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (1.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 19 SQL (3.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", #], ["created_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["payment_id", 8], ["updated_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/28/payments Completed 302 Found in 30ms (ActiveRecord: 16.6ms) Started GET "/adherent/members/28/payments" for 127.0.0.1 at 2013-08-30 17:54:50 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"28"} Organism Load (4.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.5ms) 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.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 19 LIMIT 1 Adherent::Member Load (0.5ms) 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" = 8  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8 Adherent::Reglement Load (0.8ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 28 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (14.7ms) Rendered layouts/adherent/_header.html.haml (4.9ms) 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 38ms (Views: 26.1ms | ActiveRecord: 8.8ms) Adherent::Payment Load (3.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 28 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 29 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 29 ORDER BY to_date DESC LIMIT 1  (2.0ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 29], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (5.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 30 Adherent::Adhesion Load (0.7ms) 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 (6.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", #], ["created_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 30], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/8/reglements/new" for 127.0.0.1 at 2013-08-30 17:54:50 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"8"} Organism Load (5.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.5ms) 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" = 28 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::Reglement Load (0.4ms) 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::Adhesion Load (6.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 29 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20 Adherent::Member Load (2.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 30 LIMIT 1  (0.3ms) 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 (22.5ms) Rendered layouts/adherent/_header.html.haml (0.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (1.6ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 48ms (Views: 26.9ms | ActiveRecord: 16.8ms) Started POST "/adherent/payments/8/reglements" for 127.0.0.1 at 2013-08-30 17:54:50 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"20"}, "commit"=>"Enregistrer", "payment_id"=>"8"} Organism Load (2.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (2.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "8"]] Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "20"]] Adherent::Reglement Load (1.8ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8  (1.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20  (0.1ms) SAVEPOINT active_record_1 SQL (3.4ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["payment_id", 8], ["updated_at", Fri, 30 Aug 2013 15:54:50 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 22ms (ActiveRecord: 12.8ms) Started GET "/adherent/members/28/payments" for 127.0.0.1 at 2013-08-30 17:54:50 +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 (2.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "28"]] Adherent::Payment Load (1.9ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 28 Adherent::Reglement Load (6.0ms) 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" = 19 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 28 LIMIT 1 Adherent::Adhesion Load (3.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 20 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 29 LIMIT 1 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 Adherent::Reglement Load (0.4ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 28 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (28.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 39ms (Views: 22.1ms | ActiveRecord: 15.9ms)  (0.4ms) 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 (5.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 9) LIMIT 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" = 9) 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", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 9], ["updated_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (5.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 9) LIMIT 1  (0.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" = 9) 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", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 9], ["updated_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00]]  (0.1ms) RELEASE 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" = 9) LIMIT 1  (0.0ms) 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" = 9) LIMIT 1 SQL (4.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", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 9], ["updated_at", Fri, 30 Aug 2013 15:54:50 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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 31 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 31 ORDER BY to_date DESC LIMIT 1  (4.7ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 31], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:50 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/31/payments/new" for 127.0.0.1 at 2013-08-30 17:54:50 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"31"} Organism Load (6.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", "31"]] Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 31 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (3.6ms) 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 (14.8ms) 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 34ms (Views: 18.4ms | ActiveRecord: 10.7ms) Started POST "/adherent/members/31/payments" for 127.0.0.1 at 2013-08-30 17:54:51 +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 (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (5.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "31"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 31], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 31 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 31 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00], ["payment_id", 9], ["updated_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00]]  (6.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/31/payments Completed 302 Found in 28ms (ActiveRecord: 15.4ms) Started GET "/adherent/members/31/payments" for 127.0.0.1 at 2013-08-30 17:54:51 +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 (6.8ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9 Adherent::Adhesion Load (0.4ms) 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" = 31 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 31 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (16.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 27ms (Views: 16.7ms | ActiveRecord: 9.1ms) Adherent::Payment Load (6.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 31 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (5.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 32 Adherent::Adhesion Load (0.4ms) 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 (4.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", #], ["created_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 32], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (17.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 33 Adherent::Adhesion Load (7.7ms) 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.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", #], ["created_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 33], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:51 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-30 17:54:51 +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 (1.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "9"]] Adherent::Member Load (6.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 31 LIMIT 1 Adherent::Reglement Load (0.4ms) 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.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::Adhesion Load (1.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (2.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 32 LIMIT 1  (5.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 33 LIMIT 1  (0.2ms) 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 (25.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 46ms (Views: 21.2ms | ActiveRecord: 18.8ms) Started POST "/adherent/payments/9/reglements" for 127.0.0.1 at 2013-08-30 17:54:51 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"23"}, "commit"=>"Enregistrer", "payment_id"=>"9"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (7.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "9"]] Adherent::Adhesion Load (0.3ms) 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" = 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" = 23  (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", 23], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00], ["payment_id", 9], ["updated_at", Fri, 30 Aug 2013 15:54:51 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" = 31 LIMIT 1 Redirected to http://www.example.com/adherent/members/31/payments Completed 302 Found in 16ms (ActiveRecord: 9.5ms) Started GET "/adherent/members/31/payments" for 127.0.0.1 at 2013-08-30 17:54:51 +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.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "31"]] Adherent::Payment Load (0.4ms) 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" = 9 Adherent::Adhesion Load (3.7ms) 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" = 31 LIMIT 1 Adherent::Adhesion Load (8.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 23 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 32 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::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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 31 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (24.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 39ms (Views: 22.1ms | ActiveRecord: 15.3ms) Adherent::Reglement Load (4.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" ORDER BY "adherent_reglements"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 23 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 32 LIMIT 1  (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 (0.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 10) LIMIT 1  (4.5ms) 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", Fri, 30 Aug 2013 15:54:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 10], ["updated_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00]]  (0.1ms) RELEASE 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  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 10) 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", Fri, 30 Aug 2013 15:54:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 10], ["updated_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (7.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 10) LIMIT 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.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", Fri, 30 Aug 2013 15:54:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 10], ["updated_at", Fri, 30 Aug 2013 15:54:51 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" = 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 (1.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", #], ["created_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 34], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:51 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-30 17:54:51 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"34"} Organism Load (0.5ms) 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"."id" = $1 LIMIT 1 [["id", "34"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 34 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) 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 (13.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 32ms (Views: 21.1ms | ActiveRecord: 5.8ms) Started POST "/adherent/members/34/payments" for 127.0.0.1 at 2013-08-30 17:54:51 +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 (5.0ms) 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"]]  (0.1ms) SAVEPOINT active_record_1 SQL (5.3ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 34], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 34 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 34 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 25 SQL (3.6ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00], ["payment_id", 10], ["updated_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/34/payments Completed 302 Found in 25ms (ActiveRecord: 15.5ms) Started GET "/adherent/members/34/payments" for 127.0.0.1 at 2013-08-30 17:54:51 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"34"} Organism Load (5.9ms) 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 (2.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 34 Adherent::Reglement Load (5.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10 Adherent::Adhesion Load (0.4ms) 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" = 34 LIMIT 1 Adherent::Reglement Load (3.4ms) 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.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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 34 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (20.7ms) 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 44ms (Views: 23.9ms | ActiveRecord: 18.1ms) Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 34 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 Adherent::Adhesion Load (4.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 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", #], ["created_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 35], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00]]  (2.6ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (2.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 36 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 36 ORDER BY to_date DESC LIMIT 1  (4.6ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 36], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:51 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-30 17:54:51 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"10"} Organism Load (3.0ms) 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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 34 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 (1.6ms) 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::Adhesion Load (7.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 35 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 26 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 36 LIMIT 1  (0.3ms) 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 (27.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 48ms (Views: 24.2ms | ActiveRecord: 13.7ms) Started POST "/adherent/payments/10/reglements" for 127.0.0.1 at 2013-08-30 17:54:51 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"26"}, "commit"=>"Enregistrer", "payment_id"=>"10"} Organism Load (0.8ms) 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::Adhesion Load (0.2ms) 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" = 10  (2.9ms) 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" = 26  (2.8ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00], ["payment_id", 10], ["updated_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00]]  (2.8ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) 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 19ms (ActiveRecord: 11.1ms) Started GET "/adherent/members/34/payments" for 127.0.0.1 at 2013-08-30 17:54:51 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"34"} Organism Load (7.7ms) 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"]] Adherent::Payment Load (1.9ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 34 Adherent::Reglement Load (6.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10 Adherent::Adhesion Load (0.4ms) 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" = 34 LIMIT 1 Adherent::Adhesion Load (4.0ms) 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" = 35 LIMIT 1 Adherent::Reglement Load (0.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10  (2.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 10 Adherent::Reglement Load (1.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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 34 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (32.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 50ms (Views: 22.3ms | ActiveRecord: 25.9ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 25 LIMIT 1 Adherent::Member Load (1.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 34 LIMIT 1  (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", Fri, 30 Aug 2013 15:54:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00]]  (0.0ms) RELEASE 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" = 11) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.1ms) 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", Fri, 30 Aug 2013 15:54:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 11], ["updated_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 11) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' 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", Fri, 30 Aug 2013 15:54:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 11], ["updated_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00]]  (0.1ms) RELEASE 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" = 11) LIMIT 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" = 11) 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", Fri, 30 Aug 2013 15:54:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 11], ["updated_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (3.5ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 37 Adherent::Adhesion Load (0.3ms) 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 (5.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", #], ["created_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 37], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:51 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-30 17:54:51 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"37"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (3.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "37"]] Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 37 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.6ms) 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 (14.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 35ms (Views: 21.3ms | ActiveRecord: 5.3ms) Started POST "/adherent/members/37/payments" for 127.0.0.1 at 2013-08-30 17:54:51 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"37"} Organism Load (3.3ms) 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", "37"]]  (2.9ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 37], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 37 LIMIT 1 Adherent::Adhesion Load (1.0ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 37 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 28 SQL (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00], ["payment_id", 11], ["updated_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/37/payments Completed 302 Found in 26ms (ActiveRecord: 9.1ms) Started GET "/adherent/members/37/payments" for 127.0.0.1 at 2013-08-30 17:54:51 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"37"} 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", "37"]] Adherent::Payment Load (5.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 37 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" = 28 LIMIT 1 Adherent::Member Load (6.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 37 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.1ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 37 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (15.7ms) 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 34ms (Views: 18.7ms | ActiveRecord: 13.1ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 37 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (3.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 38 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 38 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", #], ["created_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 38], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00]]  (4.8ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39 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", #], ["created_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 39], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00]]  (6.3ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/11/reglements/new" for 127.0.0.1 at 2013-08-30 17:54:51 +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.2ms) 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" = 11  (2.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11 Adherent::Reglement Load (2.0ms) 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::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 39 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 30 Adherent::Member Load (4.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 38 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 29 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (21.6ms) 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 41ms (Views: 25.5ms | ActiveRecord: 11.9ms) Started POST "/adherent/payments/11/reglements" for 127.0.0.1 at 2013-08-30 17:54:51 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"29"}, "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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "29"]] Adherent::Reglement Load (4.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11  (1.0ms) 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" = 29  (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", 29], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00], ["payment_id", 11], ["updated_at", Fri, 30 Aug 2013 15:54:51 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (2.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 37 LIMIT 1 Redirected to http://www.example.com/adherent/members/37/payments Completed 302 Found in 16ms (ActiveRecord: 9.4ms) Started GET "/adherent/members/37/payments" for 127.0.0.1 at 2013-08-30 17:54:51 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"37"} Organism Load (5.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", "37"]] Adherent::Payment Load (5.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 37 Adherent::Reglement Load (0.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 28 LIMIT 1 Adherent::Member Load (6.5ms) 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"."id" = 29 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 38 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 37 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (18.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 35ms (Views: 14.3ms | ActiveRecord: 19.4ms) Adherent::Adhesion Load (5.0ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 38 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (5.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 29  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 12) LIMIT 1  (0.1ms) 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" = 12) 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", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 12], ["updated_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 12) LIMIT 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" = 12) 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", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 12], ["updated_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00]]  (1.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (4.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 12) LIMIT 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" = 12) 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", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 12], ["updated_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (3.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 40 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 40 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.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", #], ["created_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 40], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/40/payments/new" for 127.0.0.1 at 2013-08-30 17:54:52 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"40"} Organism Load (4.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", "40"]] Adherent::Adhesion Load (1.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 40 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (2.4ms) 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 (127.6ms) 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 150ms (Views: 135.4ms | ActiveRecord: 9.1ms) Started POST "/adherent/members/40/payments" for 127.0.0.1 at 2013-08-30 17:54:52 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"40"} 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", "40"]]  (0.1ms) SAVEPOINT active_record_1 SQL (3.8ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 40], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00]] Adherent::Member Load (2.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 40 LIMIT 1 Adherent::Adhesion Load (5.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 40 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 31 SQL (15.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["payment_id", 12], ["updated_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/40/payments Completed 302 Found in 38ms (ActiveRecord: 28.3ms) Started GET "/adherent/members/40/payments" for 127.0.0.1 at 2013-08-30 17:54:52 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"40"} Organism Load (7.0ms) 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"]] Adherent::Payment Load (6.1ms) 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" = 12 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 31 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 40 LIMIT 1 Adherent::Reglement Load (5.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12 Adherent::Reglement Load (0.2ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 40 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (14.8ms) 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 43ms (Views: 20.7ms | ActiveRecord: 20.2ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 40 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 41 Adherent::Adhesion Load (6.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 41 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", #], ["created_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 41], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:52 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" = 42 Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 42 ORDER BY to_date DESC LIMIT 1  (2.1ms) SAVEPOINT active_record_1 SQL (4.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", #], ["created_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 42], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:52 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-30 17:54:52 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"12"} Organism Load (3.0ms) 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", "12"]] Adherent::Member Load (4.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 40 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.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 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 42 LIMIT 1  (3.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 33 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 41 LIMIT 1  (0.2ms) 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/reglements/_form.html.haml (16.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 41ms (Views: 22.4ms | ActiveRecord: 13.6ms) Started POST "/adherent/payments/12/reglements" for 127.0.0.1 at 2013-08-30 17:54:52 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"32"}, "commit"=>"Enregistrer", "payment_id"=>"12"} 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", "12"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "32"]] 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" = 32  (0.1ms) SAVEPOINT active_record_1 SQL (5.8ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["payment_id", 12], ["updated_at", Fri, 30 Aug 2013 15:54:52 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" = 40 LIMIT 1 Redirected to http://www.example.com/adherent/members/40/payments Completed 302 Found in 21ms (ActiveRecord: 7.6ms) Started GET "/adherent/members/40/payments" for 127.0.0.1 at 2013-08-30 17:54:52 +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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "40"]] Adherent::Payment Load (0.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 40 Adherent::Reglement Load (1.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12 Adherent::Adhesion Load (3.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 31 LIMIT 1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 40 LIMIT 1 Adherent::Adhesion Load (5.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 32 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 41 LIMIT 1 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 Adherent::Reglement Load (0.8ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 40 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (22.6ms) 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 41ms (Views: 25.6ms | ActiveRecord: 13.8ms) Adherent::Reglement Load (1.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements"  (0.1ms) ROLLBACK  (0.3ms) BEGIN  (0.1ms) COMMIT  (2.4ms) 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", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 13) LIMIT 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" = 13) 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", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 13], ["updated_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (3.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 13) LIMIT 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 (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", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 13], ["updated_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 13) LIMIT 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" = 13) 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", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 13], ["updated_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (2.3ms) 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  (1.9ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 43], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00]]  (1.6ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/43/payments/new" for 127.0.0.1 at 2013-08-30 17:54:52 +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.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 43 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) 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 (9.1ms) 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 24ms (Views: 18.7ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/43/payments" for 127.0.0.1 at 2013-08-30 17:54:52 +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 (4.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", "43"]]  (1.9ms) SAVEPOINT active_record_1 SQL (2.3ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 43], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 43 LIMIT 1 Adherent::Adhesion Load (3.0ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 43 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (4.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 34 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", 34], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["payment_id", 13], ["updated_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/43/payments Completed 302 Found in 29ms (ActiveRecord: 16.8ms) Started GET "/adherent/members/43/payments" for 127.0.0.1 at 2013-08-30 17:54:52 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"43"} Organism Load (7.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (3.6ms) 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 (3.8ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 13 Adherent::Adhesion Load (2.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 34 LIMIT 1 Adherent::Member Load (2.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 43 LIMIT 1 Adherent::Reglement Load (0.8ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 13  (1.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 13 Adherent::Reglement Load (1.6ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 43 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (27.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 45ms (Views: 18.8ms | ActiveRecord: 23.8ms)  (3.2ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 43 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) ROLLBACK  (0.5ms) BEGIN  (0.1ms) COMMIT  (0.5ms) BEGIN Organism Load (4.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) 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", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 14) LIMIT 1  (1.6ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 14) 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", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 14], ["updated_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 14) LIMIT 1  (0.9ms) 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.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", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 14], ["updated_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 14) LIMIT 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.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", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 14], ["updated_at", Fri, 30 Aug 2013 15:54:52 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" = 46 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 46 ORDER BY to_date DESC LIMIT 1  (1.1ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 46], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/46/payments/new" for 127.0.0.1 at 2013-08-30 17:54:52 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"46"} Organism Load (3.8ms) 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::Adhesion Load (2.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 46 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (1.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 35 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (13.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 34ms (Views: 17.2ms | ActiveRecord: 8.3ms) Started POST "/adherent/members/46/payments" for 127.0.0.1 at 2013-08-30 17:54:52 +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 (2.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "46"]]  (0.1ms) SAVEPOINT active_record_1 SQL (3.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 46], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00]] Adherent::Member Load (1.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 46 LIMIT 1 Adherent::Adhesion Load (8.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 46 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 35 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", 35], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["payment_id", 14], ["updated_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/46/payments Completed 302 Found in 27ms (ActiveRecord: 16.4ms) Started GET "/adherent/members/46/payments" for 127.0.0.1 at 2013-08-30 17:54:52 +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 (4.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 46 Adherent::Reglement Load (5.8ms) 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" = 35 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" = 14  (0.1ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 46 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (15.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 30ms (Views: 12.9ms | ActiveRecord: 11.6ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 46 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 14  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 14  (0.1ms) ROLLBACK  (3.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.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 15) LIMIT 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" = 15) LIMIT 1 SQL (2.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", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 15], ["updated_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00]]  (0.1ms) RELEASE 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" = 15) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 15) 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", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 15], ["updated_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (6.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 15) LIMIT 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" = 15) 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", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 15], ["updated_at", Fri, 30 Aug 2013 15:54:52 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" = 49 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 49 ORDER BY to_date DESC LIMIT 1  (4.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 49], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/49/payments/new" for 127.0.0.1 at 2013-08-30 17:54:52 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"49"} Organism Load (5.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", "49"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 49 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 26ms (Views: 14.3ms | ActiveRecord: 6.7ms) Started POST "/adherent/members/49/payments" for 127.0.0.1 at 2013-08-30 17:54:52 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"49"} Organism Load (5.8ms) 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", "49"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 49], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:54:52 UTC +00:00]] Adherent::Member Load (3.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 49 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 49 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36 SQL (4.9ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["payment_id", 15], ["updated_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/49/payments Completed 302 Found in 27ms (ActiveRecord: 16.4ms) Started GET "/adherent/members/49/payments" for 127.0.0.1 at 2013-08-30 17:54:53 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"49"} 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", "49"]] Adherent::Payment Load (3.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 49 Adherent::Reglement Load (5.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 15 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 36 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 49 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 15  (7.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 15 Adherent::Reglement Load (0.4ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 49 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (22.1ms) Rendered layouts/adherent/_header.html.haml (0.4ms) 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: 13.8ms | ActiveRecord: 18.2ms)  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 49 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (1.6ms) 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", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00]]  (0.1ms) RELEASE 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" = 16) LIMIT 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" = 16) LIMIT 1 SQL (4.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", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 16], ["updated_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00]]  (0.2ms) RELEASE 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" = 16) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (109.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 16) 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", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 16], ["updated_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (6.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 16) LIMIT 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.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", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 16], ["updated_at", Fri, 30 Aug 2013 15:54:53 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" = 52 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 52 ORDER BY to_date DESC LIMIT 1  (3.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", #], ["created_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 52], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00]]  (1.5ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/52/payments/new" for 127.0.0.1 at 2013-08-30 17:54:53 +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 (4.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "52"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 52 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (7.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (14.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 36ms (Views: 18.2ms | ActiveRecord: 12.3ms) Started POST "/adherent/members/52/payments" for 127.0.0.1 at 2013-08-30 17:54:53 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"52"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (5.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "52"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 52], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 52 LIMIT 1 Adherent::Adhesion Load (6.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 52 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37 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", #], ["created_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["payment_id", 16], ["updated_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/52/payments Completed 302 Found in 26ms (ActiveRecord: 14.5ms) Started GET "/adherent/members/52/payments" for 127.0.0.1 at 2013-08-30 17:54:53 +0200 Processing by Adherent::PaymentsController#index 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::Payment Load (5.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 52 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 16 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 37 LIMIT 1 Adherent::Member Load (4.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 52 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 52 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (14.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 27ms (Views: 12.8ms | ActiveRecord: 12.6ms) Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 52 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (5.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37  (0.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  (3.4ms) SAVEPOINT active_record_1 SQL (12.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (4.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 17 Completed 200 OK in 31ms (Views: 2.1ms | ActiveRecord: 20.5ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (2.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 0.9ms | ActiveRecord: 7.2ms)  (0.1ms) ROLLBACK  (0.2ms) 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.4ms) 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", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (3.8ms) 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" = 19) 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", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 19], ["updated_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/55/coord/new Completed 302 Found in 16ms (ActiveRecord: 5.8ms)  (2.9ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001", "birthdate"=>"06/06/1955"}} Organism Load (0.3ms) 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", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.5ms) SAVEPOINT active_record_1 Adherent::Member Exists (7.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 20) 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", Mon, 06 Jun 1955], ["created_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 20], ["updated_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/56/coord/new Completed 302 Found in 20ms (ActiveRecord: 12.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (2.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.2ms) SAVEPOINT active_record_1 SQL (4.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 22ms (Views: 9.4ms | ActiveRecord: 8.5ms)  (0.2ms) 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 (12.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:53 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" = 'A001' AND "adherent_members"."organism_id" = 22) 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", nil], ["created_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 22], ["updated_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/57/coord/new Completed 302 Found in 24ms (ActiveRecord: 16.0ms)  (5.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} 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", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 4.1ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} Organism Load (2.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", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00]]  (2.6ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 1.1ms | ActiveRecord: 5.5ms)  (2.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.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", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00]]  (4.5ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 0.9ms | ActiveRecord: 7.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Organism Load (0.6ms) 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", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 3.4ms | ActiveRecord: 1.1ms)  (2.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Organism Load (5.0ms) 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", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00]]  (3.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 0.9ms | ActiveRecord: 8.7ms)  (0.1ms) ROLLBACK  (1.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1005"} Organism Load (5.4ms) 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", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1005 Completed 302 Found in 11ms (ActiveRecord: 6.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "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", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1006 Completed 302 Found in 14ms (ActiveRecord: 0.8ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1007"} Organism Load (5.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1007 Completed 302 Found in 14ms (ActiveRecord: 10.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1008"} Organism Load (0.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (4.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", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 5.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1009"} Organism Load (1.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00]]  (3.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 13ms (ActiveRecord: 6.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1010"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 9ms (ActiveRecord: 5.3ms)  (0.1ms) ROLLBACK  (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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:53 UTC +00:00]]  (0.1ms) RELEASE 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" = 34) LIMIT 1  (0.3ms) 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" = 34) 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", Fri, 30 Aug 2013 15:54:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 34], ["updated_at", Fri, 30 Aug 2013 15:54:53 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/58/coord/new" for 127.0.0.1 at 2013-08-30 17:54:53 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"58"} Organism Load (3.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "58"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 58 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (32.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 211ms (Views: 71.2ms | ActiveRecord: 11.4ms)  (4.6ms) 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 (0.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:54 UTC +00:00]]  (4.0ms) RELEASE 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" = 35) LIMIT 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" = 35) 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", Fri, 30 Aug 2013 15:54:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 35], ["updated_at", Fri, 30 Aug 2013 15:54:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members/59/coord/new" for 127.0.0.1 at 2013-08-30 17:54:54 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"59"} Organism Load (2.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "59"]] Adherent::Coord Load (1.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 59 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (16.2ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 38ms (Views: 27.9ms | ActiveRecord: 5.1ms) Started POST "/adherent/members/59/coord" for 127.0.0.1 at 2013-08-30 17:54:54 +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"=>"59"} Organism Load (5.0ms) 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", "59"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 59 LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (36.0ms) 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", Fri, 30 Aug 2013 15:54:54 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 59], ["office", ""], ["tel", ""], ["updated_at", Fri, 30 Aug 2013 15:54:54 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/59/adhesions/new Completed 302 Found in 53ms (ActiveRecord: 41.8ms) Started GET "/adherent/members/59/adhesions/new" for 127.0.0.1 at 2013-08-30 17:54:54 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"59"} Organism Load (0.8ms) 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", "59"]] Adherent::Adhesion Load (2.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 59 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 59 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (13.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 83ms (Views: 65.4ms | ActiveRecord: 6.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.4ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 36) LIMIT 1  (0.4ms) 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" = 36) 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", Fri, 30 Aug 2013 15:54:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 36], ["updated_at", Fri, 30 Aug 2013 15:54:54 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/60/coord/new" for 127.0.0.1 at 2013-08-30 17:54:54 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"60"} Organism Load (3.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", "60"]] Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 60 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (22.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 37ms (Views: 25.9ms | ActiveRecord: 4.7ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords" Started POST "/adherent/members/60/coord" for 127.0.0.1 at 2013-08-30 17:54:54 +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"=>"60"} Organism Load (6.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", "60"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 60 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.9ms) 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", Fri, 30 Aug 2013 15:54:54 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 60], ["office", ""], ["tel", ""], ["updated_at", Fri, 30 Aug 2013 15:54:54 UTC +00:00], ["zip", ""]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/60/adhesions/new Completed 302 Found in 17ms (ActiveRecord: 12.1ms) Started GET "/adherent/members/60/adhesions/new" for 127.0.0.1 at 2013-08-30 17:54:54 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"60"} Organism Load (4.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", "60"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 60 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 60 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (11.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.0ms) Completed 200 OK in 31ms (Views: 19.9ms | ActiveRecord: 4.9ms)  (6.1ms) SELECT COUNT(*) FROM "adherent_coords"   (0.0ms) 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", Fri, 30 Aug 2013 15:54:54 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:54 UTC +00:00]]  (0.1ms) RELEASE 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" = 37) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 37) 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", Fri, 30 Aug 2013 15:54:54 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 37], ["updated_at", Fri, 30 Aug 2013 15:54:54 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/61/coord/new" for 127.0.0.1 at 2013-08-30 17:54:54 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"61"} Organism Load (3.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "61"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 61 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (16.6ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (6.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 42ms (Views: 33.1ms | ActiveRecord: 6.5ms) Started POST "/adherent/members/61/coord" for 127.0.0.1 at 2013-08-30 17:54:54 +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"=>"61"} Organism Load (4.7ms) 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", "61"]] Adherent::Coord Load (4.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 61 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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", Fri, 30 Aug 2013 15:54:54 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 61], ["office", ""], ["tel", ""], ["updated_at", Fri, 30 Aug 2013 15:54:54 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/61/adhesions/new Completed 302 Found in 17ms (ActiveRecord: 10.3ms) Started GET "/adherent/members/61/adhesions/new" for 127.0.0.1 at 2013-08-30 17:54:54 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"61"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (3.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "61"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 61 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 61 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (9.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 28ms (Views: 19.4ms | ActiveRecord: 5.1ms) Adherent::Coord Load (6.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 61 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (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" = 1) LIMIT 1 SQL (5.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", Fri, 30 Aug 2013 15:54:54 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:54:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", nil], ["city", "Lille"], ["created_at", Fri, 30 Aug 2013 15:54:54 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 62], ["office", nil], ["tel", nil], ["updated_at", Fri, 30 Aug 2013 15:54:54 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 62 LIMIT 1  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 4]] SQL (0.3ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 62]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SELECT COUNT(*) FROM "adherent_coords"   (3.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (6.7ms) ROLLBACK  (0.0ms) BEGIN  (0.4ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (3.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (5.8ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.4ms) BEGIN  (8.6ms) ROLLBACK  (0.5ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (3.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (4.7ms) 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" = '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", Fri, 30 Aug 2013 15:54:54 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:54:54 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" = '002' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (1.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", Fri, 30 Aug 2013 15:54:54 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:54:54 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", #], ["created_at", Fri, 30 Aug 2013 15:54:54 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 63], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 15:54:54 UTC +00:00]]  (6.0ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 15:54:54 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 64], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 15:54:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 15:54:54 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 64], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:54:54 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 64 LIMIT 1 Adherent::Adhesion Load (2.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 64 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (4.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 39 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", 39], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:54 UTC +00:00], ["payment_id", 17], ["updated_at", Fri, 30 Aug 2013 15:54:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Adhesion Load (2.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) LIMIT 1 Adherent::Adhesion Load (3.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY "adherent_adhesions"."id" DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '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", Fri, 30 Aug 2013 15:54:54 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:54:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (5.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 15:54:54 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:54:54 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", #], ["created_at", Fri, 30 Aug 2013 15:54:54 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 65], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 15:54:54 UTC +00:00]]  (4.5ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:54 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 66], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 15:54:54 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (5.4ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 66], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 66 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 66 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (5.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 41 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", 41], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["payment_id", 18], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (6.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 66], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 66 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 66 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 41 SQL (74.6ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 41], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["payment_id", 19], ["updated_at", Fri, 30 Aug 2013 15:54:55 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", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 65], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]] Adherent::Member Load (4.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 65 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 65 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (1.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 40 SQL (3.6ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 40], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["payment_id", 20], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL)  (0.6ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) 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", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:54:55 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" = '002' 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", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (4.5ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 67], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (4.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 68], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (2.8ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 68], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]] Adherent::Member Load (1.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 68 LIMIT 1 Adherent::Adhesion Load (3.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 68 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 43 SQL (5.0ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 43], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["payment_id", 21], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 67], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]] Adherent::Member Load (4.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 67 LIMIT 1 Adherent::Adhesion Load (1.0ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 67 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (6.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 42 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", 42], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["payment_id", 22], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) LIMIT 1  (4.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (7.2ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (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", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 44  (7.0ms) 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", 44], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 44  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (5.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 45  (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", 45], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (4.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", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 46  (0.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", 46], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 15:54:55 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" = 46  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 46  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (2.9ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (3.5ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (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" = '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", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (2.7ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (4.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", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 69], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 15:54:55 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" = 69 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 69 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.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", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 69], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 69], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]] Adherent::Member Load (1.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 69 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 69 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 47 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", 47], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["payment_id", 23], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 48 SQL (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["payment_id", 23], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.5ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (5.1ms) 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", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:54:55 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", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 70], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (3.7ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 70 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 70 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.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", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 70], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 70], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]] Adherent::Member Load (6.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 70 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 70 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 49 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", 49], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["payment_id", 24], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 50 SQL (4.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["payment_id", 24], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (6.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", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:54:55 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", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 71], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 71 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 71 ORDER BY to_date DESC LIMIT 1  (5.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", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 71], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (11.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 71], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]] Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 71 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 71 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 51 SQL (6.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["payment_id", 25], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.3ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) 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", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (3.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 38) LIMIT 1  (0.1ms) 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" = 38) LIMIT 1 SQL (7.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", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 38], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members/72/adhesions/new" for 127.0.0.1 at 2013-08-30 17:54:55 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"72"} 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", "72"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 72 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 72 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 31ms (Views: 15.4ms | ActiveRecord: 1.1ms)  (5.3ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.1ms) RELEASE 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" = 39) LIMIT 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" = 39) 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", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 39], ["updated_at", Fri, 30 Aug 2013 15:54:55 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/73/adhesions/new" for 127.0.0.1 at 2013-08-30 17:54:55 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"73"} 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", "73"]] Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 73 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 73 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (5.3ms) Rendered layouts/adherent/_header.html.haml (3.4ms) 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: 15.5ms | ActiveRecord: 1.8ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 73 Started POST "/adherent/members/73/adhesions" for 127.0.0.1 at 2013-08-30 17:54:55 +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"=>"73"} Organism Load (2.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (4.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "73"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 73], ["to_date", Thu, 31 Jul 2014], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (3.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/73/adhesions Completed 302 Found in 20ms (ActiveRecord: 10.0ms) Started GET "/adherent/members/73/adhesions" for 127.0.0.1 at 2013-08-30 17:54:55 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"73"} Organism Load (5.9ms) 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", "73"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 73 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 73  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 53 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 53 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 30ms (Views: 19.8ms | ActiveRecord: 7.0ms)  (6.9ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 73  (0.2ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.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", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (3.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 40) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 40) 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", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 40], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"   (0.1ms) SAVEPOINT active_record_1 SQL (4.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", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 74], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/74/adhesions" for 127.0.0.1 at 2013-08-30 17:54:55 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"74"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (5.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "74"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 74 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 74  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 54 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 54 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.2ms) Completed 200 OK in 22ms (Views: 12.6ms | ActiveRecord: 6.9ms)  (3.5ms) 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", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (1.6ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (6.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 41) LIMIT 1  (0.2ms) 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" = 41) 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", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 41], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (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", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 75], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/75/adhesions" for 127.0.0.1 at 2013-08-30 17:54:55 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"75"} Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "75"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 75 Adherent::Adhesion Load (4.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 75  (1.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 55 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 55 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: 7.8ms | ActiveRecord: 8.5ms) Started GET "/adherent/members/75/adhesions/55/edit" for 127.0.0.1 at 2013-08-30 17:54:55 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"75", "id"=>"55"} Organism Load (4.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", "75"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 75 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "55"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 42ms (Views: 32.8ms | ActiveRecord: 5.0ms)  (3.5ms) ROLLBACK  (0.0ms) BEGIN Organism Load (4.5ms) 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", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.1ms) RELEASE 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" = 42) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.0ms) 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", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 42], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 76], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 15:54:55 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/76/adhesions" for 127.0.0.1 at 2013-08-30 17:54:55 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"76"} 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", "76"]]  (4.9ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 76 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 76  (4.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 56 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 56 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.8ms | ActiveRecord: 9.7ms) Started GET "/adherent/members/76/payments/new" for 127.0.0.1 at 2013-08-30 17:54:55 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"76"} Organism Load (1.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", "76"]] Adherent::Adhesion Load (2.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 76 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (1.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 56 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (17.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 37ms (Views: 21.0ms | ActiveRecord: 5.1ms)  (0.1ms) ROLLBACK  (5.5ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1013"} Organism Load (2.3ms) 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", Fri, 30 Aug 2013 15:54:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:56 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 16ms (Views: 1.2ms | ActiveRecord: 5.3ms)  (4.4ms) ROLLBACK  (2.9ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1014"} Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.0ms) 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", Fri, 30 Aug 2013 15:54:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:56 UTC +00:00]]  (2.5ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 19ms (Views: 4.2ms | ActiveRecord: 6.2ms)  (5.7ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1015"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.6ms) 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", Fri, 30 Aug 2013 15:54:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:56 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1015/adhesions/new Completed 302 Found in 11ms (ActiveRecord: 4.6ms)  (0.6ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1016"} Organism Load (0.0ms) 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", Fri, 30 Aug 2013 15:54:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:56 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1016/adhesions Completed 302 Found in 22ms (ActiveRecord: 3.4ms)  (3.9ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1018"} Organism Load (0.5ms) 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", Fri, 30 Aug 2013 15:54:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:56 UTC +00:00]]  (2.6ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 0.9ms | ActiveRecord: 3.8ms)  (2.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1020"} Organism Load (3.6ms) 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", Fri, 30 Aug 2013 15:54:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1020/adhesions Completed 302 Found in 8ms (ActiveRecord: 4.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1022", "id"=>"1"} Organism Load (3.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (2.8ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 20ms (Views: 6.5ms | ActiveRecord: 8.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1024", "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.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1026", "id"=>"1"} Organism Load (5.1ms) 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", Fri, 30 Aug 2013 15:54:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1026/adhesions Completed 302 Found in 14ms (ActiveRecord: 5.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1028", "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", Fri, 30 Aug 2013 15:54:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (6.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1030", "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", Fri, 30 Aug 2013 15:54:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1030/adhesions Completed 302 Found in 11ms (ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1032", "id"=>"1"} Organism Load (4.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", Fri, 30 Aug 2013 15:54:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:56 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 15ms (Views: 5.9ms | ActiveRecord: 5.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1034"} Organism Load (8.9ms) 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", Fri, 30 Aug 2013 15:54:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 0.5ms | ActiveRecord: 9.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (2.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (5.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:56 UTC +00:00]]  (0.1ms) RELEASE 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" = 56) LIMIT 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" = 56) 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", Fri, 30 Aug 2013 15:54:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 56], ["updated_at", Fri, 30 Aug 2013 15:54:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (3.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 77 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 77 ORDER BY to_date DESC LIMIT 1  (2.8ms) SAVEPOINT active_record_1 SQL (3.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", #], ["created_at", Fri, 30 Aug 2013 15:54:56 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 77], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/77/payments/new" for 127.0.0.1 at 2013-08-30 17:54:56 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"77"} Organism Load (6.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.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 77 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (16.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 31ms (Views: 19.7ms | ActiveRecord: 6.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  (0.1ms) 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", Fri, 30 Aug 2013 15:54:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:56 UTC +00:00]]  (0.1ms) RELEASE 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" = 57) LIMIT 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" = 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", nil], ["created_at", Fri, 30 Aug 2013 15:54:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 57], ["updated_at", Fri, 30 Aug 2013 15:54:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (5.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 78 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 78 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Fri, 30 Aug 2013 15:54:56 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 78], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/78/payments/new" for 127.0.0.1 at 2013-08-30 17:54:56 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"78"} Organism Load (5.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", "78"]] Adherent::Adhesion Load (2.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 78 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (12.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 36ms (Views: 23.2ms | ActiveRecord: 8.0ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 78 Started POST "/adherent/members/78/payments" for 127.0.0.1 at 2013-08-30 17:54:56 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"78"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "78"]]  (0.1ms) SAVEPOINT active_record_1 SQL (4.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:56 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 78], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:54:56 UTC +00:00]] Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 78 LIMIT 1 Adherent::Adhesion Load (2.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 78 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (6.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/78/payments Completed 302 Found in 29ms (ActiveRecord: 16.3ms) Started GET "/adherent/members/78/payments" for 127.0.0.1 at 2013-08-30 17:54:56 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"78"} 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", "78"]] Adherent::Payment Load (3.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 78 Adherent::Reglement Load (3.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 26 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 26  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 26 Adherent::Reglement Load (3.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 26 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 26 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 78 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (13.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 24ms (Views: 11.0ms | ActiveRecord: 12.0ms)  (6.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 78  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (3.7ms) COMMIT  (0.1ms) 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", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 58) LIMIT 1  (5.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" = 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", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 58], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 79 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 79 ORDER BY to_date DESC LIMIT 1  (2.8ms) SAVEPOINT active_record_1 SQL (7.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", #], ["created_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 79], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]]  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 79], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 79 LIMIT 1 Adherent::Adhesion Load (1.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 79 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/79/payments" for 127.0.0.1 at 2013-08-30 17:54:57 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"79"} Organism Load (7.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", "79"]] Adherent::Payment Load (5.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 79 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 27 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 27  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 27 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 27 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 27 Adherent::Member Load (4.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 79 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (10.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 33ms (Views: 12.8ms | ActiveRecord: 18.0ms)  (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  (4.4ms) 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", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]]  (0.1ms) RELEASE 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" = 59) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (6.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 59) LIMIT 1 SQL (8.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", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 59], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (6.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 80 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 80 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", #], ["created_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 80], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (5.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 80], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 80 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 80 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/80/payments" for 127.0.0.1 at 2013-08-30 17:54:57 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"80"} Organism Load (0.3ms) 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"."id" = $1 LIMIT 1 [["id", "80"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 80 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 80 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (11.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 25ms (Views: 19.2ms | ActiveRecord: 3.9ms) Started GET "/adherent/payments/28/reglements/new" for 127.0.0.1 at 2013-08-30 17:54:57 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"28"} 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", "28"]] Adherent::Member Load (7.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 80 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 28 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (10.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 27ms (Views: 14.4ms | ActiveRecord: 8.9ms)  (0.4ms) 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  (4.5ms) 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", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]]  (0.1ms) RELEASE 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" = 60) LIMIT 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" = 60) 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", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 60], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]]  (1.7ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (5.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 60) LIMIT 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" = 60) 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", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 60], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]]  (0.1ms) RELEASE 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" = 60) LIMIT 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" = 60) 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", nil], ["created_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 60], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 60) LIMIT 1  (0.0ms) 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" = 60) 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", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 60], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (5.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 60) LIMIT 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" = 60) 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", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 60], ["updated_at", Fri, 30 Aug 2013 15:54:57 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-30 17:54:57 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (3.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (4.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 60  (1.0ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 81 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 81 LIMIT 1  (7.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 82 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 82 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 83 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (2.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 83 LIMIT 1  (9.1ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 84 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 84 LIMIT 1  (7.0ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 85 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 85 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 80ms (Views: 39.6ms | ActiveRecord: 36.9ms)  (0.2ms) 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 (0.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (3.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 61) LIMIT 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" = 61) 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", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 61], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]]  (0.1ms) RELEASE 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" = 61) LIMIT 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" = 61) 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", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 61], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]]  (4.7ms) RELEASE 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" = 61) LIMIT 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" = 61) 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", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 61], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (4.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 61) LIMIT 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" = 61) 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", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 61], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]]  (0.1ms) RELEASE 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" = 61) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (5.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 61) 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", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 61], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members" for 127.0.0.1 at 2013-08-30 17:54:57 +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 (1.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 61  (1.1ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 86 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 86 LIMIT 1  (5.0ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 87 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 87 LIMIT 1  (7.9ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 88 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 88 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 89 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 89 LIMIT 1  (5.3ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 90 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 90 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 68ms (Views: 35.6ms | ActiveRecord: 23.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (3.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]]  (0.1ms) RELEASE 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" = 62) LIMIT 1  (0.3ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 62) 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", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 62], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]]  (0.1ms) RELEASE 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" = 62) LIMIT 1  (0.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" = 62) LIMIT 1 SQL (6.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", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 62], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]]  (0.1ms) RELEASE 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" = 62) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (106.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 62) LIMIT 1 SQL (12.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", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 62], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 62) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 62) 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", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 62], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 62) LIMIT 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" = 62) LIMIT 1 SQL (6.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", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 62], ["updated_at", Fri, 30 Aug 2013 15:54:57 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-30 17:54:57 +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 (2.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 62  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 91 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (5.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 91 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 92 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (4.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 92 LIMIT 1  (7.0ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 93 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 93 LIMIT 1  (8.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 94 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 95 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 95 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 77ms (Views: 43.4ms | ActiveRecord: 30.8ms) Adherent::Member Load (5.4ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/91/coord" for 127.0.0.1 at 2013-08-30 17:54:57 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"91"} 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", "91"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 91 LIMIT 1 Redirected to http://www.example.com/adherent/members/91/coord/new Completed 302 Found in 14ms (ActiveRecord: 0.9ms) Started GET "/adherent/members/91/coord/new" for 127.0.0.1 at 2013-08-30 17:54:57 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"91"} Organism Load (5.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", "91"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 91 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (14.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 26ms (Views: 17.2ms | ActiveRecord: 5.8ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]]  (0.1ms) RELEASE 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" = 63) LIMIT 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" = 63) 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", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 63], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (5.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 63) LIMIT 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" = 63) 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", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 63], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 63) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 63) LIMIT 1 SQL (5.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", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 63], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]]  (0.1ms) RELEASE 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" = 63) LIMIT 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" = 63) 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", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 63], ["updated_at", Fri, 30 Aug 2013 15:54:57 UTC +00:00]]  (0.1ms) RELEASE 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" = 63) LIMIT 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" = 63) LIMIT 1 SQL (5.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", Fri, 30 Aug 2013 15:54:57 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 63], ["updated_at", Fri, 30 Aug 2013 15:54:57 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-30 17:54:57 +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 (1.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 63  (7.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 96 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 96 LIMIT 1  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 97 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 97 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 98 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 98 LIMIT 1  (4.2ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 99 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (4.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 99 LIMIT 1  (6.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 100 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 100 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 74ms (Views: 42.5ms | ActiveRecord: 26.7ms) Adherent::Member Load (3.0ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/96/payments" for 127.0.0.1 at 2013-08-30 17:54:57 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"96"} Organism Load (4.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", "96"]] Adherent::Payment Load (1.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 96 Rendered collection (0.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 12ms (Views: 4.1ms | ActiveRecord: 6.4ms)  (0.1ms) ROLLBACK  (2.0ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00]]  (0.3ms) RELEASE 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" = 64) LIMIT 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" = 64) LIMIT 1 SQL (1.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", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 64], ["updated_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (3.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 64) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 64) 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", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 64], ["updated_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 64) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 64) 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", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 64], ["updated_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 64) LIMIT 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" = 64) 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", nil], ["created_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 64], ["updated_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 64) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 64) 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", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 64], ["updated_at", Fri, 30 Aug 2013 15:54:58 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-30 17:54:58 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (7.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (5.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 64  (0.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 101 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (1.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 101 LIMIT 1  (4.9ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 102 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (4.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 102 LIMIT 1  (4.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 103 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 103 LIMIT 1  (4.1ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 104 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 104 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 105 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (1.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 105 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 93ms (Views: 54.3ms | ActiveRecord: 35.8ms) Adherent::Member Load (1.5ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (4.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 101 Adherent::Adhesion Load (6.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 101 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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", #], ["created_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 101], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/101/adhesions" for 127.0.0.1 at 2013-08-30 17:54:58 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"101"} Organism Load (1.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (3.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "101"]]  (7.1ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 101 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 101  (1.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 61 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 61 Rendered layouts/adherent/_header.html.haml (0.2ms) 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 39ms (Views: 19.7ms | ActiveRecord: 13.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (2.7ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.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", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 65) LIMIT 1  (0.4ms) 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" = 65) 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", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 65], ["updated_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 65) LIMIT 1  (0.0ms) 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" = 65) 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", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 65], ["updated_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (4.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 65) LIMIT 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" = 65) 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", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 65], ["updated_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00]]  (0.0ms) RELEASE 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" = 65) LIMIT 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" = 65) 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", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 65], ["updated_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 65) LIMIT 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" = 65) 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", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 65], ["updated_at", Fri, 30 Aug 2013 15:54:58 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-30 17:54:58 +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" = 65  (2.5ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 106 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 106 LIMIT 1  (5.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 107 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (5.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 107 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 108 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (1.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 108 LIMIT 1  (2.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 109 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (2.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 109 LIMIT 1  (0.3ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 110 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (2.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 110 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 (2.7ms) Completed 200 OK in 76ms (Views: 42.3ms | ActiveRecord: 25.3ms) Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/106/adhesions" for 127.0.0.1 at 2013-08-30 17:54:58 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"106"} Organism Load (2.9ms) 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"."id" = $1 LIMIT 1 [["id", "106"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 106 Redirected to http://www.example.com/adherent/members/106/adhesions/new Completed 302 Found in 10ms (ActiveRecord: 3.9ms) Started GET "/adherent/members/106/adhesions/new" for 127.0.0.1 at 2013-08-30 17:54:58 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"106"} Organism Load (3.0ms) 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", "106"]] Adherent::Adhesion Load (2.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 106 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 106 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (10.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 25ms (Views: 14.8ms | ActiveRecord: 6.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (2.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 66) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 66) 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", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 66], ["updated_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 66) LIMIT 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" = 66) 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", nil], ["created_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 66], ["updated_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 66) LIMIT 1  (1.5ms) 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" = 66) LIMIT 1 SQL (1.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", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 66], ["updated_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 66) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 66) LIMIT 1 SQL (23.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", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 66], ["updated_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 66) LIMIT 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" = 66) 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", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 66], ["updated_at", Fri, 30 Aug 2013 15:54:58 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-30 17:54:58 +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" = 66  (6.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 111 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 111 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 112 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (4.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 112 LIMIT 1  (2.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 113 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 113 LIMIT 1  (5.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 114 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 114 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 115 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (4.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 115 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.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 70ms (Views: 40.7ms | ActiveRecord: 27.7ms) Adherent::Member Load (7.1ms) SELECT "adherent_members".* FROM "adherent_members" 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", nil], ["city", "Marseille"], ["created_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 111], ["office", nil], ["tel", nil], ["updated_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["zip", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 111 LIMIT 1 Started GET "/adherent/members/111/coord" for 127.0.0.1 at 2013-08-30 17:54:58 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"111"} Organism Load (5.1ms) 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", "111"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 111 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 13ms (Views: 4.6ms | ActiveRecord: 5.9ms)  (0.1ms) ROLLBACK  (0.9ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (3.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00]]  (2.9ms) RELEASE 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" = 67) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 67) LIMIT 1 SQL (7.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", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 67], ["updated_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 67) LIMIT 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" = 67) 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", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 67], ["updated_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 67) LIMIT 1  (4.4ms) 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" = 67) 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", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 67], ["updated_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 67) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 67) LIMIT 1 SQL (4.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", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 67], ["updated_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 67) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 67) 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", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 67], ["updated_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00]]  (1.5ms) 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-30 17:54:58 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (6.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" = 67  (2.1ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 116 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (6.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 116 LIMIT 1  (1.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 117 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 117 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 118 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 118 LIMIT 1  (3.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 119 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 119 LIMIT 1  (4.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 120 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (1.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 120 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.2ms) Completed 200 OK in 193ms (Views: 162.3ms | ActiveRecord: 28.2ms) Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/116/edit" for 127.0.0.1 at 2013-08-30 17:54:58 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"116"} Organism Load (5.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (6.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "116"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (12.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 47ms (Views: 33.9ms | ActiveRecord: 11.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (1.3ms) BEGIN Organism Load (6.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", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 68) LIMIT 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" = 68) LIMIT 1 SQL (6.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", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 68], ["updated_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 68) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 68) LIMIT 1 SQL (0.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", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 68], ["updated_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00]]  (0.1ms) RELEASE 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" = 68) LIMIT 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" = 68) LIMIT 1 SQL (3.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", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 68], ["updated_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00]]  (0.3ms) RELEASE 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" = 68) LIMIT 1  (2.5ms) 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" = 68) 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", Fri, 30 Aug 2013 15:54:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 68], ["updated_at", Fri, 30 Aug 2013 15:54:58 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (3.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 68) LIMIT 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" = 68) 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", Fri, 30 Aug 2013 15:54:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 68], ["updated_at", Fri, 30 Aug 2013 15:54:59 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-30 17:54:59 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (4.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"."organism_id" = 68  (5.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 121 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 121 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 122 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (3.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 122 LIMIT 1  (0.5ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 123 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 123 LIMIT 1  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 124 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 124 LIMIT 1  (4.1ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 125 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 125 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 77ms (Views: 52.5ms | ActiveRecord: 21.6ms) Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-30 17:54:59 +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 (10.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 22ms (Views: 19.4ms | ActiveRecord: 0.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (6.6ms) 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.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:59 UTC +00:00]]  (0.1ms) RELEASE 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" = 69) LIMIT 1  (0.3ms) 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" = 69) 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", Fri, 30 Aug 2013 15:54:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 69], ["updated_at", Fri, 30 Aug 2013 15:54:59 UTC +00:00]]  (0.1ms) RELEASE 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" = 69) LIMIT 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" = 69) 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", Fri, 30 Aug 2013 15:54:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 69], ["updated_at", Fri, 30 Aug 2013 15:54:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (5.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 69) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 69) 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", Fri, 30 Aug 2013 15:54:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 69], ["updated_at", Fri, 30 Aug 2013 15:54:59 UTC +00:00]]  (0.1ms) RELEASE 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" = 69) LIMIT 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" = 69) 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", Fri, 30 Aug 2013 15:54:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 69], ["updated_at", Fri, 30 Aug 2013 15:54:59 UTC +00:00]]  (5.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 69) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 69) 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", Fri, 30 Aug 2013 15:54:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 69], ["updated_at", Fri, 30 Aug 2013 15:54:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-30 17:54:59 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (10.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 23ms (Views: 13.6ms | ActiveRecord: 0.4ms)  (3.2ms) SELECT COUNT(*) FROM "adherent_members" Started POST "/adherent/members" for 127.0.0.1 at 2013-08-30 17:54:59 +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 (10.0ms) 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" = 69) 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", Fri, 30 Aug 2013 15:54:59 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 69], ["updated_at", Fri, 30 Aug 2013 15:54:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/131/coord/new Completed 302 Found in 16ms (ActiveRecord: 10.6ms) Started GET "/adherent/members/131/coord/new" for 127.0.0.1 at 2013-08-30 17:54:59 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"131"} Organism Load (3.0ms) 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", "131"]] Adherent::Coord Load (1.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 131 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (13.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 27ms (Views: 20.0ms | ActiveRecord: 4.5ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_members"   (0.1ms) ROLLBACK  (1.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1036"} Organism Load (8.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", Fri, 30 Aug 2013 15:54:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 0.9ms | ActiveRecord: 9.6ms)  (5.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1037"} Organism Load (6.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", Fri, 30 Aug 2013 15:54:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 1.0ms | ActiveRecord: 6.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1038", "id"=>"1039"} 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", Fri, 30 Aug 2013 15:54:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 23ms (Views: 11.2ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1040"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 1.4ms | ActiveRecord: 4.1ms)  (2.6ms) ROLLBACK  (3.4ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1042"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.8ms) SAVEPOINT active_record_1 SQL (4.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1042/payments Completed 302 Found in 10ms (ActiveRecord: 5.8ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1044"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.4ms) SAVEPOINT active_record_1 SQL (5.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:59 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 18ms (Views: 2.6ms | ActiveRecord: 6.5ms)  (4.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1046"} Organism Load (0.4ms) 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", Fri, 30 Aug 2013 15:54:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1046/payments Completed 302 Found in 6ms (ActiveRecord: 2.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1048"} Organism Load (3.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.7ms) 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", Fri, 30 Aug 2013 15:54:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:59 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.0ms | ActiveRecord: 10.1ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1050"} 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", Fri, 30 Aug 2013 15:54:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (3.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1052"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Fri, 30 Aug 2013 15:54:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1052/adhesions/new Completed 302 Found in 5ms (ActiveRecord: 2.2ms)  (4.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1054"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.9ms) SAVEPOINT active_record_1 SQL (4.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 15ms (Views: 0.9ms | ActiveRecord: 6.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1056"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:54:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 140ms (Views: 128.5ms | ActiveRecord: 5.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1058"} Organism Load (5.1ms) 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", Fri, 30 Aug 2013 15:54:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 5.7ms)  (3.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1060"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.2ms) 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", Fri, 30 Aug 2013 15:54:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:54:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1060/coord Completed 302 Found in 8ms (ActiveRecord: 3.9ms)  (1.7ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1062"} Organism Load (0.3ms) 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", Fri, 30 Aug 2013 15:55:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 2.6ms)  (3.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1064"} Organism Load (2.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (2.0ms) 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", Fri, 30 Aug 2013 15:55:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:00 UTC +00:00]]  (1.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1064/coord Completed 302 Found in 13ms (ActiveRecord: 7.9ms)  (5.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1066"} Organism Load (2.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.5ms) 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", Fri, 30 Aug 2013 15:55:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:00 UTC +00:00]]  (3.3ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 0.8ms | ActiveRecord: 7.9ms)  (3.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1068"} Organism Load (0.4ms) 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", Fri, 30 Aug 2013 15:55:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:00 UTC +00:00]]  (7.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 20ms (Views: 1.0ms | ActiveRecord: 8.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AllpaymentsController#index as HTML 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", Fri, 30 Aug 2013 15:55:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Payment Load (4.3ms) SELECT "adherent_payments".* FROM "adherent_payments" INNER JOIN "adherent_members" ON "adherent_payments"."member_id" = "adherent_members"."id" WHERE "adherent_members"."organism_id" = 88 Completed 200 OK in 43ms (Views: 2.1ms | ActiveRecord: 10.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1071"} 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", Fri, 30 Aug 2013 15:55:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 15ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1074"} Organism Load (4.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) 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", Fri, 30 Aug 2013 15:55:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 0.9ms | ActiveRecord: 5.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1077"} Organism Load (6.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (12.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:55:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1076/payments Completed 302 Found in 23ms (ActiveRecord: 19.3ms)  (0.3ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (2.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", Fri, 30 Aug 2013 15:55:35 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:55:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", Fri, 30 Aug 2013 15:55:35 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 132], ["office", nil], ["tel", nil], ["updated_at", Fri, 30 Aug 2013 15:55:35 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 132 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 6]] SQL (0.9ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 132]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"   (0.3ms) 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 (44.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:55:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:35 UTC +00:00]]  (0.1ms) RELEASE 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  (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" = 92) 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", Fri, 30 Aug 2013 15:55:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 92], ["updated_at", Fri, 30 Aug 2013 15:55:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 92) LIMIT 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" = 92) 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", Fri, 30 Aug 2013 15:55:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 92], ["updated_at", Fri, 30 Aug 2013 15:55:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 92) LIMIT 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" = 92) 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", Fri, 30 Aug 2013 15:55:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 92], ["updated_at", Fri, 30 Aug 2013 15:55:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 92) LIMIT 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" = 92) 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", Fri, 30 Aug 2013 15:55:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 92], ["updated_at", Fri, 30 Aug 2013 15:55:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 92) LIMIT 1  (0.2ms) 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" = 92) 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", Fri, 30 Aug 2013 15:55:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 92], ["updated_at", Fri, 30 Aug 2013 15:55:35 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-30 17:55:35 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (2.2ms) 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" = 92  (3.6ms) SHOW max_identifier_length  (1.5ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 133 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (4.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 133 LIMIT 1  (1.3ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 134 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 134 LIMIT 1  (7.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 135 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 135 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 136 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (5.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 136 LIMIT 1  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 137 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (3.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 137 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (88.1ms) Rendered layouts/adherent/_header.html.haml (5.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (8.9ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (4.9ms) Completed 200 OK in 151ms (Views: 97.9ms | ActiveRecord: 33.8ms)  (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.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", Fri, 30 Aug 2013 15:55:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 93) LIMIT 1  (0.0ms) 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" = 93) 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", Fri, 30 Aug 2013 15:55:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 93], ["updated_at", Fri, 30 Aug 2013 15:55:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 93) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 93) 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", Fri, 30 Aug 2013 15:55:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 93], ["updated_at", Fri, 30 Aug 2013 15:55:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 93) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 93) 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", Fri, 30 Aug 2013 15:55:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 93], ["updated_at", Fri, 30 Aug 2013 15:55:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 93) LIMIT 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" = 93) 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", Fri, 30 Aug 2013 15:55:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 93], ["updated_at", Fri, 30 Aug 2013 15:55:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (5.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 93) LIMIT 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" = 93) 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", Fri, 30 Aug 2013 15:55:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 93], ["updated_at", Fri, 30 Aug 2013 15:55:36 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-30 17:55:36 +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" = 93  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 138 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 138 LIMIT 1  (6.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 139 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 139 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 140 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (6.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 140 LIMIT 1  (0.9ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 141 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (5.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 141 LIMIT 1  (1.5ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 142 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (5.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 142 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 67ms (Views: 37.1ms | ActiveRecord: 28.0ms)  (0.1ms) ROLLBACK  (5.3ms) 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", Fri, 30 Aug 2013 15:55:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 94) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 94) 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", Fri, 30 Aug 2013 15:55:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 94], ["updated_at", Fri, 30 Aug 2013 15:55:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 94) LIMIT 1  (0.1ms) 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" = 94) LIMIT 1 SQL (3.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", Fri, 30 Aug 2013 15:55:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 94], ["updated_at", Fri, 30 Aug 2013 15:55:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 94) LIMIT 1  (0.3ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 94) 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", Fri, 30 Aug 2013 15:55:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 94], ["updated_at", Fri, 30 Aug 2013 15:55:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 94) LIMIT 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" = 94) LIMIT 1 SQL (6.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", Fri, 30 Aug 2013 15:55:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 94], ["updated_at", Fri, 30 Aug 2013 15:55:36 UTC +00:00]]  (0.2ms) RELEASE 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" = 94) LIMIT 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" = 94) 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", Fri, 30 Aug 2013 15:55:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 94], ["updated_at", Fri, 30 Aug 2013 15:55:36 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-30 17:55:36 +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 (5.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 94  (8.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 143 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 143 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 144 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 144 LIMIT 1  (4.2ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 145 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (1.8ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 145 LIMIT 1  (6.1ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 146 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 146 LIMIT 1  (7.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 147 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 147 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 74ms (Views: 35.2ms | ActiveRecord: 36.1ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (3.5ms) SAVEPOINT active_record_1 SQL (0.5ms) 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", Fri, 30 Aug 2013 15:55:36 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 143], ["office", nil], ["tel", nil], ["updated_at", Fri, 30 Aug 2013 15:55:36 UTC +00:00], ["zip", nil]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 143 LIMIT 1 Started GET "/adherent/members/143/coord" for 127.0.0.1 at 2013-08-30 17:55:36 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"143"} Organism Load (1.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (3.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "143"]] Adherent::Coord Load (4.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 143 LIMIT 1 Rendered layouts/adherent/_header.html.haml (3.7ms) 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: 13.4ms | ActiveRecord: 9.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  (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", Fri, 30 Aug 2013 15:55:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:36 UTC +00:00]]  (1.7ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (3.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 95) LIMIT 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" = 95) 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", Fri, 30 Aug 2013 15:55:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 95], ["updated_at", Fri, 30 Aug 2013 15:55:36 UTC +00:00]]  (3.9ms) RELEASE 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" = 95) LIMIT 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" = 95) 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", Fri, 30 Aug 2013 15:55:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 95], ["updated_at", Fri, 30 Aug 2013 15:55:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 95) LIMIT 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" = 95) 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", Fri, 30 Aug 2013 15:55:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 95], ["updated_at", Fri, 30 Aug 2013 15:55:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 95) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 95) 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", Fri, 30 Aug 2013 15:55:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 95], ["updated_at", Fri, 30 Aug 2013 15:55:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 95) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 95) 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", Fri, 30 Aug 2013 15:55:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 95], ["updated_at", Fri, 30 Aug 2013 15:55:36 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-30 17:55:36 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (2.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (5.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 95  (4.9ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 148 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 148 LIMIT 1  (6.5ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 149 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 149 LIMIT 1  (2.9ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 150 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (4.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 150 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 151 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 151 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 152 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 152 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 72ms (Views: 39.5ms | ActiveRecord: 29.8ms) Adherent::Member Load (9.5ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/148/payments" for 127.0.0.1 at 2013-08-30 17:55:36 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"148"} Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (4.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "148"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 148 Rendered collection (0.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 32ms (Views: 21.8ms | ActiveRecord: 8.2ms)  (3.8ms) 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", Fri, 30 Aug 2013 15:55:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 96) LIMIT 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" = 96) 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", Fri, 30 Aug 2013 15:55:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 96], ["updated_at", Fri, 30 Aug 2013 15:55:36 UTC +00:00]]  (3.4ms) RELEASE 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" = 96) LIMIT 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" = 96) 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", Fri, 30 Aug 2013 15:55:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 96], ["updated_at", Fri, 30 Aug 2013 15:55:36 UTC +00:00]]  (2.3ms) RELEASE 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" = 96) LIMIT 1  (3.4ms) 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" = 96) LIMIT 1 SQL (5.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", Fri, 30 Aug 2013 15:55:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 96], ["updated_at", Fri, 30 Aug 2013 15:55:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 96) LIMIT 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" = 96) 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", Fri, 30 Aug 2013 15:55:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 96], ["updated_at", Fri, 30 Aug 2013 15:55:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (4.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 96) LIMIT 1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 96) 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", Fri, 30 Aug 2013 15:55:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 96], ["updated_at", Fri, 30 Aug 2013 15:55:36 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-30 17:55:36 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (4.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 96  (1.2ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 153 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 153 LIMIT 1  (9.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 154 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 154 LIMIT 1  (3.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 155 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 155 LIMIT 1  (0.9ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 156 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 156 LIMIT 1  (9.2ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 157 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 157 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 73ms (Views: 37.3ms | ActiveRecord: 33.3ms) Adherent::Member Load (5.2ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/153/adhesions" for 127.0.0.1 at 2013-08-30 17:55:36 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"153"} 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", "153"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 153 Redirected to http://www.example.com/adherent/members/153/adhesions/new Completed 302 Found in 14ms (ActiveRecord: 1.1ms) Started GET "/adherent/members/153/adhesions/new" for 127.0.0.1 at 2013-08-30 17:55:36 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"153"} Organism Load (5.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", "153"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 153 Adherent::Adhesion Load (3.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 153 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (158.5ms) 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 195ms (Views: 164.4ms | ActiveRecord: 9.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (2.7ms) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (5.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 97) LIMIT 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" = 97) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 97], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.1ms) RELEASE 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" = 97) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 97) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 97], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.1ms) RELEASE 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" = 97) LIMIT 1  (0.7ms) SAVEPOINT active_record_1 Adherent::Member Exists (5.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 97) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 97], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.1ms) RELEASE 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" = 97) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 97) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 97], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.1ms) RELEASE 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" = 97) LIMIT 1  (0.0ms) 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" = 97) LIMIT 1 SQL (6.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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 97], ["updated_at", Fri, 30 Aug 2013 15:55:37 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-30 17:55:37 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 97  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 158 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (1.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 158 LIMIT 1  (3.9ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 159 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 159 LIMIT 1  (4.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 160 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 160 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 161 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 161 LIMIT 1  (1.1ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 162 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 162 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 58ms (Views: 38.6ms | ActiveRecord: 16.8ms) Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/158/edit" for 127.0.0.1 at 2013-08-30 17:55:37 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"158"} 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", "158"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (10.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 24ms (Views: 17.8ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (2.0ms) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.1ms) RELEASE 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" = 98) LIMIT 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" = 98) LIMIT 1 SQL (1.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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 98], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.1ms) RELEASE 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" = 98) LIMIT 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" = 98) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 98], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.1ms) RELEASE 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" = 98) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 98) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 98], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.1ms) RELEASE 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" = 98) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 98) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 98], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 98) LIMIT 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" = 98) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 98], ["updated_at", Fri, 30 Aug 2013 15:55:37 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-30 17:55:37 +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" = 98  (1.0ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 163 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 163 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 164 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 164 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 165 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 165 LIMIT 1  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 166 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 166 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 167 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 167 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 43ms (Views: 34.5ms | ActiveRecord: 5.6ms) Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-30 17:55:37 +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 (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.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 13ms (Views: 10.8ms | ActiveRecord: 0.3ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.1ms) RELEASE 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" = 99) LIMIT 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" = 99) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 99], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 99) LIMIT 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" = 99) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 99], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.0ms) RELEASE 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" = 99) LIMIT 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" = 99) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 99], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.1ms) RELEASE 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" = 99) LIMIT 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" = 99) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 99], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 99) LIMIT 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" = 99) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 99], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members" for 127.0.0.1 at 2013-08-30 17:55:37 +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" = 99  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 168 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 168 LIMIT 1  (0.9ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 169 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 169 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 170 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 170 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 171 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 171 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 172 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 172 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 35ms (Views: 27.5ms | ActiveRecord: 5.3ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 168 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 168 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", #], ["created_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 168], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/168/adhesions" for 127.0.0.1 at 2013-08-30 17:55:37 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"168"} 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", "168"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 168 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 168  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 62 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 62 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: 19.0ms | ActiveRecord: 3.1ms)  (12.4ms) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 100) LIMIT 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" = 100) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 100], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.1ms) RELEASE 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" = 100) LIMIT 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" = 100) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 100], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.1ms) RELEASE 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" = 100) LIMIT 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" = 100) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 100], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.2ms) RELEASE 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" = 100) LIMIT 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" = 100) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 100], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.0ms) RELEASE 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" = 100) LIMIT 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" = 100) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 100], ["updated_at", Fri, 30 Aug 2013 15:55:37 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-30 17:55:37 +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" = 100  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 173 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 173 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 174 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 174 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 175 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 175 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 176 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 176 LIMIT 1  (0.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 177 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 177 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 38ms (Views: 30.2ms | ActiveRecord: 5.1ms) Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/173/coord" for 127.0.0.1 at 2013-08-30 17:55:37 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"173"} 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", "173"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 173 LIMIT 1 Redirected to http://www.example.com/adherent/members/173/coord/new Completed 302 Found in 4ms (ActiveRecord: 0.9ms) Started GET "/adherent/members/173/coord/new" for 127.0.0.1 at 2013-08-30 17:55:37 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"173"} 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", "173"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 173 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (71.0ms) Rendered layouts/adherent/_header.html.haml (0.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 81ms (Views: 77.0ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) COMMIT  (0.2ms) BEGIN 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.2ms) RELEASE 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" = 101) LIMIT 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" = 101) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 101], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.2ms) RELEASE 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" = 101) LIMIT 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" = 101) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 101], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.1ms) RELEASE 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" = 101) LIMIT 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" = 101) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 101], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.1ms) RELEASE 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" = 101) LIMIT 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" = 101) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 101], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.1ms) RELEASE 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" = 101) LIMIT 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" = 101) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 101], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-30 17:55:37 +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 (5.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 11ms (Views: 9.3ms | ActiveRecord: 0.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  Started POST "/adherent/members" for 127.0.0.1 at 2013-08-30 17:55:37 +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.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'ADH1' AND "adherent_members"."organism_id" = 101) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 101], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/183/coord/new Completed 302 Found in 9ms (ActiveRecord: 1.7ms) Started GET "/adherent/members/183/coord/new" for 127.0.0.1 at 2013-08-30 17:55:37 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"183"} Organism Load (0.8ms) 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", "183"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 183 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (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.1ms) Completed 200 OK in 18ms (Views: 13.5ms | ActiveRecord: 1.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1003", "id"=>"1004"} Organism Load (11.6ms) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 19ms (Views: 3.4ms | ActiveRecord: 12.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1005"} 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1007"} Organism Load (2.2ms) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1007/payments Completed 302 Found in 9ms (ActiveRecord: 4.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1009"} Organism Load (2.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1009/payments Completed 302 Found in 12ms (ActiveRecord: 5.1ms)  (1.7ms) ROLLBACK  (0.5ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1011"} Organism Load (0.6ms) 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", Fri, 30 Aug 2013 15:55:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:37 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.7ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.6ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1013"} 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", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.3ms | ActiveRecord: 0.9ms)  (1.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1014"} 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", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:38 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::ReglementsController#new as HTML Parameters: {"payment_id"=>"1016"} 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", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 4.2ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1019"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.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", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 2.2ms)  (0.1ms) ROLLBACK  (0.6ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1022"} 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", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1021/payments Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE 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" = 112) LIMIT 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" = 112) 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", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 112], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE 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" = 112) LIMIT 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" = 112) 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", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 112], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE 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" = 112) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 112) 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", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 112], ["updated_at", Fri, 30 Aug 2013 15:55:38 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.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 184 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 184 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", #], ["created_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 184], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/184/payments/new" for 127.0.0.1 at 2013-08-30 17:55:38 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"184"} 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", "184"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 184 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 63 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (13.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 32ms (Views: 18.1ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/184/payments" for 127.0.0.1 at 2013-08-30 17:55:38 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"184"} 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", "184"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 184], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 184 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 184 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 63 SQL (25.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 63], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["payment_id", 29], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/184/payments Completed 302 Found in 60ms (ActiveRecord: 28.8ms) Started GET "/adherent/members/184/payments" for 127.0.0.1 at 2013-08-30 17:55:38 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"184"} 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", "184"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 184 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 63 LIMIT 1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 184 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 184 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (79.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 92ms (Views: 87.1ms | ActiveRecord: 3.0ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 184 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 185 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 185 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", #], ["created_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 185], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:38 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" = 186 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 186 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", #], ["created_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 186], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/29/reglements/new" for 127.0.0.1 at 2013-08-30 17:55:38 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"29"} 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", "29"]] Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 184 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 29 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 185 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 64 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 186 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 65 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (14.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 32ms (Views: 20.4ms | ActiveRecord: 3.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  (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", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE 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" = 113) LIMIT 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" = 113) 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", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 113], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE 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" = 113) LIMIT 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" = 113) 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", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 113], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE 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" = 113) LIMIT 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" = 113) 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", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 113], ["updated_at", Fri, 30 Aug 2013 15:55:38 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" = 187 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 187 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", #], ["created_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 187], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/187/payments/new" for 127.0.0.1 at 2013-08-30 17:55:38 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"187"} 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", "187"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 187 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 66 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (7.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 19ms (Views: 11.9ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/187/payments" for 127.0.0.1 at 2013-08-30 17:55:38 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"187"} 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", "187"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 187], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 187 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 187 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 66 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", 66], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["payment_id", 30], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/187/payments Completed 302 Found in 12ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/187/payments" for 127.0.0.1 at 2013-08-30 17:55:38 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"187"} 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", "187"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 187 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 66 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 187 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 187 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 18ms (Views: 13.1ms | ActiveRecord: 2.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 187 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 188 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 188 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", #], ["created_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 188], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:38 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" = 189 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 189 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", #], ["created_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 189], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/30/reglements/new" for 127.0.0.1 at 2013-08-30 17:55:38 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"30"} 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", "30"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 187 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 30 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 188 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 67 Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 189 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 68 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (11.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 22ms (Views: 13.3ms | ActiveRecord: 3.7ms)  (0.5ms) 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", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE 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" = 114) LIMIT 1  (0.1ms) 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" = 114) 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", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 114], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE 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" = 114) LIMIT 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" = 114) 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", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 114], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE 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" = 114) LIMIT 1  (0.0ms) 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" = 114) 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", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 114], ["updated_at", Fri, 30 Aug 2013 15:55:38 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" = 190 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 190 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", #], ["created_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 190], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/190/payments/new" for 127.0.0.1 at 2013-08-30 17:55:38 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"190"} 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", "190"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 190 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 69 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 19ms (Views: 10.6ms | ActiveRecord: 1.6ms) Started POST "/adherent/members/190/payments" for 127.0.0.1 at 2013-08-30 17:55:38 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"190"} 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", "190"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 190], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 190 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 190 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 69 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", 69], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["payment_id", 31], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/190/payments Completed 302 Found in 14ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/190/payments" for 127.0.0.1 at 2013-08-30 17:55:38 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"190"} 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", "190"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 190 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 69 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 190 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 190 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 17ms (Views: 13.7ms | ActiveRecord: 2.3ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 190 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 191 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 191 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", #], ["created_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 191], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:38 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" = 192 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 192 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", #], ["created_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 192], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/31/reglements/new" for 127.0.0.1 at 2013-08-30 17:55:38 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"31"} 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", "31"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 190 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 31 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 192 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 71 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 191 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 70 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (10.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 22ms (Views: 13.6ms | ActiveRecord: 3.1ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE 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" = 115) LIMIT 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" = 115) 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", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 115], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE 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" = 115) LIMIT 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" = 115) 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", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 115], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE 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" = 115) LIMIT 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" = 115) 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", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 115], ["updated_at", Fri, 30 Aug 2013 15:55:38 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" = 193 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 193 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", #], ["created_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 193], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/193/payments/new" for 127.0.0.1 at 2013-08-30 17:55:38 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"193"} 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", "193"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 193 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 72 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 17ms (Views: 8.7ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/193/payments" for 127.0.0.1 at 2013-08-30 17:55:38 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"193"} 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", "193"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 193], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 193 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 193 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 72 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", 72], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["payment_id", 32], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/193/payments Completed 302 Found in 13ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/193/payments" for 127.0.0.1 at 2013-08-30 17:55:38 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"193"} 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", "193"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 193 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 72 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 193 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 193 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (10.5ms) Rendered layouts/adherent/_header.html.haml (0.7ms) 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.3ms | ActiveRecord: 2.6ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 193 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 194 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 194 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", #], ["created_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 194], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:38 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" = 195 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 195 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", #], ["created_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 195], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/32/reglements/new" for 127.0.0.1 at 2013-08-30 17:55:38 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"32"} 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", "32"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 193 LIMIT 1 Adherent::Reglement Load (3.8ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32 Adherent::Reglement Load (0.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32 Adherent::Adhesion Load (4.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (4.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 195 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 74 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 194 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 73 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (24.3ms) 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 42ms (Views: 18.7ms | ActiveRecord: 15.1ms) Adherent::Adhesion Load (5.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 193 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 193 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 32  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE 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" = 116) LIMIT 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" = 116) 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", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 116], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE 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" = 116) LIMIT 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" = 116) 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", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 116], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE 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" = 116) LIMIT 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" = 116) 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", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 116], ["updated_at", Fri, 30 Aug 2013 15:55:38 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" = 196 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 196 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", #], ["created_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 196], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/196/payments/new" for 127.0.0.1 at 2013-08-30 17:55:38 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"196"} 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", "196"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 196 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 75 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.1ms) Rendered layouts/adherent/_header.html.haml (0.4ms) 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.7ms) Started POST "/adherent/members/196/payments" for 127.0.0.1 at 2013-08-30 17:55:38 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"196"} Organism Load (0.8ms) 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", "196"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 196], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 196 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 196 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 75 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", 75], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["payment_id", 33], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/196/payments Completed 302 Found in 13ms (ActiveRecord: 3.3ms) Started GET "/adherent/members/196/payments" for 127.0.0.1 at 2013-08-30 17:55:38 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"196"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "196"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 196 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 75 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 196 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 Adherent::Reglement Load (0.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 196 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (8.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.6ms | ActiveRecord: 3.3ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 196 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 197 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 197 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", #], ["created_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 197], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:38 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" = 198 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 198 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", #], ["created_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 198], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/33/reglements/new" for 127.0.0.1 at 2013-08-30 17:55:38 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"33"} 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", "33"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 196 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 197 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 76 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 198 LIMIT 1  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 77 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (11.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 23ms (Views: 14.1ms | ActiveRecord: 3.7ms) Started POST "/adherent/payments/33/reglements" for 127.0.0.1 at 2013-08-30 17:55:38 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"76"}, "commit"=>"Enregistrer", "payment_id"=>"33"} 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", "33"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "76"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 76  (1.2ms) 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", 76], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["payment_id", 33], ["updated_at", Fri, 30 Aug 2013 15:55:39 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" = 196 LIMIT 1 Redirected to http://www.example.com/adherent/members/196/payments Completed 302 Found in 10ms (ActiveRecord: 3.5ms) Started GET "/adherent/members/196/payments" for 127.0.0.1 at 2013-08-30 17:55:39 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"196"} 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", "196"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 196 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 75 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 196 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 76 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 197 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 33 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 196 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (13.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: 16.2ms | ActiveRecord: 2.6ms)  (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", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.1ms) RELEASE 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" = 117) LIMIT 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" = 117) 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", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 117], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.1ms) RELEASE 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" = 117) LIMIT 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" = 117) 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", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 117], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.1ms) RELEASE 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" = 117) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 117) 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", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 117], ["updated_at", Fri, 30 Aug 2013 15:55: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 (3.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 199 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 199 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 199], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/199/payments/new" for 127.0.0.1 at 2013-08-30 17:55:39 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"199"} 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", "199"]] Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 199 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 78 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (5.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 16ms (Views: 9.5ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/199/payments" for 127.0.0.1 at 2013-08-30 17:55:39 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"199"} 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", "199"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 199], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 199 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 199 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 78 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", 78], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["payment_id", 34], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/199/payments Completed 302 Found in 13ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/199/payments" for 127.0.0.1 at 2013-08-30 17:55:39 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"199"} 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", "199"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 199 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 78 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 199 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 199 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 17ms (Views: 13.2ms | ActiveRecord: 2.6ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 199 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (1.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 200 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 200 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", #], ["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 200], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:39 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" = 201 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 201 ORDER BY to_date DESC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (5.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", #], ["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 201], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/34/reglements/new" for 127.0.0.1 at 2013-08-30 17:55:39 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"34"} 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", "34"]] Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 199 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 Adherent::Reglement Load (1.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 201 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 80 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 200 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 79 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (10.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 21ms (Views: 13.1ms | ActiveRecord: 3.8ms) Started POST "/adherent/payments/34/reglements" for 127.0.0.1 at 2013-08-30 17:55:39 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"79"}, "commit"=>"Enregistrer", "payment_id"=>"34"} 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", "34"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "79"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 79  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 79], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["payment_id", 34], ["updated_at", Fri, 30 Aug 2013 15:55:39 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" = 199 LIMIT 1 Redirected to http://www.example.com/adherent/members/199/payments Completed 302 Found in 10ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/199/payments" for 127.0.0.1 at 2013-08-30 17:55:39 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"199"} Organism Load (0.3ms) 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", "199"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 199 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 78 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 199 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 79 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 200 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 34 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 199 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (13.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 20ms (Views: 15.1ms | ActiveRecord: 3.3ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements"   (1.0ms) 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.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", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.1ms) RELEASE 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" = 118) LIMIT 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" = 118) 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", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 118], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.1ms) RELEASE 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" = 118) LIMIT 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" = 118) 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", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 118], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.1ms) RELEASE 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" = 118) LIMIT 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" = 118) 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", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 118], ["updated_at", Fri, 30 Aug 2013 15:55:39 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.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 202 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 202 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 202], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/202/payments/new" for 127.0.0.1 at 2013-08-30 17:55:39 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"202"} 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", "202"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 202 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 81 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 17ms (Views: 10.1ms | ActiveRecord: 1.2ms) Started POST "/adherent/members/202/payments" for 127.0.0.1 at 2013-08-30 17:55:39 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"202"} 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", "202"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 202], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 202 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 202 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 81 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", 81], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["payment_id", 35], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/202/payments Completed 302 Found in 13ms (ActiveRecord: 3.1ms) Started GET "/adherent/members/202/payments" for 127.0.0.1 at 2013-08-30 17:55:39 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"202"} 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", "202"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 202 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 81 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 202 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 202 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 17ms (Views: 12.8ms | ActiveRecord: 2.2ms) Adherent::Payment Load (5.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 202 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 203 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 203 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.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", #], ["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 203], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 204 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 204 ORDER BY to_date DESC LIMIT 1  (1.7ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 204], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/35/reglements/new" for 127.0.0.1 at 2013-08-30 17:55:39 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"35"} Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (1.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "35"]] Adherent::Member Load (2.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 202 LIMIT 1 Adherent::Reglement Load (1.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 Adherent::Reglement Load (3.9ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 203 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 82 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 204 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 83 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 34ms (Views: 15.3ms | ActiveRecord: 12.1ms) Started POST "/adherent/payments/35/reglements" for 127.0.0.1 at 2013-08-30 17:55:39 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"82"}, "commit"=>"Enregistrer", "payment_id"=>"35"} 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", "35"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "82"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 82  (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", 82], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["payment_id", 35], ["updated_at", Fri, 30 Aug 2013 15:55:39 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" = 202 LIMIT 1 Redirected to http://www.example.com/adherent/members/202/payments Completed 302 Found in 10ms (ActiveRecord: 2.4ms) Started GET "/adherent/members/202/payments" for 127.0.0.1 at 2013-08-30 17:55:39 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"202"} 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", "202"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 202 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 81 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 202 LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 82 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 203 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 35 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 202 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (13.1ms) 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 20ms (Views: 15.5ms | ActiveRecord: 2.9ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 81 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 202 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.0ms) RELEASE 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" = 119) LIMIT 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" = 119) 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", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 119], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.1ms) RELEASE 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" = 119) LIMIT 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" = 119) 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", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 119], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.2ms) RELEASE 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" = 119) LIMIT 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" = 119) 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", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 119], ["updated_at", Fri, 30 Aug 2013 15:55: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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 205 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 205 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", #], ["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 205], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/205/payments/new" for 127.0.0.1 at 2013-08-30 17:55:39 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"205"} 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", "205"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 205 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 84 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 20ms (Views: 10.6ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/205/payments" for 127.0.0.1 at 2013-08-30 17:55:39 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"205"} 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", "205"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 205], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 205 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 205 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 84 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", 84], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["payment_id", 36], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/205/payments Completed 302 Found in 14ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/205/payments" for 127.0.0.1 at 2013-08-30 17:55:39 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"205"} 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", "205"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 205 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 84 LIMIT 1 Adherent::Member Load (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 205 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 205 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.6ms) Rendered layouts/adherent/_header.html.haml (0.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) 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.3ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 205 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 206 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 206 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", #], ["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 206], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:39 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" = 207 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 207 ORDER BY to_date DESC LIMIT 1  (0.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", #], ["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 207], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/36/reglements/new" for 127.0.0.1 at 2013-08-30 17:55:39 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"36"} 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", "36"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 205 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 Adherent::Adhesion Load (1.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 207 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 86 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 206 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 85 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (12.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 24ms (Views: 14.6ms | ActiveRecord: 4.6ms) Started POST "/adherent/payments/36/reglements" for 127.0.0.1 at 2013-08-30 17:55:39 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"85"}, "commit"=>"Enregistrer", "payment_id"=>"36"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (1.0ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "36"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "85"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 85  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 85], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["payment_id", 36], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (1.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 205 LIMIT 1 Redirected to http://www.example.com/adherent/members/205/payments Completed 302 Found in 18ms (ActiveRecord: 4.8ms) Started GET "/adherent/members/205/payments" for 127.0.0.1 at 2013-08-30 17:55:39 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"205"} 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", "205"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 205 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 84 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 205 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 85 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 206 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 36 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 205 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (13.7ms) 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 23ms (Views: 17.3ms | ActiveRecord: 3.2ms) Adherent::Reglement Load (0.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" ORDER BY "adherent_reglements"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 85 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 206 LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.1ms) RELEASE 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" = 120) LIMIT 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" = 120) 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", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 120], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.1ms) RELEASE 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" = 120) LIMIT 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" = 120) 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", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 120], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.1ms) RELEASE 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" = 120) LIMIT 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" = 120) 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", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 120], ["updated_at", Fri, 30 Aug 2013 15:55: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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 208 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 208 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", #], ["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 208], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/208/payments/new" for 127.0.0.1 at 2013-08-30 17:55:39 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"208"} 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", "208"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 208 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 87 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 18ms (Views: 9.8ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/208/payments" for 127.0.0.1 at 2013-08-30 17:55:39 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"208"} 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", "208"]]  (0.8ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 208], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 208 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 208 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 87 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 87], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["payment_id", 37], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/208/payments Completed 302 Found in 16ms (ActiveRecord: 3.9ms) Started GET "/adherent/members/208/payments" for 127.0.0.1 at 2013-08-30 17:55:39 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"208"} 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", "208"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 208 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 87 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 208 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 208 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (10.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 18ms (Views: 13.4ms | ActiveRecord: 2.5ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 208 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 209 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 209 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", #], ["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 209], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:39 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" = 210 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 210 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", #], ["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 210], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/37/reglements/new" for 127.0.0.1 at 2013-08-30 17:55:39 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"37"} Organism Load (0.2ms) 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", "37"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 208 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 210 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 89 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 209 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 88 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (11.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.1ms | ActiveRecord: 2.8ms) Started POST "/adherent/payments/37/reglements" for 127.0.0.1 at 2013-08-30 17:55:39 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"88"}, "commit"=>"Enregistrer", "payment_id"=>"37"} Organism Load (0.2ms) 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", "37"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "88"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 88  (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", 88], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["payment_id", 37], ["updated_at", Fri, 30 Aug 2013 15:55:39 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" = 208 LIMIT 1 Redirected to http://www.example.com/adherent/members/208/payments Completed 302 Found in 10ms (ActiveRecord: 2.1ms) Started GET "/adherent/members/208/payments" for 127.0.0.1 at 2013-08-30 17:55:39 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"208"} 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", "208"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 208 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 87 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 208 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 88 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 209 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 37 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 208 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (12.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 20ms (Views: 15.4ms | ActiveRecord: 3.0ms) Adherent::Adhesion Load (0.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 209 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 88  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.2ms) RELEASE 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" = 121) LIMIT 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" = 121) 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", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 121], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.1ms) RELEASE 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" = 121) LIMIT 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" = 121) 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", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 121], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.1ms) RELEASE 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" = 121) LIMIT 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" = 121) 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", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 121], ["updated_at", Fri, 30 Aug 2013 15:55: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" = 211 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 211 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", #], ["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 211], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/211/payments/new" for 127.0.0.1 at 2013-08-30 17:55:39 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"211"} 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", "211"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 211 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 90 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (63.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 74ms (Views: 66.3ms | ActiveRecord: 2.2ms) Started POST "/adherent/members/211/payments" for 127.0.0.1 at 2013-08-30 17:55:39 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"211"} Organism Load (0.9ms) 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", "211"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 211], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 211 LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 211 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 90 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", 90], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["payment_id", 38], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/211/payments Completed 302 Found in 14ms (ActiveRecord: 4.2ms) Started GET "/adherent/members/211/payments" for 127.0.0.1 at 2013-08-30 17:55:39 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"211"} 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", "211"]] Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 211 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 90 LIMIT 1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 211 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 38 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 211 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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 18ms (Views: 12.7ms | ActiveRecord: 3.0ms)  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 211 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (91.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:39 UTC +00:00]]  (0.2ms) RELEASE 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" = 122) LIMIT 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" = 122) 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", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 122], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 122) LIMIT 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" = 122) 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", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 122], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 122) LIMIT 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" = 122) 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", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 122], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 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" = 214 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 214 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", #], ["created_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 214], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/214/payments/new" for 127.0.0.1 at 2013-08-30 17:55:40 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"214"} 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", "214"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 214 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 91 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 16ms (Views: 9.9ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/214/payments" for 127.0.0.1 at 2013-08-30 17:55:40 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"214"} 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", "214"]]  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 214], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 214 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 214 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 91 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", 91], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["payment_id", 39], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/214/payments Completed 302 Found in 15ms (ActiveRecord: 3.4ms) Started GET "/adherent/members/214/payments" for 127.0.0.1 at 2013-08-30 17:55:40 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"214"} 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", "214"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 214 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 91 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 214 LIMIT 1 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39  (1.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 214 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.3ms) Completed 200 OK in 19ms (Views: 14.0ms | ActiveRecord: 3.1ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 214 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 39  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) 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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 123) LIMIT 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" = 123) 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", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 123], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 123) LIMIT 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" = 123) 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", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 123], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 123) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 123) 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", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 123], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 217 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 217 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", #], ["created_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 217], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/217/payments/new" for 127.0.0.1 at 2013-08-30 17:55:40 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"217"} 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", "217"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 217 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (4.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 18ms (Views: 9.1ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/217/payments" for 127.0.0.1 at 2013-08-30 17:55:40 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"217"} 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", "217"]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 217], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]] Adherent::Member Load (6.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 217 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 217 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 92 SQL (3.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 92], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["payment_id", 40], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/217/payments Completed 302 Found in 22ms (ActiveRecord: 12.3ms) Started GET "/adherent/members/217/payments" for 127.0.0.1 at 2013-08-30 17:55:40 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"217"} Organism Load (3.3ms) 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", "217"]] Adherent::Payment Load (3.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 217 Adherent::Reglement Load (3.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 40 Adherent::Adhesion Load (3.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 92 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 217 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 40  (3.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 40 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 40 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 40 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 217 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (20.1ms) 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: 14.3ms | ActiveRecord: 18.7ms)  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 217 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) 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 (5.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (0.3ms) RELEASE 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" = 124) LIMIT 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" = 124) 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", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 124], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (1.5ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (5.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 124) LIMIT 1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 124) 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", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 124], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 124) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 124) 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", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 124], ["updated_at", Fri, 30 Aug 2013 15:55:40 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" = 220 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 220 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 220], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (3.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/220/payments/new" for 127.0.0.1 at 2013-08-30 17:55:40 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"220"} Organism Load (6.9ms) 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", "220"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 220 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (3.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 93 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (12.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 33ms (Views: 16.0ms | ActiveRecord: 11.7ms) Started POST "/adherent/members/220/payments" for 127.0.0.1 at 2013-08-30 17:55:40 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"220"} Organism Load (9.0ms) 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", "220"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 220], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]] Adherent::Member Load (7.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 220 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 220 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 93 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", 93], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["payment_id", 41], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/220/payments Completed 302 Found in 29ms (ActiveRecord: 18.6ms) Started GET "/adherent/members/220/payments" for 127.0.0.1 at 2013-08-30 17:55:40 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"220"} Organism Load (8.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", "220"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 220 Adherent::Reglement Load (2.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 41 Adherent::Adhesion Load (1.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 93 LIMIT 1 Adherent::Member Load (2.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 220 LIMIT 1 Adherent::Reglement Load (0.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 41  (2.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 41 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 41 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 41 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 220 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.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 38ms (Views: 17.6ms | ActiveRecord: 19.1ms) Adherent::Adhesion Load (5.0ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 220 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 93  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) COMMIT  (4.4ms) 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", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 125) LIMIT 1  (0.1ms) 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" = 125) 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", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 125], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (3.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 125) LIMIT 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" = 125) 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", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 125], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (3.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 125) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (5.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 125) 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", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 125], ["updated_at", Fri, 30 Aug 2013 15:55:40 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" = 223 Adherent::Adhesion Load (6.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 223 ORDER BY to_date DESC LIMIT 1  (0.5ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 223], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "adherent_reglements"  Started GET "/adherent/members/223/payments/new" for 127.0.0.1 at 2013-08-30 17:55:40 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"223"} Organism Load (6.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", "223"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 223 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (4.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 94 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (14.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 34ms (Views: 17.2ms | ActiveRecord: 11.3ms) Started POST "/adherent/members/223/payments" for 127.0.0.1 at 2013-08-30 17:55:40 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"223"} Organism Load (5.8ms) 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", "223"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 223], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]] Adherent::Member Load (14.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 223 LIMIT 1 Adherent::Adhesion Load (1.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 223 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (5.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 94 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", 94], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["payment_id", 42], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/223/payments Completed 302 Found in 142ms (ActiveRecord: 28.9ms) Started GET "/adherent/members/223/payments" for 127.0.0.1 at 2013-08-30 17:55:40 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"223"} 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", "223"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 223 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 94 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 223 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42 Adherent::Reglement Load (5.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 42 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 223 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (19.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 27ms (Views: 18.5ms | ActiveRecord: 7.3ms)  (3.9ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (3.3ms) BEGIN Organism Load (0.8ms) 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", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (7.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 126) LIMIT 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" = 126) 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", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 126], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 126) LIMIT 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" = 126) 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", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 126], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 126) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 126) 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", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 126], ["updated_at", Fri, 30 Aug 2013 15:55:40 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" = 226 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 226 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (6.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", #], ["created_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 226], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 226 Started GET "/adherent/members/226/payments/new" for 127.0.0.1 at 2013-08-30 17:55:40 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"226"} Organism Load (0.3ms) 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", "226"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 226 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (2.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (15.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 32ms (Views: 19.6ms | ActiveRecord: 3.9ms) Started POST "/adherent/members/226/payments" for 127.0.0.1 at 2013-08-30 17:55:40 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"226"} Organism Load (5.1ms) 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", "226"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 226], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]] Adherent::Member Load (5.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 226 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 226 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 95 SQL (1.0ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 95], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["payment_id", 43], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (5.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/226/payments Completed 302 Found in 33ms (ActiveRecord: 18.7ms) Started GET "/adherent/members/226/payments" for 127.0.0.1 at 2013-08-30 17:55:40 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"226"} Organism Load (2.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "226"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 226 Adherent::Reglement Load (5.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 95 LIMIT 1 Adherent::Member Load (1.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 226 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43  (3.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 43 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 226 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (18.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: 15.1ms | ActiveRecord: 16.3ms)  (5.0ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 226  (0.1ms) 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.0ms) 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", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (0.1ms) RELEASE 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" = 127) LIMIT 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" = 127) 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", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 127], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (2.3ms) RELEASE 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" = 127) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (5.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 127) 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", Fri, 30 Aug 2013 15:55:40 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 127], ["updated_at", Fri, 30 Aug 2013 15:55:40 UTC +00:00]]  (0.3ms) RELEASE 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" = 127) LIMIT 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" = 127) 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", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 127], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (4.2ms) 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" = 229 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 229 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.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", #], ["created_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 229], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/229/payments/new" for 127.0.0.1 at 2013-08-30 17:55:41 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"229"} 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", "229"]] Adherent::Adhesion Load (5.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 229 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 30ms (Views: 13.8ms | ActiveRecord: 6.5ms) Started POST "/adherent/members/229/payments" for 127.0.0.1 at 2013-08-30 17:55:41 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"229"} Organism Load (4.2ms) 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"."id" = $1 LIMIT 1 [["id", "229"]]  (0.2ms) SAVEPOINT active_record_1 SQL (8.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 229], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 229 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 229 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (7.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 96 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", 96], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["payment_id", 44], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/229/payments Completed 302 Found in 38ms (ActiveRecord: 27.1ms) Started GET "/adherent/members/229/payments" for 127.0.0.1 at 2013-08-30 17:55:41 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"229"} Organism Load (4.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", "229"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 229 Adherent::Reglement Load (3.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 44 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 96 LIMIT 1 Adherent::Member Load (4.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 229 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 44  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 44 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 44 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 44 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 229 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (16.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 28ms (Views: 12.0ms | ActiveRecord: 14.1ms)  (4.0ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 229 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Organism Load (6.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) 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", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 1.2ms | ActiveRecord: 7.2ms)  (3.1ms) 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 (5.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 5.6ms)  (0.1ms) ROLLBACK  (1.6ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001", "birthdate"=>"06/06/1955"}} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:41 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" = 'A001' AND "adherent_members"."organism_id" = 130) 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", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 130], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (6.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/232/coord/new Completed 302 Found in 18ms (ActiveRecord: 12.4ms)  (0.1ms) ROLLBACK  (0.0ms) 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  (2.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", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (6.5ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 15ms (Views: 1.3ms | ActiveRecord: 9.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (4.0ms) 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", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.6ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 132) 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", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 132], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/233/coord/new Completed 302 Found in 19ms (ActiveRecord: 10.7ms)  (4.7ms) ROLLBACK  (0.0ms) 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  (3.7ms) 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", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:41 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" = 'A001' AND "adherent_members"."organism_id" = 133) 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", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 133], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/234/coord/new Completed 302 Found in 19ms (ActiveRecord: 8.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML Organism Load (2.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (4.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", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 0.8ms | ActiveRecord: 7.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1025"} Organism Load (2.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (6.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1025 Completed 302 Found in 16ms (ActiveRecord: 8.8ms)  (2.0ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1026"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (0.9ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1026 Completed 302 Found in 14ms (ActiveRecord: 2.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1027"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 0.8ms | ActiveRecord: 0.7ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1028"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (1.6ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1028 Completed 302 Found in 11ms (ActiveRecord: 2.4ms)  (4.8ms) ROLLBACK  (0.3ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1029"} Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (4.6ms) 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", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 9ms (ActiveRecord: 5.6ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1030"} Organism Load (5.7ms) 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", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 10ms (ActiveRecord: 6.3ms)  (0.1ms) ROLLBACK  (1.8ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} 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", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 2.2ms | ActiveRecord: 0.8ms)  (2.7ms) ROLLBACK  (0.1ms) 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.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", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (3.7ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML 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", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 143 Completed 200 OK in 11ms (Views: 0.9ms | ActiveRecord: 1.2ms)  (1.8ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) 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", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 17ms (Views: 1.2ms | ActiveRecord: 3.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index 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.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1033/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1034"} Organism Load (4.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 1.0ms | ActiveRecord: 4.9ms)  (3.9ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1035"} Organism Load (4.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", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 5.0ms)  (5.0ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1036"} Organism Load (5.8ms) 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", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 10ms (Views: 1.1ms | ActiveRecord: 6.5ms)  (2.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1038", "id"=>"1"} Organism Load (3.3ms) 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", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.3ms | ActiveRecord: 7.7ms)  (6.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1040", "id"=>"1"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (5.5ms) 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", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 1.8ms | ActiveRecord: 6.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1042"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (7.9ms) 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", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1042/adhesions Completed 302 Found in 19ms (ActiveRecord: 9.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1044"} Organism Load (3.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (4.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1044/adhesions Completed 302 Found in 14ms (ActiveRecord: 9.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1046"} Organism Load (3.5ms) 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", Fri, 30 Aug 2013 15:55:41 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:41 UTC +00:00]]  (0.4ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 152ms (Views: 7.7ms | ActiveRecord: 6.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1048", "id"=>"1"} Organism Load (0.6ms) 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", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 17ms (Views: 7.4ms | ActiveRecord: 2.0ms)  (1.7ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1050", "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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1050/adhesions Completed 302 Found in 13ms (ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1052", "id"=>"1"} Organism Load (1.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) 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", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 3.5ms | ActiveRecord: 2.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1054", "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", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1054/adhesions Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 158) LIMIT 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" = 158) 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", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 158], ["updated_at", Fri, 30 Aug 2013 15:55: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/235/coord/new" for 127.0.0.1 at 2013-08-30 17:55:42 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"235"} 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", "235"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 235 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (9.0ms) 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 17ms (Views: 11.8ms | ActiveRecord: 1.0ms) Started POST "/adherent/members/235/coord" for 127.0.0.1 at 2013-08-30 17:55:42 +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"=>"235"} Organism Load (0.3ms) 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", "235"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 235 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", ""], ["created_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 235], ["office", ""], ["tel", ""], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/235/adhesions/new Completed 302 Found in 7ms (ActiveRecord: 1.6ms) Started GET "/adherent/members/235/adhesions/new" for 127.0.0.1 at 2013-08-30 17:55:42 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"235"} 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", "235"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 235 Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 235 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 14ms (Views: 8.5ms | ActiveRecord: 1.6ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 159) LIMIT 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" = 159) 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", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 159], ["updated_at", Fri, 30 Aug 2013 15:55: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/236/coord/new" for 127.0.0.1 at 2013-08-30 17:55:42 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"236"} 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", "236"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 236 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 20ms (Views: 15.1ms | ActiveRecord: 0.7ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_coords"  Started POST "/adherent/members/236/coord" for 127.0.0.1 at 2013-08-30 17:55:42 +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"=>"236"} 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", "236"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 236 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", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 236], ["office", ""], ["tel", ""], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/236/adhesions/new Completed 302 Found in 10ms (ActiveRecord: 1.5ms) Started GET "/adherent/members/236/adhesions/new" for 127.0.0.1 at 2013-08-30 17:55:42 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"236"} 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", "236"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 236 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 236 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 17ms (Views: 8.7ms | ActiveRecord: 1.1ms)  (1.1ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) 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", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 160) LIMIT 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" = 160) 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", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 160], ["updated_at", Fri, 30 Aug 2013 15:55: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/237/coord/new" for 127.0.0.1 at 2013-08-30 17:55:42 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"237"} 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", "237"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 237 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (9.0ms) Rendered layouts/adherent/_header.html.haml (0.2ms) 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.1ms) Completed 200 OK in 18ms (Views: 13.3ms | ActiveRecord: 0.7ms) Started POST "/adherent/members/237/coord" for 127.0.0.1 at 2013-08-30 17:55:42 +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"=>"237"} Organism Load (0.7ms) 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", "237"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 237 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", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 237], ["office", ""], ["tel", ""], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/237/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 1.9ms) Started GET "/adherent/members/237/adhesions/new" for 127.0.0.1 at 2013-08-30 17:55:42 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"237"} 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", "237"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 237 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 237 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 14ms (Views: 9.4ms | ActiveRecord: 1.0ms) Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 237 LIMIT 1  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 161) LIMIT 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" = 161) 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", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 161], ["updated_at", Fri, 30 Aug 2013 15:55: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/238/coord/new" for 127.0.0.1 at 2013-08-30 17:55:42 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"238"} 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", "238"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 238 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (10.9ms) 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.3ms) Completed 200 OK in 20ms (Views: 15.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1056"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) 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", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1058"} 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", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.2ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1060"} 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", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1062"} 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", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1064"} 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", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.5ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_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", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1066/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1068"} 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", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1070"} Organism Load (7.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.8ms) 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", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 80ms (Views: 1.5ms | ActiveRecord: 10.8ms)  (3.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1072"} 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", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1072/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"=>"1074"} Organism Load (1.1ms) 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", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1076"} 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", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1076/coord Completed 302 Found in 7ms (ActiveRecord: 1.1ms)  (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", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 173) LIMIT 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" = 173) 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", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 173], ["updated_at", Fri, 30 Aug 2013 15:55:42 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" = 239 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 239 ORDER BY to_date DESC LIMIT 1  (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 239], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/239/payments/new" for 127.0.0.1 at 2013-08-30 17:55:42 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"239"} 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", "239"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 239 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date 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 17ms (Views: 9.6ms | ActiveRecord: 1.2ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 174) LIMIT 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" = 174) 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", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 174], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 240 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 240 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", #], ["created_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 240], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/240/payments/new" for 127.0.0.1 at 2013-08-30 17:55:42 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"240"} 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", "240"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 240 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date 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 15ms (Views: 9.7ms | ActiveRecord: 1.1ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 240 Started POST "/adherent/members/240/payments" for 127.0.0.1 at 2013-08-30 17:55:42 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"240"} 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", "240"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 240], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 240 LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 240 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/240/payments Completed 302 Found in 12ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/240/payments" for 127.0.0.1 at 2013-08-30 17:55:42 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"240"} 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", "240"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 240 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 45 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 45  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 45 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 45 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 45 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 240 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (7.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 14ms (Views: 10.9ms | ActiveRecord: 2.0ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 240  (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.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", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00]]  (0.1ms) RELEASE 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" = 175) LIMIT 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" = 175) 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", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 175], ["updated_at", Fri, 30 Aug 2013 15:55:42 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" = 241 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 241 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", #], ["created_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 241], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 241], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:55:42 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 241 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 241 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/241/payments" for 127.0.0.1 at 2013-08-30 17:55:42 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"241"} Organism Load (1.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", "241"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 241 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 46 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 241 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (7.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 18ms (Views: 11.0ms | ActiveRecord: 3.4ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 176) LIMIT 1  (0.2ms) 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" = 176) 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", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 176], ["updated_at", Fri, 30 Aug 2013 15:55:43 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" = 242 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 242 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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 242], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:43 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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 242], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 242 LIMIT 1 Adherent::Adhesion Load (2.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 242 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/242/payments" for 127.0.0.1 at 2013-08-30 17:55:43 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"242"} 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", "242"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 242 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 242 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.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 17ms (Views: 12.9ms | ActiveRecord: 2.2ms) Started GET "/adherent/payments/47/reglements/new" for 127.0.0.1 at 2013-08-30 17:55:43 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"47"} 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", "47"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 242 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 Adherent::Reglement Load (0.9ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 47 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_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 15ms (Views: 8.8ms | ActiveRecord: 2.6ms)  (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" = '001' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (1.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", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:55:43 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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 243], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 15:55:43 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" = 243 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 243 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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 243], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 243], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 243 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 243 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 101 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", 101], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["payment_id", 48], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.6ms) 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", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (13.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 244], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 244 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 244 ORDER BY to_date DESC LIMIT 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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 244], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 15:55:43 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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 244], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 244 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 244 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 103 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", 103], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["payment_id", 49], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 104 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", 104], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["payment_id", 49], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.4ms) 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" = '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", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:55:43 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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 245], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 15:55:43 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" = 245 Adherent::Adhesion Load (1.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 245 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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 245], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 15:55:43 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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 245], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 245 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 245 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 105 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", 105], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["payment_id", 50], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 106 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 106], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["payment_id", 50], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 50  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 50  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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.1ms) ROLLBACK  (0.1ms) 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) 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.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", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.3ms) 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" = '002' 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", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:55:43 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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 246], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 247], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 247], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 247 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 247 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 108 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", 108], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["payment_id", 51], ["updated_at", Fri, 30 Aug 2013 15:55:43 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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 246], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 246 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 246 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (1.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 107 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", 107], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["payment_id", 52], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (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.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", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:55: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" = '002' 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", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 248], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 15:55:43 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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 249], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (5.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 249], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]] Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 249 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 249 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 110 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", 110], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["payment_id", 53], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY "adherent_adhesions"."id" DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (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", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:55:43 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" = '002' 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", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 250], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 251], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 251], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 251 LIMIT 1 Adherent::Adhesion Load (1.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 251 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (1.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 112 SQL (0.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 112], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["payment_id", 54], ["updated_at", Fri, 30 Aug 2013 15:55:43 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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 251], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 251 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 251 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 112 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", 112], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["payment_id", 55], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 250], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 250 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 250 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 111 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", 111], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["payment_id", 56], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL)  (1.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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:43 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" = 113  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 113], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 15:55:43 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" = 113  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 113  (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:43 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" = 114  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 114], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 114  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:43 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" = 115  (0.2ms) 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", 115], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.6ms) BEGIN  (0.1ms) 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.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) 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", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 177) LIMIT 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" = 177) 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", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 177], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members/252/adhesions/new" for 127.0.0.1 at 2013-08-30 17:55:43 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"252"} Organism Load (7.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", "252"]] Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 252 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 252 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (17.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 34ms (Views: 21.7ms | ActiveRecord: 8.1ms)  (0.1ms) ROLLBACK  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 178) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (7.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 178) 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", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 178], ["updated_at", Fri, 30 Aug 2013 15:55: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/253/adhesions/new" for 127.0.0.1 at 2013-08-30 17:55:43 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"253"} 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", "253"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 253 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 253 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (9.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 28ms (Views: 12.8ms | ActiveRecord: 1.3ms)  (4.8ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 253 Started POST "/adherent/members/253/adhesions" for 127.0.0.1 at 2013-08-30 17:55:43 +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"=>"253"} Organism Load (3.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", "253"]]  (1.2ms) SAVEPOINT active_record_1 SQL (4.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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 253], ["to_date", Thu, 31 Jul 2014], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/253/adhesions Completed 302 Found in 15ms (ActiveRecord: 10.1ms) Started GET "/adherent/members/253/adhesions" for 127.0.0.1 at 2013-08-30 17:55:43 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"253"} Organism Load (5.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", "253"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 253 Adherent::Adhesion Load (3.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 253  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 116 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 116 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: 13.1ms | ActiveRecord: 10.0ms)  (1.7ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 253  (0.3ms) ROLLBACK  (5.2ms) BEGIN Organism Load (0.3ms) 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", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.2ms) RELEASE 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" = 179) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 179) 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", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 179], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (5.9ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"   (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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 254], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/254/adhesions" for 127.0.0.1 at 2013-08-30 17:55:43 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"254"} Organism Load (8.8ms) 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", "254"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 254 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 254  (4.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 117 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 117 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 30ms (Views: 13.4ms | ActiveRecord: 14.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (6.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", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.1ms) RELEASE 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" = 180) LIMIT 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" = 180) 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", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 180], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (5.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  (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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 255], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/255/adhesions" for 127.0.0.1 at 2013-08-30 17:55:43 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"255"} 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", "255"]]  (6.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 255 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 255  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 118 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 118 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: 12.3ms | ActiveRecord: 7.5ms) Started GET "/adherent/members/255/adhesions/118/edit" for 127.0.0.1 at 2013-08-30 17:55:43 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"255", "id"=>"118"} Organism Load (3.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", "255"]] Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 255 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "118"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (13.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 25ms (Views: 17.3ms | ActiveRecord: 4.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Organism Load (2.6ms) 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", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (4.2ms) RELEASE 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" = 181) LIMIT 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" = 181) 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", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 181], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (1.7ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 256], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/256/adhesions" for 127.0.0.1 at 2013-08-30 17:55:43 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"256"} 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", "256"]]  (5.5ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 256 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 256  (3.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 119 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 119 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: 7.3ms | ActiveRecord: 10.1ms) Started GET "/adherent/members/256/payments/new" for 127.0.0.1 at 2013-08-30 17:55:43 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"256"} Organism Load (5.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (5.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "256"]] Adherent::Adhesion Load (1.0ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 256 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 119 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (18.7ms) Rendered layouts/adherent/_header.html.haml (0.4ms) 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 39ms (Views: 22.2ms | ActiveRecord: 11.8ms)  (5.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AllpaymentsController#index as HTML Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (3.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", Fri, 30 Aug 2013 15:55:43 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:55:43 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Payment Load (4.6ms) SELECT "adherent_payments".* FROM "adherent_payments" INNER JOIN "adherent_members" ON "adherent_payments"."member_id" = "adherent_members"."id" WHERE "adherent_members"."organism_id" = 182 Completed 200 OK in 33ms (Views: 1.9ms | ActiveRecord: 10.2ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Adherent::Member Exists (5.9ms) 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.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 (5.9ms) 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.2ms) 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 (4.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Tue, 06 Jun 1944], ["created_at", Fri, 30 Aug 2013 15:55:44 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:55:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (7.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' 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", Fri, 30 Aug 2013 15:55:44 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:55:44 UTC +00:00]]  (0.4ms) RELEASE 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  (5.5ms) 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", Fri, 30 Aug 2013 15:55:44 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:55:44 UTC +00:00]]  (0.1ms) RELEASE 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" = 2) LIMIT 1  (0.1ms) ROLLBACK  (2.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN Adherent::Adhesion Load (1.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.8ms) ROLLBACK  (0.1ms) BEGIN Adherent::Adhesion Load (7.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) 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  (6.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Fri, 30 Aug 2013 15:55:44 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:55:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 260 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 260 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", #], ["created_at", Fri, 30 Aug 2013 15:55:44 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 260], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:44 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" = 260 Adherent::Adhesion Load (2.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 260 ORDER BY to_date DESC LIMIT 1  (6.0ms) 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", Fri, 30 Aug 2013 15:55:44 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:55:44 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" = 261 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 261 ORDER BY to_date DESC LIMIT 1  (1.9ms) SAVEPOINT active_record_1 SQL (4.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", #], ["created_at", Fri, 30 Aug 2013 15:55:44 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 261], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:44 UTC +00:00]]  (1.4ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 261 Adherent::Adhesion Load (6.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 261 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (0.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", Fri, 30 Aug 2013 15:55:44 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:55:44 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 262 Adherent::Adhesion Load (3.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 262 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (5.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", #], ["created_at", Fri, 30 Aug 2013 15:55:44 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 262], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:55:44 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" = 262 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 262 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (3.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK Connecting to database specified by database.yml  (0.5ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1001"} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (5.5ms) SAVEPOINT active_record_1 SQL (12.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1001/adhesions/new Completed 302 Found in 49ms (ActiveRecord: 35.0ms)  (4.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1003"} Organism Load (5.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.4ms) 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", Fri, 30 Aug 2013 15:56:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 20ms (Views: 10.8ms | ActiveRecord: 6.2ms)  (3.4ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1005"} Organism Load (4.1ms) 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", Fri, 30 Aug 2013 15:56:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 4.7ms)  (4.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1007"} Organism Load (7.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", Fri, 30 Aug 2013 15:56:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 1.3ms | ActiveRecord: 7.9ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1009"} 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", Fri, 30 Aug 2013 15:56:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 4.4ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1011"} Organism Load (2.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (4.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", Fri, 30 Aug 2013 15:56:01 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:01 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 2.3ms | ActiveRecord: 8.4ms)  (1.6ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1013"} 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", Fri, 30 Aug 2013 15:56:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:02 UTC +00:00]]  (4.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 1.0ms | ActiveRecord: 5.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1015"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (2.3ms) SAVEPOINT active_record_1 SQL (3.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 1.0ms | ActiveRecord: 6.6ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1017"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (13.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1017/coord Completed 302 Found in 27ms (ActiveRecord: 14.1ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1019"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (2.7ms) 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", Fri, 30 Aug 2013 15:56:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1019/coord Completed 302 Found in 11ms (ActiveRecord: 3.6ms)  (5.0ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1021"} 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", Fri, 30 Aug 2013 15:56:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:02 UTC +00:00]]  (5.9ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.9ms | ActiveRecord: 6.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (3.0ms) BEGIN Organism Load (0.4ms) 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", Fri, 30 Aug 2013 15:56:02 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:02 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (5.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 194) LIMIT 1  (0.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" = 194) 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", Fri, 30 Aug 2013 15:56:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 194], ["updated_at", Fri, 30 Aug 2013 15:56:02 UTC +00:00]]  (3.4ms) RELEASE 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" = 194) LIMIT 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" = 194) 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", Fri, 30 Aug 2013 15:56:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 194], ["updated_at", Fri, 30 Aug 2013 15:56:02 UTC +00:00]]  (1.6ms) RELEASE 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" = 194) LIMIT 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" = 194) 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", Fri, 30 Aug 2013 15:56:02 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 194], ["updated_at", Fri, 30 Aug 2013 15:56:02 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" = 263 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 263 ORDER BY to_date DESC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Fri, 30 Aug 2013 15:56:02 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 263], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:02 UTC +00:00]]  (6.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/263/payments/new" for 127.0.0.1 at 2013-08-30 17:56:02 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"263"} 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", "263"]] Adherent::Adhesion Load (5.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 263 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 123 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (164.9ms) Rendered layouts/adherent/_header.html.haml (0.9ms) 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 (5.0ms) Completed 200 OK in 266ms (Views: 201.7ms | ActiveRecord: 21.8ms) Started POST "/adherent/members/263/payments" for 127.0.0.1 at 2013-08-30 17:56:02 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"263"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "263"]]  (0.1ms) SAVEPOINT active_record_1 SQL (5.4ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:02 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 263], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:56:02 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 263 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 263 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (3.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 123 SQL (2.6ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 123], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["payment_id", 57], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/263/payments Completed 302 Found in 67ms (ActiveRecord: 15.7ms) Started GET "/adherent/members/263/payments" for 127.0.0.1 at 2013-08-30 17:56:03 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"263"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (7.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "263"]] Adherent::Payment Load (2.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 263 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 123 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 263 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 Adherent::Reglement Load (4.9ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 57 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 263 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (45.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 74ms (Views: 49.0ms | ActiveRecord: 16.3ms)  (4.7ms) SHOW max_identifier_length  (1.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 263 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (2.7ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (4.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 195) LIMIT 1  (0.2ms) 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" = 195) 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", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 195], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]]  (0.1ms) RELEASE 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" = 195) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 195) 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", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 195], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]]  (0.3ms) RELEASE 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" = 195) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 195) 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", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 195], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]]  (0.5ms) 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" = 266 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 266 ORDER BY to_date DESC LIMIT 1  (6.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 266], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/266/payments/new" for 127.0.0.1 at 2013-08-30 17:56:03 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"266"} 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", "266"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 266 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (5.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 124 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (10.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 31ms (Views: 14.3ms | ActiveRecord: 6.8ms) Started POST "/adherent/members/266/payments" for 127.0.0.1 at 2013-08-30 17:56:03 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"266"} 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", "266"]]  (4.7ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 266], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 266 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 266 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (2.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 124 SQL (4.4ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 124], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["payment_id", 58], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/266/payments Completed 302 Found in 27ms (ActiveRecord: 13.9ms) Started GET "/adherent/members/266/payments" for 127.0.0.1 at 2013-08-30 17:56:03 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"266"} Organism Load (3.9ms) 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", "266"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 266 Adherent::Reglement Load (2.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58 Adherent::Adhesion Load (2.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 124 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 266 LIMIT 1 Adherent::Reglement Load (4.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 58 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 266 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (114.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 137ms (Views: 119.2ms | ActiveRecord: 15.0ms) Adherent::Adhesion Load (6.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 266 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 124  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (4.7ms) 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", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]]  (0.1ms) RELEASE 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" = 196) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 196) 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", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 196], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]]  (6.3ms) RELEASE 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" = 196) LIMIT 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" = 196) 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", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 196], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]]  (0.1ms) RELEASE 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" = 196) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 196) 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", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 196], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (4.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 269 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 269 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (5.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", #], ["created_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 269], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/269/payments/new" for 127.0.0.1 at 2013-08-30 17:56:03 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"269"} Organism Load (1.7ms) 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", "269"]] Adherent::Adhesion Load (1.0ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 269 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 125 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (12.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 34ms (Views: 20.5ms | ActiveRecord: 3.4ms) Started POST "/adherent/members/269/payments" for 127.0.0.1 at 2013-08-30 17:56:03 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"269"} Organism Load (1.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (6.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "269"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 269], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]] Adherent::Member Load (3.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 269 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 269 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (1.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 125 SQL (3.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 125], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["payment_id", 59], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/269/payments Completed 302 Found in 31ms (ActiveRecord: 16.9ms) Started GET "/adherent/members/269/payments" for 127.0.0.1 at 2013-08-30 17:56:03 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"269"} Organism Load (5.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "269"]] Adherent::Payment Load (2.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 269 Adherent::Reglement Load (3.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 125 LIMIT 1 Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 269 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59 Adherent::Reglement Load (4.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 59 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 269 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (19.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 41ms (Views: 20.3ms | ActiveRecord: 18.7ms)  (4.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 269 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (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 (3.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 197) LIMIT 1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 197) LIMIT 1 SQL (1.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", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 197], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]]  (1.7ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 197) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 197) 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", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 197], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 197) LIMIT 1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 197) 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", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 197], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]]  (1.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (2.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 272 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 272 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", #], ["created_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 272], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]]  (4.6ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/272/payments/new" for 127.0.0.1 at 2013-08-30 17:56:03 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"272"} 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", "272"]] Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 272 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 126 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (6.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 34ms (Views: 17.9ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/272/payments" for 127.0.0.1 at 2013-08-30 17:56:03 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"272"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (3.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "272"]]  (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 272], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]] Adherent::Member Load (2.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 272 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 272 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 126 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", 126], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["payment_id", 60], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/272/payments Completed 302 Found in 24ms (ActiveRecord: 9.0ms) Started GET "/adherent/members/272/payments" for 127.0.0.1 at 2013-08-30 17:56:03 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"272"} Organism Load (6.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", "272"]] Adherent::Payment Load (5.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 272 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 60 Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 126 LIMIT 1 Adherent::Member Load (5.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 272 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 60  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 60 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 60 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 60 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 272 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (15.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 38ms (Views: 16.5ms | ActiveRecord: 20.0ms) Adherent::Payment Load (5.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 272 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 60  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 60  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (4.8ms) COMMIT  (0.4ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]]  (0.1ms) RELEASE 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" = 198) LIMIT 1  (2.4ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 198) 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", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 198], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]]  (0.1ms) RELEASE 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" = 198) LIMIT 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" = 198) 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", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 198], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (5.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 198) LIMIT 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" = 198) 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", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 198], ["updated_at", Fri, 30 Aug 2013 15:56:03 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" = 275 Adherent::Adhesion Load (8.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 275 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", #], ["created_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 275], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/275/payments/new" for 127.0.0.1 at 2013-08-30 17:56:03 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"275"} Organism Load (0.4ms) 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"."id" = $1 LIMIT 1 [["id", "275"]] Adherent::Adhesion Load (1.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 275 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (4.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 127 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (13.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 31ms (Views: 16.5ms | ActiveRecord: 8.1ms) Started POST "/adherent/members/275/payments" for 127.0.0.1 at 2013-08-30 17:56:03 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"275"} Organism Load (4.1ms) 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", "275"]]  (1.5ms) SAVEPOINT active_record_1 SQL (3.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 275], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]] Adherent::Member Load (0.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 275 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 275 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (3.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 127 SQL (6.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 127], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["payment_id", 61], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/275/payments Completed 302 Found in 33ms (ActiveRecord: 21.1ms) Started GET "/adherent/members/275/payments" for 127.0.0.1 at 2013-08-30 17:56:03 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"275"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "275"]] Adherent::Payment Load (6.0ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 275 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 61 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 127 LIMIT 1 Adherent::Member Load (3.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 275 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 61  (1.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 61 Adherent::Reglement Load (6.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 61 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 61 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 275 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (21.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 35ms (Views: 13.6ms | ActiveRecord: 19.7ms)  (5.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 275 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.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", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]]  (2.0ms) RELEASE 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" = 199) LIMIT 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" = 199) LIMIT 1 SQL (7.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", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 199], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]]  (0.1ms) RELEASE 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" = 199) LIMIT 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" = 199) 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", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 199], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]]  (1.5ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 199) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 199) 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", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 199], ["updated_at", Fri, 30 Aug 2013 15:56:03 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" = 278 Adherent::Adhesion Load (3.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 278 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (6.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", #], ["created_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 278], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:03 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"  Started GET "/adherent/members/278/payments/new" for 127.0.0.1 at 2013-08-30 17:56:03 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"278"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (5.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "278"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 278 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 128 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (14.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 28ms (Views: 17.3ms | ActiveRecord: 6.4ms) Started POST "/adherent/members/278/payments" for 127.0.0.1 at 2013-08-30 17:56:04 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"278"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (3.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "278"]]  (0.1ms) SAVEPOINT active_record_1 SQL (6.3ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 278], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 278 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 278 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 128 SQL (4.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 128], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["payment_id", 62], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/278/payments Completed 302 Found in 26ms (ActiveRecord: 15.4ms) Started GET "/adherent/members/278/payments" for 127.0.0.1 at 2013-08-30 17:56:04 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"278"} Organism Load (3.8ms) 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", "278"]] Adherent::Payment Load (3.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 278 Adherent::Reglement Load (7.9ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 62 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 128 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 278 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 62  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 62 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 62 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 62 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 278 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (21.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 36ms (Views: 17.6ms | ActiveRecord: 16.4ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (5.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]]  (0.2ms) RELEASE 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" = 200) LIMIT 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" = 200) 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", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 200], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (3.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 200) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 200) 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", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 200], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (3.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 200) LIMIT 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" = 200) 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", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 200], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (8.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 281 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 281 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", #], ["created_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 281], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 281 Started GET "/adherent/members/281/payments/new" for 127.0.0.1 at 2013-08-30 17:56:04 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"281"} Organism Load (0.5ms) 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", "281"]] Adherent::Adhesion Load (1.0ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 281 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 129 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (14.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 33ms (Views: 18.0ms | ActiveRecord: 6.4ms) Started POST "/adherent/members/281/payments" for 127.0.0.1 at 2013-08-30 17:56:04 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"281"} Organism Load (3.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (4.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "281"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 281], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 281 LIMIT 1 Adherent::Adhesion Load (3.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 281 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 129 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", 129], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["payment_id", 63], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/281/payments Completed 302 Found in 30ms (ActiveRecord: 12.7ms) Started GET "/adherent/members/281/payments" for 127.0.0.1 at 2013-08-30 17:56:04 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"281"} Organism Load (3.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "281"]] Adherent::Payment Load (4.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 281 Adherent::Reglement Load (5.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 63 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 129 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 281 LIMIT 1 Adherent::Reglement Load (5.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 63  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 63 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 63 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 63 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 281 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (20.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 36ms (Views: 13.7ms | ActiveRecord: 20.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 281  (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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]]  (1.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 201) LIMIT 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" = 201) 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", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 201], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (3.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 201) LIMIT 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" = 201) 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", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 201], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 201) LIMIT 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" = 201) LIMIT 1 SQL (6.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", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 201], ["updated_at", Fri, 30 Aug 2013 15:56:04 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" = 284 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 284 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", #], ["created_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 284], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]]  (5.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/284/payments/new" for 127.0.0.1 at 2013-08-30 17:56:04 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"284"} 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", "284"]] Adherent::Adhesion Load (1.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 284 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (5.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 130 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (12.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 33ms (Views: 19.3ms | ActiveRecord: 7.7ms) Started POST "/adherent/members/284/payments" for 127.0.0.1 at 2013-08-30 17:56:04 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"284"} 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", "284"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 284], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 284 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 284 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 130 SQL (0.1ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 130], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["payment_id", 64], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/284/payments Completed 302 Found in 17ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/284/payments" for 127.0.0.1 at 2013-08-30 17:56:04 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"284"} 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", "284"]] Adherent::Payment Load (5.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 284 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 130 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 284 LIMIT 1 Adherent::Reglement Load (7.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 284 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (18.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 30ms (Views: 14.2ms | ActiveRecord: 14.5ms) Adherent::Payment Load (4.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 284 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 285 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 285 ORDER BY to_date DESC LIMIT 1  (3.7ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 285], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]]  (6.7ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 286 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 286 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", #], ["created_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 286], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/64/reglements/new" for 127.0.0.1 at 2013-08-30 17:56:04 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"64"} Organism Load (9.2ms) 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", "64"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 284 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 64 Adherent::Adhesion Load (6.0ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 286 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 132 Adherent::Member Load (4.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 285 LIMIT 1  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 131 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (34.7ms) 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 70ms (Views: 40.5ms | ActiveRecord: 23.0ms)  (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  (1.3ms) SAVEPOINT active_record_1 SQL (4.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]]  (2.4ms) RELEASE 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" = 202) LIMIT 1  (0.1ms) 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" = 202) 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", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 202], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]]  (0.1ms) RELEASE 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" = 202) LIMIT 1  (1.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (5.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 202) 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", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 202], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]]  (0.1ms) RELEASE 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" = 202) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 202) 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", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 202], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (2.3ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (2.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 287 Adherent::Adhesion Load (5.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 287 ORDER BY to_date DESC LIMIT 1  (1.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 287], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/287/payments/new" for 127.0.0.1 at 2013-08-30 17:56:04 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"287"} Organism Load (4.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", "287"]] Adherent::Adhesion Load (3.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 287 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 133 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (17.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 36ms (Views: 20.9ms | ActiveRecord: 8.9ms) Started POST "/adherent/members/287/payments" for 127.0.0.1 at 2013-08-30 17:56:04 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"287"} Organism Load (4.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", "287"]]  (0.1ms) SAVEPOINT active_record_1 SQL (6.5ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 287], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 287 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 287 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 133 SQL (5.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 133], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["payment_id", 65], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/287/payments Completed 302 Found in 28ms (ActiveRecord: 18.1ms) Started GET "/adherent/members/287/payments" for 127.0.0.1 at 2013-08-30 17:56:04 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"287"} 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", "287"]] Adherent::Payment Load (3.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 287 Adherent::Reglement Load (4.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 65 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 133 LIMIT 1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 287 LIMIT 1 Adherent::Reglement Load (2.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 65  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 65 Adherent::Reglement Load (4.8ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 65 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 65 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 287 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (22.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 37ms (Views: 14.3ms | ActiveRecord: 17.3ms) Adherent::Payment Load (9.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 287 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 288 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 288 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", #], ["created_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 288], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:04 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" = 289 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 289 ORDER BY to_date DESC LIMIT 1  (4.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 289], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/65/reglements/new" for 127.0.0.1 at 2013-08-30 17:56:04 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"65"} Organism Load (5.2ms) 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", "65"]] Adherent::Member Load (1.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 287 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 65  (6.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 65 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 65 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 65 Adherent::Adhesion Load (5.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 289 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 135 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 288 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 134 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (16.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 39ms (Views: 13.8ms | ActiveRecord: 20.3ms)  (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  (2.0ms) SAVEPOINT active_record_1 SQL (5.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]]  (0.1ms) RELEASE 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" = 203) LIMIT 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" = 203) LIMIT 1 SQL (2.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", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 203], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (4.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 203) LIMIT 1  (0.2ms) 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" = 203) 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", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 203], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]]  (0.1ms) RELEASE 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" = 203) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 203) 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", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 203], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (7.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 290 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 290 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", #], ["created_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 290], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:04 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/290/payments/new" for 127.0.0.1 at 2013-08-30 17:56:04 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"290"} 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", "290"]] Adherent::Adhesion Load (5.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 290 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 136 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (13.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 35ms (Views: 23.1ms | ActiveRecord: 6.1ms) Started POST "/adherent/members/290/payments" for 127.0.0.1 at 2013-08-30 17:56:05 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"290"} Organism Load (5.0ms) 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", "290"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 290], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00]] Adherent::Member Load (7.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 290 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 290 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 136 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", 136], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["payment_id", 66], ["updated_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/290/payments Completed 302 Found in 25ms (ActiveRecord: 14.7ms) Started GET "/adherent/members/290/payments" for 127.0.0.1 at 2013-08-30 17:56:05 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"290"} 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", "290"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 290 Adherent::Reglement Load (6.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 66 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 136 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 290 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 66  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 66 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 66 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 66 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 290 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (20.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 38ms (Views: 18.7ms | ActiveRecord: 8.4ms) Adherent::Payment Load (6.0ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 290 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 291 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 291 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", #], ["created_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 291], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 292 Adherent::Adhesion Load (4.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 292 ORDER BY to_date DESC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (26.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", #], ["created_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 292], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/66/reglements/new" for 127.0.0.1 at 2013-08-30 17:56:05 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"66"} 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", "66"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 290 LIMIT 1 Adherent::Reglement Load (4.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 66  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 66 Adherent::Reglement Load (4.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 66 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 66 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 291 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 137 Adherent::Member Load (3.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 292 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 138 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (20.1ms) Rendered layouts/adherent/_header.html.haml (0.9ms) 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 155ms (Views: 135.9ms | ActiveRecord: 14.8ms) Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 290 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 290 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 66  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 66  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (4.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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (3.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 204) LIMIT 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" = 204) LIMIT 1 SQL (4.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", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 204], ["updated_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 204) LIMIT 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" = 204) 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", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 204], ["updated_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (4.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 204) LIMIT 1  (0.4ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 204) 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", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 204], ["updated_at", Fri, 30 Aug 2013 15:56:05 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.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 293 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 293 ORDER BY to_date DESC LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (3.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", #], ["created_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 293], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00]]  (3.4ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/293/payments/new" for 127.0.0.1 at 2013-08-30 17:56:05 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"293"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (5.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "293"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 293 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 139 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (13.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 31ms (Views: 16.9ms | ActiveRecord: 7.1ms) Started POST "/adherent/members/293/payments" for 127.0.0.1 at 2013-08-30 17:56:05 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"293"} Organism Load (7.9ms) 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", "293"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 293], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00]] Adherent::Member Load (5.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 293 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 293 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 139 SQL (5.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 139], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["payment_id", 67], ["updated_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/293/payments Completed 302 Found in 30ms (ActiveRecord: 20.0ms) Started GET "/adherent/members/293/payments" for 127.0.0.1 at 2013-08-30 17:56:05 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"293"} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "293"]] Adherent::Payment Load (4.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 293 Adherent::Reglement Load (0.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 67 Adherent::Adhesion Load (6.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 139 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 293 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 67  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 67 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 67 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 67 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 293 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (15.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 29ms (Views: 12.1ms | ActiveRecord: 14.7ms) Adherent::Payment Load (2.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 293 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 294 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 294 ORDER BY to_date DESC LIMIT 1  (3.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", #], ["created_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 294], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:05 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" = 295 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 295 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", #], ["created_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 295], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/67/reglements/new" for 127.0.0.1 at 2013-08-30 17:56:05 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"67"} 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", "67"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 293 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 67  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 67 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 67 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 67 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 295 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 141 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 294 LIMIT 1  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 140 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (11.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 23ms (Views: 14.3ms | ActiveRecord: 3.5ms)  (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 (0.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00]]  (0.1ms) RELEASE 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" = 205) LIMIT 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" = 205) 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", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 205], ["updated_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00]]  (0.1ms) RELEASE 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" = 205) LIMIT 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" = 205) 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", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 205], ["updated_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00]]  (0.1ms) RELEASE 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" = 205) LIMIT 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" = 205) 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", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 205], ["updated_at", Fri, 30 Aug 2013 15:56:05 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.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 296 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 296 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", #], ["created_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 296], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/296/payments/new" for 127.0.0.1 at 2013-08-30 17:56:05 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"296"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (3.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "296"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 296 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 142 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (14.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 34ms (Views: 23.7ms | ActiveRecord: 4.6ms) Started POST "/adherent/members/296/payments" for 127.0.0.1 at 2013-08-30 17:56:05 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"296"} Organism Load (4.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", "296"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 296], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00]] Adherent::Member Load (5.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 296 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 296 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 142 SQL (2.1ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 142], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["payment_id", 68], ["updated_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00]]  (2.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/296/payments Completed 302 Found in 26ms (ActiveRecord: 16.1ms) Started GET "/adherent/members/296/payments" for 127.0.0.1 at 2013-08-30 17:56:05 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"296"} Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (4.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "296"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 296 Adherent::Reglement Load (2.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 Adherent::Adhesion Load (2.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 142 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 296 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68  (1.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 Adherent::Reglement Load (1.8ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 296 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (22.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 35ms (Views: 17.8ms | ActiveRecord: 15.2ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 296 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 297 Adherent::Adhesion Load (3.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 297 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", #], ["created_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 297], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:05 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" = 298 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 298 ORDER BY to_date DESC LIMIT 1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 298], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/68/reglements/new" for 127.0.0.1 at 2013-08-30 17:56:05 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"68"} Organism Load (3.9ms) 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", "68"]] Adherent::Member Load (5.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 296 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (2.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 297 LIMIT 1  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 143 Adherent::Member Load (4.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 298 LIMIT 1  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 144 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (24.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.2ms) Completed 200 OK in 47ms (Views: 22.5ms | ActiveRecord: 18.8ms) Started POST "/adherent/payments/68/reglements" for 127.0.0.1 at 2013-08-30 17:56:05 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"143"}, "commit"=>"Enregistrer", "payment_id"=>"68"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (5.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "68"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "143"]] Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 143  (0.1ms) SAVEPOINT active_record_1 SQL (3.1ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 143], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["payment_id", 68], ["updated_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 296 LIMIT 1 Redirected to http://www.example.com/adherent/members/296/payments Completed 302 Found in 20ms (ActiveRecord: 10.9ms) Started GET "/adherent/members/296/payments" for 127.0.0.1 at 2013-08-30 17:56:05 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"296"} 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", "296"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 296 Adherent::Reglement Load (6.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 142 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 296 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 143 LIMIT 1 Adherent::Member Load (4.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 297 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 68 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 296 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (21.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 33ms (Views: 14.3ms | ActiveRecord: 12.9ms) Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" ORDER BY "adherent_reglements"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 143 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 297 LIMIT 1  (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.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00]]  (3.3ms) RELEASE 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" = 206) LIMIT 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" = 206) LIMIT 1 SQL (5.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", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 206], ["updated_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00]]  (0.2ms) RELEASE 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" = 206) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 206) 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", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 206], ["updated_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (5.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 206) LIMIT 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" = 206) 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", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 206], ["updated_at", Fri, 30 Aug 2013 15:56:05 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 299 Adherent::Adhesion Load (3.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 299 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.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", #], ["created_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 299], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/299/payments/new" for 127.0.0.1 at 2013-08-30 17:56:05 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"299"} Organism Load (3.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "299"]] Adherent::Adhesion Load (4.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 299 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (5.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 145 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (8.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 35ms (Views: 12.4ms | ActiveRecord: 15.8ms) Started POST "/adherent/members/299/payments" for 127.0.0.1 at 2013-08-30 17:56:05 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"299"} Organism Load (5.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", "299"]]  (0.1ms) SAVEPOINT active_record_1 SQL (4.4ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 299], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 299 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 299 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (5.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 145 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", 145], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00], ["payment_id", 69], ["updated_at", Fri, 30 Aug 2013 15:56:05 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/299/payments Completed 302 Found in 26ms (ActiveRecord: 16.4ms) Started GET "/adherent/members/299/payments" for 127.0.0.1 at 2013-08-30 17:56:05 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"299"} Organism Load (5.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", "299"]] Adherent::Payment Load (8.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 299 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 145 LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 299 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69  (2.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 299 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (12.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 33ms (Views: 12.3ms | ActiveRecord: 18.7ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 299 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 300 Adherent::Adhesion Load (5.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 300 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", #], ["created_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 300], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:06 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" = 301 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 301 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", #], ["created_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 301], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/69/reglements/new" for 127.0.0.1 at 2013-08-30 17:56:06 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"69"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (3.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "69"]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 299 LIMIT 1 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69 Adherent::Adhesion Load (0.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 300 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 146 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 301 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 147 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (20.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 143ms (Views: 125.8ms | ActiveRecord: 6.4ms) Started POST "/adherent/payments/69/reglements" for 127.0.0.1 at 2013-08-30 17:56:06 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"146"}, "commit"=>"Enregistrer", "payment_id"=>"69"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "69"]] Adherent::Adhesion Load (4.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "146"]] Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 146  (2.2ms) SAVEPOINT active_record_1 SQL (5.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 146], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00], ["payment_id", 69], ["updated_at", Fri, 30 Aug 2013 15:56:06 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" = 299 LIMIT 1 Redirected to http://www.example.com/adherent/members/299/payments Completed 302 Found in 26ms (ActiveRecord: 13.7ms) Started GET "/adherent/members/299/payments" for 127.0.0.1 at 2013-08-30 17:56:06 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"299"} 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", "299"]] Adherent::Payment Load (1.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 299 Adherent::Reglement Load (4.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 145 LIMIT 1 Adherent::Member Load (3.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 299 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 146 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 300 LIMIT 1 Adherent::Reglement Load (2.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 69 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 299 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (26.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 39ms (Views: 20.6ms | ActiveRecord: 12.8ms) Adherent::Reglement Load (4.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements"   (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (4.6ms) 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", Fri, 30 Aug 2013 15:56:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00]]  (0.1ms) RELEASE 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" = 207) LIMIT 1  (0.8ms) 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" = 207) 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", Fri, 30 Aug 2013 15:56:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 207], ["updated_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (4.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 207) LIMIT 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" = 207) 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", Fri, 30 Aug 2013 15:56:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 207], ["updated_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00]]  (0.1ms) RELEASE 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" = 207) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 207) 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", Fri, 30 Aug 2013 15:56:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 207], ["updated_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (3.7ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 302 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 302 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 302], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00]]  (3.4ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/302/payments/new" for 127.0.0.1 at 2013-08-30 17:56:06 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"302"} Organism Load (4.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", "302"]] Adherent::Adhesion Load (2.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 302 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 148 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (7.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 30ms (Views: 16.9ms | ActiveRecord: 7.4ms) Started POST "/adherent/members/302/payments" for 127.0.0.1 at 2013-08-30 17:56:06 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"302"} Organism Load (7.8ms) 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", "302"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 302], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 302 LIMIT 1 Adherent::Adhesion Load (7.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 302 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 148 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", 148], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00], ["payment_id", 70], ["updated_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/302/payments Completed 302 Found in 27ms (ActiveRecord: 16.7ms) Started GET "/adherent/members/302/payments" for 127.0.0.1 at 2013-08-30 17:56:06 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"302"} Organism Load (3.0ms) 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", "302"]] Adherent::Payment Load (2.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 302 Adherent::Reglement Load (4.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 148 LIMIT 1 Adherent::Member Load (6.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 302 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 302 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (20.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 36ms (Views: 15.8ms | ActiveRecord: 18.1ms) Adherent::Payment Load (8.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 302 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 303 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 303 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (36.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", #], ["created_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 303], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:06 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" = 304 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 304 ORDER BY to_date DESC LIMIT 1  (5.5ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 304], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/70/reglements/new" for 127.0.0.1 at 2013-08-30 17:56:06 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"70"} Organism Load (3.9ms) 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", "70"]] Adherent::Member Load (2.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 302 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70  (2.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70 Adherent::Reglement Load (3.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 303 LIMIT 1  (1.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 149 Adherent::Member Load (5.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 304 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 150 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (22.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 47ms (Views: 21.2ms | ActiveRecord: 20.9ms) Started POST "/adherent/payments/70/reglements" for 127.0.0.1 at 2013-08-30 17:56:06 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"149"}, "commit"=>"Enregistrer", "payment_id"=>"70"} 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", "70"]] Adherent::Adhesion Load (3.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "149"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70  (1.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 149  (0.1ms) SAVEPOINT active_record_1 SQL (5.0ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 149], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00], ["payment_id", 70], ["updated_at", Fri, 30 Aug 2013 15:56:06 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" = 302 LIMIT 1 Redirected to http://www.example.com/adherent/members/302/payments Completed 302 Found in 21ms (ActiveRecord: 11.1ms) Started GET "/adherent/members/302/payments" for 127.0.0.1 at 2013-08-30 17:56:06 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"302"} Organism Load (1.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", "302"]] Adherent::Payment Load (5.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 302 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 148 LIMIT 1 Adherent::Member Load (7.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 302 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 149 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 303 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 70 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 302 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (19.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 38ms (Views: 17.7ms | ActiveRecord: 16.2ms) Adherent::Reglement Load (6.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 148 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 302 LIMIT 1  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.8ms) BEGIN Organism Load (2.9ms) 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", Fri, 30 Aug 2013 15:56:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00]]  (0.1ms) RELEASE 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" = 208) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (5.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 208) 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", Fri, 30 Aug 2013 15:56:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 208], ["updated_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00]]  (0.1ms) RELEASE 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" = 208) LIMIT 1  (0.0ms) 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" = 208) 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", Fri, 30 Aug 2013 15:56:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 208], ["updated_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (3.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 208) LIMIT 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" = 208) 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", Fri, 30 Aug 2013 15:56:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 208], ["updated_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (3.0ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 305 Adherent::Adhesion Load (6.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 305 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", #], ["created_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 305], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/305/payments/new" for 127.0.0.1 at 2013-08-30 17:56:06 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"305"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (5.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "305"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 305 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 151 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (9.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 34ms (Views: 14.5ms | ActiveRecord: 7.2ms) Started POST "/adherent/members/305/payments" for 127.0.0.1 at 2013-08-30 17:56:06 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"305"} Organism Load (4.0ms) 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", "305"]]  (0.3ms) SAVEPOINT active_record_1 SQL (6.0ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 305], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 305 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 305 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 151 SQL (6.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 151], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00], ["payment_id", 71], ["updated_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/305/payments Completed 302 Found in 32ms (ActiveRecord: 17.9ms) Started GET "/adherent/members/305/payments" for 127.0.0.1 at 2013-08-30 17:56:06 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"305"} 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", "305"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 305 Adherent::Reglement Load (5.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 151 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 305 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 305 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (22.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 33ms (Views: 24.2ms | ActiveRecord: 7.8ms) Adherent::Payment Load (1.0ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 305 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 306 Adherent::Adhesion Load (5.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 306 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", #], ["created_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 306], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:06 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" = 307 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 307 ORDER BY to_date DESC LIMIT 1  (1.9ms) SAVEPOINT active_record_1 SQL (4.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", #], ["created_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 307], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/71/reglements/new" for 127.0.0.1 at 2013-08-30 17:56:06 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"71"} Organism Load (6.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", "71"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 305 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71 Adherent::Reglement Load (5.9ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (5.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 307 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 153 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 306 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 152 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (15.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 44ms (Views: 19.4ms | ActiveRecord: 19.7ms) Started POST "/adherent/payments/71/reglements" for 127.0.0.1 at 2013-08-30 17:56:06 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"152"}, "commit"=>"Enregistrer", "payment_id"=>"71"} 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", "71"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "152"]] Adherent::Reglement Load (1.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 152  (4.5ms) 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", 152], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00], ["payment_id", 71], ["updated_at", Fri, 30 Aug 2013 15:56:06 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" = 305 LIMIT 1 Redirected to http://www.example.com/adherent/members/305/payments Completed 302 Found in 20ms (ActiveRecord: 8.6ms) Started GET "/adherent/members/305/payments" for 127.0.0.1 at 2013-08-30 17:56:06 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"305"} 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", "305"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 305 Adherent::Reglement Load (3.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 151 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 305 LIMIT 1 Adherent::Adhesion Load (3.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 152 LIMIT 1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 306 LIMIT 1 Adherent::Reglement Load (3.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 71 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 305 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (21.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 33ms (Views: 18.7ms | ActiveRecord: 12.6ms)  (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 (4.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00]]  (0.2ms) RELEASE 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" = 209) LIMIT 1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 209) LIMIT 1 SQL (3.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", Fri, 30 Aug 2013 15:56:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 209], ["updated_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00]]  (0.1ms) RELEASE 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" = 209) LIMIT 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" = 209) LIMIT 1 SQL (4.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", Fri, 30 Aug 2013 15:56:06 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 209], ["updated_at", Fri, 30 Aug 2013 15:56:06 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 209) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 209) 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", Fri, 30 Aug 2013 15:56:07 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 209], ["updated_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00]]  (5.4ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.7ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 308 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 308 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", #], ["created_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 308], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00]]  (2.6ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/308/payments/new" for 127.0.0.1 at 2013-08-30 17:56:07 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"308"} Organism Load (3.9ms) 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", "308"]] Adherent::Adhesion Load (1.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 308 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (6.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 154 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (7.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 28ms (Views: 10.5ms | ActiveRecord: 11.8ms) Started POST "/adherent/members/308/payments" for 127.0.0.1 at 2013-08-30 17:56:07 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"308"} 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", "308"]]  (3.9ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 308], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 308 LIMIT 1 Adherent::Adhesion Load (3.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 308 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (6.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 154 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", 154], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00], ["payment_id", 72], ["updated_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/308/payments Completed 302 Found in 27ms (ActiveRecord: 15.6ms) Started GET "/adherent/members/308/payments" for 127.0.0.1 at 2013-08-30 17:56:07 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"308"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "308"]] Adherent::Payment Load (3.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 308 Adherent::Reglement Load (5.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 154 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 308 LIMIT 1 Adherent::Reglement Load (3.9ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72  (1.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 308 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (19.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 31ms (Views: 13.6ms | ActiveRecord: 16.1ms) Adherent::Payment Load (3.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 308 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 309 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 309 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.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", #], ["created_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 309], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:07 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" = 310 Adherent::Adhesion Load (3.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 310 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 310], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/72/reglements/new" for 127.0.0.1 at 2013-08-30 17:56:07 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"72"} 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", "72"]] Adherent::Member Load (5.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 308 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72 Adherent::Adhesion Load (7.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 309 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 155 Adherent::Member Load (2.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 310 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 156 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (20.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 40ms (Views: 13.8ms | ActiveRecord: 17.3ms) Started POST "/adherent/payments/72/reglements" for 127.0.0.1 at 2013-08-30 17:56:07 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"155"}, "commit"=>"Enregistrer", "payment_id"=>"72"} 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", "72"]] Adherent::Adhesion Load (1.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "155"]] Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72  (2.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 155  (0.1ms) SAVEPOINT active_record_1 SQL (5.0ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 155], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00], ["payment_id", 72], ["updated_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 308 LIMIT 1 Redirected to http://www.example.com/adherent/members/308/payments Completed 302 Found in 22ms (ActiveRecord: 11.7ms) Started GET "/adherent/members/308/payments" for 127.0.0.1 at 2013-08-30 17:56:07 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"308"} Organism Load (3.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", "308"]] Adherent::Payment Load (2.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 308 Adherent::Reglement Load (3.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 154 LIMIT 1 Adherent::Member Load (5.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 308 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 155 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 309 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72 Adherent::Reglement Load (5.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 72 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 308 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (26.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 39ms (Views: 15.1ms | ActiveRecord: 21.8ms) Adherent::Adhesion Load (4.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 309 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 155  (0.0ms) ROLLBACK  (2.0ms) BEGIN  (0.1ms) COMMIT  (0.0ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (3.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", Fri, 30 Aug 2013 15:56:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00]]  (0.1ms) RELEASE 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" = 210) LIMIT 1  (8.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" = 210) 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", Fri, 30 Aug 2013 15:56:07 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 210], ["updated_at", Fri, 30 Aug 2013 15:56:07 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" = 311 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 311 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", #], ["created_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 311], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00]]  (4.6ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/311/payments/new" for 127.0.0.1 at 2013-08-30 17:56:07 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"311"} Organism Load (5.9ms) 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", "311"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 311 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (12.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 29ms (Views: 17.1ms | ActiveRecord: 6.8ms)  (0.2ms) ROLLBACK  (0.3ms) 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", Fri, 30 Aug 2013 15:56:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00]]  (0.0ms) RELEASE 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" = 211) LIMIT 1  (5.5ms) 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" = 211) 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", Fri, 30 Aug 2013 15:56:07 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 211], ["updated_at", Fri, 30 Aug 2013 15:56:07 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" = 312 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 312 ORDER BY to_date DESC LIMIT 1  (2.6ms) SAVEPOINT active_record_1 SQL (5.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", #], ["created_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 312], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/312/payments/new" for 127.0.0.1 at 2013-08-30 17:56:07 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"312"} 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", "312"]] Adherent::Adhesion Load (5.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 312 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 32ms (Views: 19.0ms | ActiveRecord: 5.9ms)  (4.5ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 312 Started POST "/adherent/members/312/payments" for 127.0.0.1 at 2013-08-30 17:56:07 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"312"} Organism Load (8.8ms) 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", "312"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 312], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00]] Adherent::Member Load (3.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 312 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 312 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/312/payments Completed 302 Found in 21ms (ActiveRecord: 13.8ms) Started GET "/adherent/members/312/payments" for 127.0.0.1 at 2013-08-30 17:56:07 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"312"} Organism Load (4.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", "312"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 312 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 73 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 73  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 73 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 73 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 73 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 312 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (13.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 27ms (Views: 19.2ms | ActiveRecord: 6.3ms)  (4.9ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 312  (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  (4.0ms) 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", Fri, 30 Aug 2013 15:56:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00]]  (0.1ms) RELEASE 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" = 212) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 212) 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", Fri, 30 Aug 2013 15:56:07 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 212], ["updated_at", Fri, 30 Aug 2013 15:56:07 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" = 313 Adherent::Adhesion Load (6.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 313 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", #], ["created_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 313], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (5.8ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 313], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 313 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 313 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/313/payments" for 127.0.0.1 at 2013-08-30 17:56:07 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"313"} 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", "313"]] Adherent::Payment Load (2.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 313 Adherent::Reglement Load (1.7ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 74 Adherent::Reglement Load (9.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 74  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 74 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 74 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 74 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 313 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (17.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 29ms (Views: 11.4ms | ActiveRecord: 15.1ms)  (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 (4.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00]]  (0.1ms) RELEASE 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" = 213) LIMIT 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" = 213) LIMIT 1 SQL (5.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", Fri, 30 Aug 2013 15:56:07 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 213], ["updated_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 314 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 314 ORDER BY to_date DESC LIMIT 1  (3.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 314], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (3.7ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 314], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00]] Adherent::Member Load (2.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 314 LIMIT 1 Adherent::Adhesion Load (1.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 314 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/314/payments" for 127.0.0.1 at 2013-08-30 17:56:07 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"314"} Organism Load (7.9ms) 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", "314"]] Adherent::Payment Load (4.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 314 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75 Adherent::Reglement Load (0.0ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75 Adherent::Reglement Load (4.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 314 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (10.6ms) 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 35ms (Views: 15.4ms | ActiveRecord: 17.9ms) Started GET "/adherent/payments/75/reglements/new" for 127.0.0.1 at 2013-08-30 17:56:07 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"75"} Organism Load (4.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", "75"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 314 LIMIT 1 Adherent::Reglement Load (5.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 75 Adherent::Adhesion Load (4.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (9.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 28ms (Views: 8.3ms | ActiveRecord: 15.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1023"} Organism Load (3.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", Fri, 30 Aug 2013 15:56:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 2.7ms | ActiveRecord: 4.6ms)  (6.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1025"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (39.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:07 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1025/payments Completed 302 Found in 43ms (ActiveRecord: 39.6ms)  (0.3ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1027"} 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", Fri, 30 Aug 2013 15:56:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1027/payments Completed 302 Found in 9ms (ActiveRecord: 1.2ms)  (3.6ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1029"} Organism Load (6.0ms) 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", Fri, 30 Aug 2013 15:56:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:08 UTC +00:00]]  (1.6ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 1.7ms | ActiveRecord: 8.1ms)  (4.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1031"} Organism Load (5.8ms) 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", Fri, 30 Aug 2013 15:56:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.8ms | ActiveRecord: 6.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1032"} Organism Load (6.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (4.8ms) SAVEPOINT active_record_1 SQL (138.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 155ms (Views: 1.2ms | ActiveRecord: 150.1ms)  (3.8ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1033", "id"=>"1034"} 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", Fri, 30 Aug 2013 15:56:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.4ms | ActiveRecord: 0.9ms)  (8.1ms) 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 (4.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:08 UTC +00:00]]  (0.2ms) RELEASE 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" = 221) LIMIT 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" = 221) LIMIT 1 SQL (6.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", Fri, 30 Aug 2013 15:56:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 221], ["updated_at", Fri, 30 Aug 2013 15:56:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members/315/adhesions/new" for 127.0.0.1 at 2013-08-30 17:56:08 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"315"} Organism Load (3.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", "315"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 315 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 315 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (24.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 46ms (Views: 32.4ms | ActiveRecord: 4.0ms)  (6.5ms) ROLLBACK  (0.0ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:08 UTC +00:00]]  (0.2ms) RELEASE 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" = 222) LIMIT 1  (0.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" = 222) 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", Fri, 30 Aug 2013 15:56:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 222], ["updated_at", Fri, 30 Aug 2013 15:56:08 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/316/adhesions/new" for 127.0.0.1 at 2013-08-30 17:56:08 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"316"} 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", "316"]] Adherent::Adhesion Load (6.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 316 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 316 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (8.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 41ms (Views: 16.5ms | ActiveRecord: 8.5ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 316 Started POST "/adherent/members/316/adhesions" for 127.0.0.1 at 2013-08-30 17:56:08 +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"=>"316"} 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", "316"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:56:08 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 316], ["to_date", Thu, 31 Jul 2014], ["updated_at", Fri, 30 Aug 2013 15:56:08 UTC +00:00]]  (1.8ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/316/adhesions Completed 302 Found in 9ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/316/adhesions" for 127.0.0.1 at 2013-08-30 17:56:08 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"316"} 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", "316"]]  (1.9ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 316 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 316  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 161 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 161 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.3ms) Completed 200 OK in 38ms (Views: 30.5ms | ActiveRecord: 3.2ms)  (4.9ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 316  (0.1ms) 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.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:08 UTC +00:00]]  (1.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (5.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 223) LIMIT 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" = 223) 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", Fri, 30 Aug 2013 15:56:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 223], ["updated_at", Fri, 30 Aug 2013 15:56:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members"  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:56:08 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 317], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 15:56:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/317/adhesions" for 127.0.0.1 at 2013-08-30 17:56:08 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"317"} Organism Load (6.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", "317"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 317 Adherent::Adhesion Load (5.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 317  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 162 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 162 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: 9.0ms | ActiveRecord: 12.8ms)  (4.3ms) ROLLBACK  (0.1ms) BEGIN Organism Load (4.8ms) 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", Fri, 30 Aug 2013 15:56:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:08 UTC +00:00]]  (0.1ms) RELEASE 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" = 224) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (6.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 224) 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", Fri, 30 Aug 2013 15:56:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 224], ["updated_at", Fri, 30 Aug 2013 15:56:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"   (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", #], ["created_at", Fri, 30 Aug 2013 15:56:08 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 318], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 15:56:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/318/adhesions" for 127.0.0.1 at 2013-08-30 17:56:08 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"318"} 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", "318"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 318 Adherent::Adhesion Load (4.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 318  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 163 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 163 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: 12.7ms | ActiveRecord: 5.2ms) Started GET "/adherent/members/318/adhesions/163/edit" for 127.0.0.1 at 2013-08-30 17:56:08 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"318", "id"=>"163"} Organism Load (4.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (5.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "318"]] Adherent::Adhesion Load (0.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 318 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "163"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (16.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 36ms (Views: 21.5ms | ActiveRecord: 10.3ms)  (5.0ms) 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", Fri, 30 Aug 2013 15:56:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (4.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 225) LIMIT 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" = 225) 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", Fri, 30 Aug 2013 15:56:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 225], ["updated_at", Fri, 30 Aug 2013 15:56:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (2.1ms) SAVEPOINT active_record_1 SQL (7.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", #], ["created_at", Fri, 30 Aug 2013 15:56:08 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 319], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 15:56:08 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/319/adhesions" for 127.0.0.1 at 2013-08-30 17:56:08 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"319"} 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", "319"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 319 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 319  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 164 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 164 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 29ms (Views: 14.7ms | ActiveRecord: 1.8ms) Started GET "/adherent/members/319/payments/new" for 127.0.0.1 at 2013-08-30 17:56:08 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"319"} Organism Load (5.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", "319"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 319 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (3.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 164 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 31ms (Views: 16.3ms | ActiveRecord: 10.0ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (2.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) 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", Fri, 30 Aug 2013 15:56:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:08 UTC +00:00]]  (3.1ms) RELEASE 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" = 226) LIMIT 1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 226) 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", Fri, 30 Aug 2013 15:56:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 226], ["updated_at", Fri, 30 Aug 2013 15:56:08 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (4.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 226) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 226) 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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 226], ["updated_at", Fri, 30 Aug 2013 15:56:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (7.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 226) LIMIT 1  (0.2ms) 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" = 226) 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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 226], ["updated_at", Fri, 30 Aug 2013 15:56:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 226) LIMIT 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" = 226) 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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 226], ["updated_at", Fri, 30 Aug 2013 15:56:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (4.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 226) LIMIT 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" = 226) 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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 226], ["updated_at", Fri, 30 Aug 2013 15:56:09 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-30 17:56:09 +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 (4.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 226  (7.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 320 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 320 LIMIT 1  (9.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 321 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 321 LIMIT 1  (3.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 322 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 322 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 323 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 323 LIMIT 1  (4.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 324 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (1.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 324 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (5.1ms) Completed 200 OK in 105ms (Views: 56.5ms | ActiveRecord: 35.3ms)  (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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (4.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 227) LIMIT 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" = 227) 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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 227], ["updated_at", Fri, 30 Aug 2013 15:56:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (3.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 227) LIMIT 1  (0.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" = 227) 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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 227], ["updated_at", Fri, 30 Aug 2013 15:56:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (3.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 227) LIMIT 1  (0.1ms) 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" = 227) 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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 227], ["updated_at", Fri, 30 Aug 2013 15:56:09 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 227) LIMIT 1  (1.6ms) 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" = 227) 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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 227], ["updated_at", Fri, 30 Aug 2013 15:56:09 UTC +00:00]]  (5.4ms) RELEASE 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" = 227) LIMIT 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" = 227) LIMIT 1 SQL (16.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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 227], ["updated_at", Fri, 30 Aug 2013 15:56:09 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-30 17:56:09 +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" = 227  (5.2ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 325 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 325 LIMIT 1  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 326 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 326 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 327 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 327 LIMIT 1  (0.9ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 328 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (3.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 328 LIMIT 1  (4.9ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 329 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 329 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 84ms (Views: 49.4ms | ActiveRecord: 17.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (6.4ms) 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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 228) LIMIT 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" = 228) 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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 228], ["updated_at", Fri, 30 Aug 2013 15:56:09 UTC +00:00]]  (0.2ms) RELEASE 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" = 228) LIMIT 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" = 228) LIMIT 1 SQL (0.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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 228], ["updated_at", Fri, 30 Aug 2013 15:56:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 228) LIMIT 1  (2.6ms) 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" = 228) 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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 228], ["updated_at", Fri, 30 Aug 2013 15:56:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 228) LIMIT 1  (3.8ms) 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" = 228) 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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 228], ["updated_at", Fri, 30 Aug 2013 15:56:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 228) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 228) 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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 228], ["updated_at", Fri, 30 Aug 2013 15:56:09 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-30 17:56:09 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.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" = 228  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 330 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 330 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 331 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (4.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 331 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 332 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 332 LIMIT 1  (5.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 333 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (3.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 333 LIMIT 1  (4.5ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 334 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 334 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 72ms (Views: 46.9ms | ActiveRecord: 22.1ms) Adherent::Member Load (7.0ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/330/payments" for 127.0.0.1 at 2013-08-30 17:56:09 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"330"} Organism Load (6.8ms) 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", "330"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 330 Rendered collection (0.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 13ms (Views: 4.0ms | ActiveRecord: 7.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) COMMIT  (0.0ms) BEGIN Organism Load (3.6ms) 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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (3.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 229) LIMIT 1  (0.2ms) 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" = 229) LIMIT 1 SQL (1.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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 229], ["updated_at", Fri, 30 Aug 2013 15:56:09 UTC +00:00]]  (0.3ms) RELEASE 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" = 229) LIMIT 1  (0.2ms) 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" = 229) 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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 229], ["updated_at", Fri, 30 Aug 2013 15:56:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 229) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 229) LIMIT 1 SQL (5.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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 229], ["updated_at", Fri, 30 Aug 2013 15:56:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 229) LIMIT 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" = 229) 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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 229], ["updated_at", Fri, 30 Aug 2013 15:56:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (6.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 229) LIMIT 1  (1.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" = 229) 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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 229], ["updated_at", Fri, 30 Aug 2013 15:56:09 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-30 17:56:09 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (2.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (4.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 229  (3.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 335 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 335 LIMIT 1  (4.1ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 336 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (5.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 336 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 337 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (4.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 337 LIMIT 1  (4.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 338 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 338 LIMIT 1  (6.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 339 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 339 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 71ms (Views: 30.4ms | ActiveRecord: 37.1ms) Adherent::Member Load (5.2ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (9.9ms) 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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 335], ["office", nil], ["tel", nil], ["updated_at", Fri, 30 Aug 2013 15:56:09 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" = 335 LIMIT 1 Started GET "/adherent/members/335/coord" for 127.0.0.1 at 2013-08-30 17:56:09 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"335"} 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", "335"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 335 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 9ms (Views: 5.2ms | ActiveRecord: 1.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (1.4ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.9ms) 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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:09 UTC +00:00]]  (2.5ms) RELEASE 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" = 230) LIMIT 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" = 230) 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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 230], ["updated_at", Fri, 30 Aug 2013 15:56:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 230) LIMIT 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" = 230) 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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 230], ["updated_at", Fri, 30 Aug 2013 15:56:09 UTC +00:00]]  (4.0ms) RELEASE 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" = 230) LIMIT 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" = 230) LIMIT 1 SQL (5.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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 230], ["updated_at", Fri, 30 Aug 2013 15:56:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 230) LIMIT 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" = 230) 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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 230], ["updated_at", Fri, 30 Aug 2013 15:56:09 UTC +00:00]]  (0.1ms) RELEASE 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" = 230) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (5.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 230) 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", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 230], ["updated_at", Fri, 30 Aug 2013 15:56:09 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-30 17:56:09 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (0.9ms) 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" = 230  (4.2ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 340 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (4.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 340 LIMIT 1  (0.3ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 341 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 341 LIMIT 1  (6.0ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 342 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 342 LIMIT 1  (3.9ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 343 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 343 LIMIT 1  (6.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 344 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 344 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 73ms (Views: 37.0ms | ActiveRecord: 28.3ms) Adherent::Member Load (4.5ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/340/adhesions" for 127.0.0.1 at 2013-08-30 17:56:09 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"340"} 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", "340"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 340 Redirected to http://www.example.com/adherent/members/340/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 0.7ms) Started GET "/adherent/members/340/adhesions/new" for 127.0.0.1 at 2013-08-30 17:56:09 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"340"} Organism Load (5.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", "340"]] Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 340 Adherent::Adhesion Load (3.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 340 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (13.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.3ms) Completed 200 OK in 141ms (Views: 123.1ms | ActiveRecord: 10.3ms)  (0.1ms) ROLLBACK  (4.3ms) BEGIN  (0.2ms) 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.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:09 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:09 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 231) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 231) 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", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 231], ["updated_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00]]  (6.1ms) RELEASE 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" = 231) LIMIT 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" = 231) LIMIT 1 SQL (0.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", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 231], ["updated_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00]]  (0.2ms) RELEASE 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" = 231) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 231) 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", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 231], ["updated_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00]]  (0.1ms) RELEASE 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" = 231) LIMIT 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" = 231) LIMIT 1 SQL (4.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", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 231], ["updated_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00]]  (0.1ms) RELEASE 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" = 231) LIMIT 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" = 231) LIMIT 1 SQL (2.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", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 231], ["updated_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00]]  (0.0ms) 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-30 17:56:10 +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" = 231  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 345 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (2.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 345 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 346 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 346 LIMIT 1  (7.3ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 347 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 347 LIMIT 1  (7.3ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 348 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 348 LIMIT 1  (5.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 349 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 349 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 76ms (Views: 46.3ms | ActiveRecord: 26.9ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/345/coord" for 127.0.0.1 at 2013-08-30 17:56:10 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"345"} Organism Load (3.0ms) 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", "345"]] Adherent::Coord Load (5.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 345 LIMIT 1 Redirected to http://www.example.com/adherent/members/345/coord/new Completed 302 Found in 12ms (ActiveRecord: 8.7ms) Started GET "/adherent/members/345/coord/new" for 127.0.0.1 at 2013-08-30 17:56:10 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"345"} 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", "345"]] Adherent::Coord Load (4.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 345 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (40.6ms) Rendered layouts/adherent/_header.html.haml (0.0ms) 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 53ms (Views: 45.2ms | ActiveRecord: 4.7ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00]]  (0.1ms) RELEASE 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" = 232) LIMIT 1  (0.2ms) 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" = 232) LIMIT 1 SQL (6.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", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 232], ["updated_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00]]  (0.1ms) RELEASE 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" = 232) LIMIT 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" = 232) 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", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 232], ["updated_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00]]  (0.1ms) RELEASE 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" = 232) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 232) 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", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 232], ["updated_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00]]  (0.1ms) RELEASE 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" = 232) LIMIT 1  (0.1ms) 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" = 232) 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", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 232], ["updated_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00]]  (0.1ms) RELEASE 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" = 232) LIMIT 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" = 232) LIMIT 1 SQL (4.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", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 232], ["updated_at", Fri, 30 Aug 2013 15:56:10 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" for 127.0.0.1 at 2013-08-30 17:56:10 +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 (7.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 232  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 350 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 350 LIMIT 1  (5.5ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 351 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 351 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 352 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 352 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 353 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (1.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 353 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 354 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 354 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 68ms (Views: 44.7ms | ActiveRecord: 18.0ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/350/edit" for 127.0.0.1 at 2013-08-30 17:56:10 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"350"} Organism Load (5.9ms) 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", "350"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (17.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 31ms (Views: 22.5ms | ActiveRecord: 6.1ms)  (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.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", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00]]  (0.1ms) RELEASE 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" = 233) LIMIT 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" = 233) 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", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 233], ["updated_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 233) LIMIT 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" = 233) LIMIT 1 SQL (5.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", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 233], ["updated_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00]]  (0.1ms) RELEASE 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" = 233) LIMIT 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" = 233) LIMIT 1 SQL (7.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", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 233], ["updated_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00]]  (0.2ms) RELEASE 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" = 233) LIMIT 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" = 233) 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", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 233], ["updated_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 233) LIMIT 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" = 233) 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", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 233], ["updated_at", Fri, 30 Aug 2013 15:56:10 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-30 17:56:10 +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 (2.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 233  (4.9ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 355 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (3.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 355 LIMIT 1  (4.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 356 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 356 LIMIT 1  (7.5ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 357 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 357 LIMIT 1  (0.5ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 358 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (3.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 358 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 359 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 359 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 69ms (Views: 38.1ms | ActiveRecord: 28.1ms) Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-30 17:56:10 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (5.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (16.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 29ms (Views: 20.4ms | ActiveRecord: 5.1ms)  (0.1ms) ROLLBACK  (3.0ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (1.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (1.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (4.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 234) LIMIT 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" = 234) 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", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 234], ["updated_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (3.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 234) LIMIT 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" = 234) 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", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 234], ["updated_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00]]  (0.8ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 234) LIMIT 1  (4.6ms) 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" = 234) 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", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 234], ["updated_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00]]  (0.1ms) RELEASE 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" = 234) LIMIT 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" = 234) LIMIT 1 SQL (5.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", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 234], ["updated_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00]]  (0.1ms) RELEASE 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" = 234) LIMIT 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" = 234) 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", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 234], ["updated_at", Fri, 30 Aug 2013 15:56:10 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-30 17:56:10 +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 (2.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 234  (4.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 360 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 360 LIMIT 1  (5.5ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 361 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 361 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 362 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (6.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 362 LIMIT 1  (0.3ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 363 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 363 LIMIT 1  (5.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 364 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 364 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 72ms (Views: 37.5ms | ActiveRecord: 26.7ms) Adherent::Member Load (2.8ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 360 Adherent::Adhesion Load (2.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 360 ORDER BY to_date DESC LIMIT 1  (1.8ms) SAVEPOINT active_record_1 SQL (3.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", #], ["created_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 360], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/360/adhesions" for 127.0.0.1 at 2013-08-30 17:56:10 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"360"} Organism Load (6.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", "360"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 360 Adherent::Adhesion Load (7.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 360  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 165 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 165 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: 8.0ms | ActiveRecord: 14.9ms)  (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 (1.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (4.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 235) LIMIT 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" = 235) LIMIT 1 SQL (3.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", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 235], ["updated_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 235) LIMIT 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" = 235) 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", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 235], ["updated_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00]]  (4.7ms) RELEASE 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" = 235) LIMIT 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" = 235) 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", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 235], ["updated_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (5.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 235) LIMIT 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" = 235) 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", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 235], ["updated_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00]]  (0.1ms) RELEASE 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" = 235) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 235) 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", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 235], ["updated_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00]]  (1.3ms) 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-30 17:56:10 +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 (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 11ms (Views: 9.2ms | ActiveRecord: 0.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members"  Started POST "/adherent/members" for 127.0.0.1 at 2013-08-30 17:56:10 +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.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (5.8ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'ADH1' AND "adherent_members"."organism_id" = 235) 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", Fri, 30 Aug 2013 15:56:10 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 235], ["updated_at", Fri, 30 Aug 2013 15:56:10 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/370/coord/new Completed 302 Found in 17ms (ActiveRecord: 7.1ms) Started GET "/adherent/members/370/coord/new" for 127.0.0.1 at 2013-08-30 17:56:10 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"370"} Organism Load (4.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", "370"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 370 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (15.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 32ms (Views: 24.2ms | ActiveRecord: 4.7ms)  (4.9ms) SELECT COUNT(*) FROM "adherent_members"  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (6.2ms) 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", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:56:11 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", #], ["created_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 371], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (1.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 371 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 371 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", #], ["created_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 371], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.1ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 371], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]] Adherent::Member Load (6.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 371 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 371 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 166 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", 166], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["payment_id", 76], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (5.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 167 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", 167], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["payment_id", 76], ["updated_at", Fri, 30 Aug 2013 15:56:11 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" = 76  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 76  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (6.0ms) 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.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", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 372], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (4.5ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 372 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 372 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 372], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (1.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (3.5ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 372], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]] Adherent::Member Load (4.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 372 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 372 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 168 SQL (5.1ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 168], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["payment_id", 77], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '001' AND "adherent_members"."organism_id" = 1) 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", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (6.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", #], ["created_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 373], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 15:56:11 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" = 373 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 373 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 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", #], ["created_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 373], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.1ms) SAVEPOINT active_record_1 SQL (2.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 373], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]] Adherent::Member Load (1.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 373 LIMIT 1 Adherent::Adhesion Load (6.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 373 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 170 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 170], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["payment_id", 78], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 171 SQL (3.2ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 171], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["payment_id", 78], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"  (1.9ms) ROLLBACK  (0.3ms) BEGIN  (3.4ms) ROLLBACK  (0.1ms) BEGIN  (1.2ms) ROLLBACK  (0.1ms) BEGIN  (5.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (1.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "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.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.8ms | ActiveRecord: 0.9ms)  (2.6ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1037"} Organism Load (4.1ms) 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", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1037/adhesions Completed 302 Found in 8ms (ActiveRecord: 4.7ms)  (4.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1039"} Organism Load (9.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.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", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1039/adhesions Completed 302 Found in 15ms (ActiveRecord: 11.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1041"} Organism Load (8.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 1.0ms | ActiveRecord: 9.9ms)  (3.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1043", "id"=>"1"} Organism Load (0.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", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.9ms | ActiveRecord: 0.6ms)  (2.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1045", "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", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 1.0ms | ActiveRecord: 0.8ms)  (5.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1047"} Organism Load (4.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 0.9ms | ActiveRecord: 4.9ms)  (5.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1048"} Organism Load (4.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (6.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1048/adhesions/new Completed 302 Found in 16ms (ActiveRecord: 12.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1049"} Organism Load (3.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 1.0ms | ActiveRecord: 7.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1050", "id"=>"1"} Organism Load (8.9ms) 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", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 15ms (Views: 1.2ms | ActiveRecord: 9.5ms)  (6.7ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1052", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (2.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1052/adhesions Completed 302 Found in 14ms (ActiveRecord: 3.2ms)  (5.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1054", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.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", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1054/adhesions Completed 302 Found in 10ms (ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1056", "id"=>"1"} 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", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (5.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 12ms (Views: 0.9ms | ActiveRecord: 6.9ms)  (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 (2.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (6.2ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (5.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.3ms) ROLLBACK  (0.9ms) 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.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 (1.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", Tue, 06 Jun 1944], ["created_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.7ms) 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", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (4.9ms) ROLLBACK  (0.0ms) 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 (3.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", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.6ms) 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  (1.5ms) ROLLBACK  (0.2ms) 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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (1.9ms) ROLLBACK  (0.1ms) BEGIN Adherent::Adhesion Load (2.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" IS NULL ORDER BY to_date DESC LIMIT 1  (3.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (5.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:56:11 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" = 377 Adherent::Adhesion Load (0.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 377 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.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", #], ["created_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 377], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (4.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 377 Adherent::Adhesion Load (6.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 377 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (5.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 378 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 378 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", #], ["created_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 378], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:11 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" = 378 Adherent::Adhesion Load (3.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 378 ORDER BY to_date DESC LIMIT 1  (3.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 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", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (7.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 379 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 379 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", #], ["created_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 379], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:56:11 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" = 379 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 379 ORDER BY to_date DESC LIMIT 1  (4.8ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (4.7ms) 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", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 249) 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", Fri, 30 Aug 2013 15:56:11 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 249], ["updated_at", Fri, 30 Aug 2013 15:56:11 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/380/coord/new Completed 302 Found in 20ms (ActiveRecord: 11.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (7.7ms) 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", Fri, 30 Aug 2013 15:56:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 16ms (Views: 0.9ms | ActiveRecord: 10.2ms)  (10.9ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (3.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", Fri, 30 Aug 2013 15:56:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00]]  (1.6ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'A001' AND "adherent_members"."organism_id" = 251) 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", Fri, 30 Aug 2013 15:56:12 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 251], ["updated_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00]]  (3.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/381/coord/new Completed 302 Found in 21ms (ActiveRecord: 12.8ms)  (0.1ms) 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 (3.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.6ms) SAVEPOINT active_record_1 SQL (4.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (5.8ms) 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" = 252) 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", Fri, 30 Aug 2013 15:56:12 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 252], ["updated_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/382/coord/new Completed 302 Found in 27ms (ActiveRecord: 16.9ms)  (0.1ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} Organism Load (5.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Fri, 30 Aug 2013 15:56:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00]]  (2.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 22ms (Views: 8.9ms | ActiveRecord: 9.5ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"998"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#new as HTML Organism Load (5.1ms) 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", Fri, 30 Aug 2013 15:56:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.9ms | ActiveRecord: 5.8ms)  (4.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (2.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (2.2ms) 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", Fri, 30 Aug 2013 15:56:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (4.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 256 Completed 200 OK in 20ms (Views: 0.9ms | ActiveRecord: 13.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (0.6ms) 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", Fri, 30 Aug 2013 15:56:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 15ms (Views: 5.3ms | ActiveRecord: 1.2ms)  (5.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1060"} Organism Load (5.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", Fri, 30 Aug 2013 15:56:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 1.3ms | ActiveRecord: 6.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1061"} Organism Load (6.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) 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", Fri, 30 Aug 2013 15:56:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1061 Completed 302 Found in 17ms (ActiveRecord: 8.9ms)  (2.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1062"} Organism Load (4.8ms) 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", Fri, 30 Aug 2013 15:56:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1062 Completed 302 Found in 12ms (ActiveRecord: 7.9ms)  (3.4ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1063"} Organism Load (2.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (5.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1063 Completed 302 Found in 11ms (ActiveRecord: 7.9ms)  (2.8ms) ROLLBACK  (2.7ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1064"} 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", Fri, 30 Aug 2013 15:56:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00]]  (1.4ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 6ms (ActiveRecord: 2.2ms)  (2.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"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.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 5ms (ActiveRecord: 2.4ms)  (2.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (8.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 1.0ms | ActiveRecord: 8.5ms)  (0.1ms) ROLLBACK  (0.1ms) 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  (2.9ms) 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", Fri, 30 Aug 2013 15:56:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 3.7ms)  (3.8ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1069"} Organism Load (6.4ms) 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", Fri, 30 Aug 2013 15:56:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 13ms (Views: 0.9ms | ActiveRecord: 8.9ms)  (3.6ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1072"} 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", Fri, 30 Aug 2013 15:56:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 1.1ms)  (4.7ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1075"} Organism Load (5.4ms) 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", Fri, 30 Aug 2013 15:56:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1074/payments Completed 302 Found in 10ms (ActiveRecord: 6.5ms)  (3.4ms) ROLLBACK Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00]]  (10.2ms) COMMIT Adherent::Member Exists (5.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 269) LIMIT 1  (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" = 269) 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", Fri, 30 Aug 2013 15:56:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 269], ["updated_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00]]  (0.6ms) COMMIT Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 269) LIMIT 1  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 269) LIMIT 1 SQL (5.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", Fri, 30 Aug 2013 15:56:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 269], ["updated_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00]]  (0.8ms) COMMIT Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 269) LIMIT 1  (0.1ms) BEGIN Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 269) 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", Fri, 30 Aug 2013 15:56:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 269], ["updated_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00]]  (0.7ms) COMMIT Adherent::Member Exists (5.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 269) LIMIT 1  (0.2ms) BEGIN Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 269) 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", Fri, 30 Aug 2013 15:56:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 269], ["updated_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00]]  (0.8ms) COMMIT Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 269) LIMIT 1  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 269) LIMIT 1 SQL (2.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", Fri, 30 Aug 2013 15:56:12 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 269], ["updated_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00]]  (0.8ms) COMMIT Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members"  (3.5ms) BEGIN 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", #], ["created_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 383], ["mode", "Chèque"], ["updated_at", Fri, 30 Aug 2013 15:56:12 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 383 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 383 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (1.5ms) COMMIT Started GET "/adherent/members/383/payments/79" for 127.0.0.1 at 2013-08-30 17:57:28 +0200 Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"383", "id"=>"79"} Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (3.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "383"]] Adherent::Payment Load (0.9ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 383 AND "adherent_payments"."id" = 79 LIMIT 1 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 79  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 79 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 383 LIMIT 1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 79 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 79 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 671ms (Views: 303.9ms | ActiveRecord: 148.7ms) Started GET "/assets/adherent/application.css" for 127.0.0.1 at 2013-08-30 17:57:31 +0200 Compiled jquery.ui.core.css (3ms) (pid 21434) Compiled jquery.ui.theme.css (100ms) (pid 21434) Compiled jquery.ui.datepicker.css (428ms) (pid 21434) Compiled adherent/adhesion.css (0ms) (pid 21434) Compiled adherent/allpayments.css (0ms) (pid 21434) Compiled adherent/bootstrap.css (0ms) (pid 21434) Compiled adherent/coords.css (0ms) (pid 21434) Compiled adherent/date_picker.css (0ms) (pid 21434) Compiled adherent/demo_table.css (0ms) (pid 21434) Compiled adherent/jc_application.css (2897ms) (pid 21434) Compiled adherent/jcmenu.css (0ms) (pid 21434) Compiled adherent/layouts.css (17ms) (pid 21434) Compiled adherent/members.css (0ms) (pid 21434) Compiled adherent/old_bootstrap.css (0ms) (pid 21434) Compiled adherent/payments.css (0ms) (pid 21434) Compiled adherent/reglements.css (0ms) (pid 21434) Compiled adherent/application.css (4376ms) (pid 21434) Served asset /adherent/application.css - 200 OK (5234ms) Started GET "/assets/adherent/application.js" for 127.0.0.1 at 2013-08-30 17:57:37 +0200 Compiled jquery.js (12ms) (pid 21434) Compiled jquery_ujs.js (0ms) (pid 21434) Compiled jquery.ui.core.js (0ms) (pid 21434) Compiled jquery.ui.datepicker.js (76ms) (pid 21434) Compiled adherent/adhesion.js (0ms) (pid 21434) Compiled adherent/allpayments.js (0ms) (pid 21434) Compiled adherent/bootstrap.js (1ms) (pid 21434) Compiled adherent/coords.js (0ms) (pid 21434) Compiled adherent/date_picker.js (0ms) (pid 21434) Compiled adherent/jquery.dataTables.min.js (2ms) (pid 21434) Compiled adherent/members.js (0ms) (pid 21434) Compiled adherent/payments.js (0ms) (pid 21434) Compiled adherent/reglements.js (0ms) (pid 21434) Compiled adherent/application.js (2057ms) (pid 21434) Served asset /adherent/application.js - 200 OK (2227ms) Started GET "/assets/adherent/icones/payment.png" for 127.0.0.1 at 2013-08-30 17:57:39 +0200 Served asset /adherent/icones/payment.png - 200 OK (243ms) Started GET "/assets/adherent/icones/money-plus.png" for 127.0.0.1 at 2013-08-30 17:57:39 +0200 Served asset /adherent/icones/money-plus.png - 200 OK (142ms) Started GET "/assets/adherent/icones/supprimer.png" for 127.0.0.1 at 2013-08-30 17:57:39 +0200 Served asset /adherent/icones/supprimer.png - 200 OK (17ms) Started GET "/assets/adherent/icones/modifier.png" for 127.0.0.1 at 2013-08-30 17:57:39 +0200 Served asset /adherent/icones/modifier.png - 200 OK (32ms) Started GET "/assets/adherent/icones/imputation.png" for 127.0.0.1 at 2013-08-30 17:57:39 +0200 Served asset /adherent/icones/imputation.png - 200 OK (39ms) Started DELETE "/adherent/members/383/payments/79" for 127.0.0.1 at 2013-08-30 17:57:48 +0200 Processing by Adherent::PaymentsController#destroy as HTML Parameters: {"member_id"=>"383", "id"=>"79"} 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", "383"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 383 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "79"]]  (0.1ms) BEGIN Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 79 SQL (836.0ms) DELETE FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 [["id", 79]]  (1.5ms) SELECT COUNT(*) FROM "adherent_payments"  (170.7ms) COMMIT Redirected to http://127.0.0.1:54149/adherent/members/383/payments Completed 302 Found in 1016ms (ActiveRecord: 1008.0ms) Started GET "/adherent/members/383/payments" for 127.0.0.1 at 2013-08-30 17:57:51 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"383"} Organism Load (2.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", "383"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 383 Rendered collection (0.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.0ms) Completed 200 OK in 17ms (Views: 5.6ms | ActiveRecord: 3.2ms) Started GET "/assets/adherent/icones/users.png" for 127.0.0.1 at 2013-08-30 17:57:51 +0200 Served asset /adherent/icones/users.png - 200 OK (38ms)  (149.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (276.8ms) select table_name from information_schema.views where table_schema = 'adh_test'  (517.5ms) TRUNCATE TABLE "adherent_coords", "adherent_adhesions", "adherent_members", "adherent_payments", "adherent_reglements", "organisms" RESTART IDENTITY CASCADE;  (1.2ms) ALTER TABLE "schema_migrations" 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 "organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (45.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:57:52 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:57:52 UTC +00:00]]  (4.0ms) COMMIT 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  (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" = 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", Fri, 30 Aug 2013 15:57:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:57:52 UTC +00:00]]  (154.0ms) COMMIT 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  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 1) 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", Fri, 30 Aug 2013 15:57:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:57:52 UTC +00:00]]  (23.4ms) COMMIT 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  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' 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", Fri, 30 Aug 2013 15:57:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:57:52 UTC +00:00]]  (2.1ms) COMMIT Adherent::Member Exists (3.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 1) LIMIT 1  (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.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", Fri, 30 Aug 2013 15:57:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:57:52 UTC +00:00]]  (1.8ms) COMMIT 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  (0.1ms) BEGIN Adherent::Member Exists (5.9ms) 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", Fri, 30 Aug 2013 15:57:52 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:57:52 UTC +00:00]]  (1.0ms) COMMIT Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (15.7ms) SELECT "adherent_adhesions".* 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 ORDER BY to_date DESC LIMIT 1  (0.1ms) BEGIN SQL (9.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:57:52 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:57:52 UTC +00:00]]  (2.8ms) COMMIT Started GET "/adherent/members/1/adhesions" for 127.0.0.1 at 2013-08-30 17:57:52 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1"} Organism Load (6.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]]  (0.6ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 Adherent::Adhesion Load (5.0ms) 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 41ms (Views: 13.4ms | ActiveRecord: 16.8ms) Started GET "/assets/adherent/icones/nouveau.png" for 127.0.0.1 at 2013-08-30 17:57:53 +0200 Served asset /adherent/icones/nouveau.png - 200 OK (60ms) Started DELETE "/adherent/members/1/adhesions/1" for 127.0.0.1 at 2013-08-30 17:57:54 +0200 Processing by Adherent::AdhesionsController#destroy as HTML Parameters: {"member_id"=>"1", "id"=>"1"} Organism Load (1.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (3.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] Adherent::Adhesion Load (13.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]]  (1.4ms) BEGIN SQL (10.6ms) DELETE FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 [["id", 1]]  (141.2ms) COMMIT Redirected to http://127.0.0.1:54149/adherent/members/1/adhesions Completed 302 Found in 200ms (ActiveRecord: 171.7ms) Started GET "/adherent/members/1/adhesions" for 127.0.0.1 at 2013-08-30 17:57:54 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1"} Organism Load (6.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", "1"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 Redirected to http://127.0.0.1:54149/adherent/members/1/adhesions/new Completed 302 Found in 16ms (ActiveRecord: 7.0ms) Started GET "/adherent/members/1/adhesions/new" for 127.0.0.1 at 2013-08-30 17:57:54 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1"} Organism Load (2.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (3.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (14.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 (5.2ms) Completed 200 OK in 41ms (Views: 23.1ms | ActiveRecord: 7.1ms) Started GET "/assets/adherent/cal.gif" for 127.0.0.1 at 2013-08-30 17:57:55 +0200 Served asset /adherent/cal.gif - 200 OK (28ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_adhesions"   (0.3ms) ALTER TABLE "schema_migrations" 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 "organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL  (43.3ms) TRUNCATE TABLE "adherent_coords", "adherent_adhesions", "adherent_members", "adherent_payments", "adherent_reglements", "organisms" RESTART IDENTITY CASCADE;  (0.5ms) ALTER TABLE "schema_migrations" 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 "organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (12.3ms) BEGIN SQL (3.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:57:55 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:57:55 UTC +00:00]]  (2.4ms) COMMIT Adherent::Member Exists (4.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) LIMIT 1  (1.9ms) BEGIN Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) 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", Fri, 30 Aug 2013 15:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:57:55 UTC +00:00]]  (0.8ms) COMMIT Adherent::Member Exists (5.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (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" = 1) LIMIT 1 SQL (7.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", Fri, 30 Aug 2013 15:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:57:55 UTC +00:00]]  (1.2ms) COMMIT 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  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (3.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", Fri, 30 Aug 2013 15:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:57:55 UTC +00:00]]  (2.4ms) COMMIT 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  (0.0ms) BEGIN Adherent::Member Exists (0.0ms) 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", Fri, 30 Aug 2013 15:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:57:55 UTC +00:00]]  (3.1ms) COMMIT Adherent::Member Exists (5.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.1ms) 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", Fri, 30 Aug 2013 15:57:55 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:57:55 UTC +00:00]]  (1.7ms) COMMIT Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members" for 127.0.0.1 at 2013-08-30 17:57:55 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (14.1ms) 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"."organism_id" = 1  (0.2ms) SHOW max_identifier_length  (3.2ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 1 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1  (3.1ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 2 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (2.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 2 LIMIT 1  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 3 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (3.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 3 LIMIT 1  (9.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 4 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1  (3.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 5 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (2.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 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 115ms (Views: 66.4ms | ActiveRecord: 45.5ms) Started GET "/assets/adherent/icones/card-address.png" for 127.0.0.1 at 2013-08-30 17:57:55 +0200 Served asset /adherent/icones/card-address.png - 200 OK (62ms) Started GET "/assets/adherent/icones/bandaid.png" for 127.0.0.1 at 2013-08-30 17:57:55 +0200 Served asset /adherent/icones/bandaid.png - 200 OK (31ms) Started GET "/assets/images/sort_asc.png" for 127.0.0.1 at 2013-08-30 17:57:56 +0200 Served asset /images/sort_asc.png - 200 OK (141ms) Started GET "/assets/images/sort_both.png" for 127.0.0.1 at 2013-08-30 17:57:56 +0200 Served asset /images/sort_both.png - 200 OK (33ms) Started GET "/assets/images/back_disabled.png" for 127.0.0.1 at 2013-08-30 17:57:56 +0200 Served asset /images/back_disabled.png - 200 OK (81ms) Started GET "/assets/images/forward_disabled.png" for 127.0.0.1 at 2013-08-30 17:57:56 +0200 Served asset /images/forward_disabled.png - 200 OK (210ms) Started DELETE "/adherent/members/1" for 127.0.0.1 at 2013-08-30 17:57:57 +0200 Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1"} Organism Load (7.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]]  (0.2ms) BEGIN Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1 SQL (0.4ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 1]]  (74.5ms) COMMIT Redirected to http://127.0.0.1:54149/adherent/members Completed 302 Found in 95ms (ActiveRecord: 83.8ms) Started GET "/adherent/members" for 127.0.0.1 at 2013-08-30 17:57:57 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.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"."organism_id" = 1  (1.3ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 2 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 2 LIMIT 1  (0.2ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 3 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 3 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 4 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 5 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.1ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 LIMIT 1 Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.4ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 42ms (Views: 34.4ms | ActiveRecord: 5.5ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_members"  (0.3ms) ALTER TABLE "schema_migrations" 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 "organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL  (272.4ms) TRUNCATE TABLE "adherent_coords", "adherent_adhesions", "adherent_members", "adherent_payments", "adherent_reglements", "organisms" RESTART IDENTITY CASCADE;  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL  (0.1ms) BEGIN Organism Load (0.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (14.3ms) SAVEPOINT active_record_1 SQL (4.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:57:58 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:57:58 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (6.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.2ms) 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" = 1) LIMIT 1 SQL (2.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", Fri, 30 Aug 2013 15:57:58 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:57:58 UTC +00:00]]  (2.4ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members/1/coord/new" for 127.0.0.1 at 2013-08-30 17:57:58 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1"} Organism Load (6.0ms) 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"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (16.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 31ms (Views: 20.7ms | ActiveRecord: 6.6ms) Started POST "/adherent/members/1/coord" for 127.0.0.1 at 2013-08-30 17:57:58 +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"=>"1"} 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", "1"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.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", ""], ["city", "Oklahoma city"], ["created_at", Fri, 30 Aug 2013 15:57:59 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 1], ["office", ""], ["tel", ""], ["updated_at", Fri, 30 Aug 2013 15:57:59 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/1/adhesions/new Completed 302 Found in 13ms (ActiveRecord: 1.9ms) Started GET "/adherent/members/1/adhesions/new" for 127.0.0.1 at 2013-08-30 17:57:59 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1"} Organism Load (2.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", "1"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (11.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 38ms (Views: 25.4ms | ActiveRecord: 3.5ms) Adherent::Coord Load (4.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1  (0.4ms) ROLLBACK  (0.1ms) BEGIN Organism Load (2.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (5.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:57:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:57:59 UTC +00:00]]  (1.0ms) RELEASE 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" = 2) LIMIT 1  (5.3ms) 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" = 2) LIMIT 1 SQL (11.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", Fri, 30 Aug 2013 15:57:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 2], ["updated_at", Fri, 30 Aug 2013 15:57:59 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/2/coord/new" for 127.0.0.1 at 2013-08-30 17:57:59 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"2"} Organism Load (9.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", "2"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 2 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (15.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 38ms (Views: 23.7ms | ActiveRecord: 10.2ms)  (2.4ms) SELECT COUNT(*) FROM "adherent_coords" Started POST "/adherent/members/2/coord" for 127.0.0.1 at 2013-08-30 17:57:59 +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"=>"2"} 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", "2"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 2 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (3.8ms) 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", Fri, 30 Aug 2013 15:57:59 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 2], ["office", ""], ["tel", ""], ["updated_at", Fri, 30 Aug 2013 15:57:59 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/2/adhesions/new Completed 302 Found in 11ms (ActiveRecord: 4.8ms) Started GET "/adherent/members/2/adhesions/new" for 127.0.0.1 at 2013-08-30 17:57:59 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"2"} Organism Load (7.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", "2"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (7.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 24ms (Views: 10.9ms | ActiveRecord: 7.8ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"   (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", Fri, 30 Aug 2013 15:57:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:57:59 UTC +00:00]]  (5.8ms) RELEASE 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" = 3) LIMIT 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" = 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", Fri, 30 Aug 2013 15:57:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 3], ["updated_at", Fri, 30 Aug 2013 15:57:59 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/3/coord/new" for 127.0.0.1 at 2013-08-30 17:57:59 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"3"} Organism Load (0.5ms) 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"."id" = $1 LIMIT 1 [["id", "3"]] Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 3 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (19.7ms) Rendered layouts/adherent/_header.html.haml (0.7ms) 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: 29.2ms | ActiveRecord: 1.6ms)  (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 (0.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:57:59 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:57:59 UTC +00:00]]  (0.8ms) RELEASE 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" = 4) LIMIT 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" = 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", Fri, 30 Aug 2013 15:57:59 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 4], ["updated_at", Fri, 30 Aug 2013 15:57:59 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/4/coord/new" for 127.0.0.1 at 2013-08-30 17:57:59 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"4"} Organism Load (2.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", "4"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (10.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 29ms (Views: 15.3ms | ActiveRecord: 3.1ms) Started POST "/adherent/members/4/coord" for 127.0.0.1 at 2013-08-30 17:57:59 +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"=>"4"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "4"]] Adherent::Coord Load (2.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.8ms) 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", Fri, 30 Aug 2013 15:57:59 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 4], ["office", ""], ["tel", ""], ["updated_at", Fri, 30 Aug 2013 15:57:59 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/4/adhesions/new Completed 302 Found in 17ms (ActiveRecord: 10.1ms) Started GET "/adherent/members/4/adhesions/new" for 127.0.0.1 at 2013-08-30 17:57:59 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"4"} Organism Load (1.9ms) 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"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 16ms (Views: 7.9ms | ActiveRecord: 2.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (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.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", Fri, 30 Aug 2013 15:57:59 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:57:59 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" = '002' 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", Fri, 30 Aug 2013 15:57:59 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:57:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (44.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", #], ["created_at", Fri, 30 Aug 2013 15:57:59 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 5], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 15:57:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (5.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:57:59 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 6], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 15:57:59 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (21.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:57:59 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 6], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:57:59 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 6 LIMIT 1 Adherent::Adhesion Load (25.0ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 6 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 2 SQL (52.9ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 15:58:00 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", #], ["created_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 6], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 6 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 6 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 2 SQL (1.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00], ["payment_id", 2], ["updated_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (4.3ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 5], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 5 LIMIT 1 Adherent::Adhesion Load (3.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 5 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 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", 1], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00], ["payment_id", 3], ["updated_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL)  (0.4ms) 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" = '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", Fri, 30 Aug 2013 15:58:00 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 15:58:00 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 7], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00]]  (2.0ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 8], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 8], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 8 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 8 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 4 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", 4], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00], ["payment_id", 4], ["updated_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 7], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:58:00 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.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 7 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00], ["payment_id", 5], ["updated_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) 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.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", Fri, 30 Aug 2013 15:58:00 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:58:00 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" = '002' 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", Fri, 30 Aug 2013 15:58:00 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:58:00 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", #], ["created_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 9], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 10], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 10], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 10 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 10 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 6 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", 6], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00], ["payment_id", 6], ["updated_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY "adherent_adhesions"."id" DESC LIMIT 1  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (1.4ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00]]  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 7  (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", 7], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.8ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8  (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", 8], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 15:58:00 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" = 8  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 SQL (3.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", #], ["created_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:58:00 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" = 9  (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", 9], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 9  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AllpaymentsController#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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:58:00 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" INNER JOIN "adherent_members" ON "adherent_payments"."member_id" = "adherent_members"."id" WHERE "adherent_members"."organism_id" = 5 Completed 200 OK in 383ms (Views: 58.4ms | ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (8.4ms) ROLLBACK  (1.8ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh1' 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", Fri, 30 Aug 2013 15:58:01 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:58:01 UTC +00:00]]  (1.6ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (6.0ms) 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", Fri, 30 Aug 2013 15:58:01 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 11], ["office", nil], ["tel", nil], ["updated_at", Fri, 30 Aug 2013 15:58:01 UTC +00:00], ["zip", 59000]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 11 LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "adherent_coords"  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 4]] SQL (0.2ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 11]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) ROLLBACK Connecting to database specified by database.yml Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (5.7ms) BEGIN SQL (35.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:58:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:58:36 UTC +00:00]]  (2.0ms) COMMIT Adherent::Member Exists (2.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 6) LIMIT 1  (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" = 6) LIMIT 1 SQL (5.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", Fri, 30 Aug 2013 15:58:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 6], ["updated_at", Fri, 30 Aug 2013 15:58:36 UTC +00:00]]  (0.9ms) COMMIT Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 6) LIMIT 1  (3.5ms) BEGIN Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' 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", Fri, 30 Aug 2013 15:58:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 6], ["updated_at", Fri, 30 Aug 2013 15:58:36 UTC +00:00]]  (0.8ms) COMMIT Adherent::Member Exists (6.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 6) LIMIT 1  (0.3ms) BEGIN Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 6) 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", Fri, 30 Aug 2013 15:58:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 6], ["updated_at", Fri, 30 Aug 2013 15:58:36 UTC +00:00]]  (0.7ms) COMMIT Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 6) LIMIT 1  (0.1ms) BEGIN Adherent::Member Exists (1.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 6) 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", Fri, 30 Aug 2013 15:58:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 6], ["updated_at", Fri, 30 Aug 2013 15:58:36 UTC +00:00]]  (1.8ms) COMMIT Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 6) LIMIT 1  (0.1ms) BEGIN Adherent::Member Exists (3.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' 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", Fri, 30 Aug 2013 15:58:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 6], ["updated_at", Fri, 30 Aug 2013 15:58:36 UTC +00:00]]  (1.2ms) COMMIT Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members" for 127.0.0.1 at 2013-08-30 17:58:58 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.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"."organism_id" = 6  (0.2ms) SHOW max_identifier_length  (60.2ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 12 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 12 LIMIT 1  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 13 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 13 LIMIT 1  (1.1ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 14 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 14 LIMIT 1  (1.0ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 15 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 15 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 16 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 16 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (382.4ms) Rendered layouts/adherent/_header.html.haml (1.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.2ms) Completed 200 OK in 936ms (Views: 683.2ms | ActiveRecord: 82.0ms) Started GET "/assets/adherent/application.css" for 127.0.0.1 at 2013-08-30 17:59:00 +0200 Served asset /adherent/application.css - 200 OK (2123ms) Started GET "/assets/adherent/application.js" for 127.0.0.1 at 2013-08-30 17:59:02 +0200 Served asset /adherent/application.js - 200 OK (1042ms) Started GET "/assets/adherent/icones/nouveau.png" for 127.0.0.1 at 2013-08-30 17:59:04 +0200 Served asset /adherent/icones/nouveau.png - 200 OK (53ms) Started GET "/assets/adherent/icones/modifier.png" for 127.0.0.1 at 2013-08-30 17:59:04 +0200 Served asset /adherent/icones/modifier.png - 200 OK (51ms) Started GET "/assets/adherent/icones/supprimer.png" for 127.0.0.1 at 2013-08-30 17:59:04 +0200 Served asset /adherent/icones/supprimer.png - 200 OK (62ms) Started GET "/assets/adherent/icones/bandaid.png" for 127.0.0.1 at 2013-08-30 17:59:04 +0200 Served asset /adherent/icones/bandaid.png - 200 OK (28ms) Started GET "/assets/adherent/icones/card-address.png" for 127.0.0.1 at 2013-08-30 17:59:04 +0200 Served asset /adherent/icones/card-address.png - 200 OK (29ms) Started GET "/assets/adherent/icones/payment.png" for 127.0.0.1 at 2013-08-30 17:59:04 +0200 Served asset /adherent/icones/payment.png - 200 OK (72ms) Started GET "/assets/images/sort_both.png" for 127.0.0.1 at 2013-08-30 17:59:04 +0200 Served asset /images/sort_both.png - 200 OK (2ms) Started GET "/assets/images/sort_asc.png" for 127.0.0.1 at 2013-08-30 17:59:04 +0200 Served asset /images/sort_asc.png - 200 OK (3ms) Started GET "/assets/images/back_disabled.png" for 127.0.0.1 at 2013-08-30 17:59:04 +0200 Served asset /images/back_disabled.png - 200 OK (1ms) Started GET "/assets/images/forward_disabled.png" for 127.0.0.1 at 2013-08-30 17:59:04 +0200 Served asset /images/forward_disabled.png - 200 OK (2ms) Started DELETE "/adherent/members/12" for 127.0.0.1 at 2013-08-30 17:59:06 +0200 Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"12"} Organism Load (15.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (8.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "12"]]  (1.6ms) BEGIN Adherent::Coord Load (7.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 12 LIMIT 1 SQL (13.5ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 12]]  (18.3ms) COMMIT Redirected to http://127.0.0.1:56006/adherent/members Completed 302 Found in 89ms (ActiveRecord: 66.9ms) Started GET "/adherent/members" for 127.0.0.1 at 2013-08-30 17:59:07 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.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"."organism_id" = 6  (2.0ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 13 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 13 LIMIT 1  (5.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 14 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 14 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 15 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 15 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 16 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (1.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 16 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/index.html.erb within layouts/adherent/application (68.5ms) 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 107ms (Views: 83.5ms | ActiveRecord: 14.1ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_members"  (153.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL  (20.0ms) select table_name from information_schema.views where table_schema = 'adh_test'  (644.5ms) TRUNCATE TABLE "adherent_adhesions", "adherent_coords", "adherent_reglements", "organisms", "adherent_members", "adherent_payments" RESTART IDENTITY CASCADE;  (1.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL Organism Load (1.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.4ms) BEGIN SQL (8.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:08 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:08 UTC +00:00]]  (2.3ms) COMMIT Adherent::Member Exists (1.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) LIMIT 1  (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.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", Fri, 30 Aug 2013 15:59:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:08 UTC +00:00]]  (1.1ms) COMMIT Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.3ms) BEGIN Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (0.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", Fri, 30 Aug 2013 15:59:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:08 UTC +00:00]]  (0.9ms) COMMIT 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  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 1) 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", Fri, 30 Aug 2013 15:59:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:08 UTC +00:00]]  (0.9ms) COMMIT 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  (0.1ms) BEGIN Adherent::Member Exists (0.0ms) 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", Fri, 30 Aug 2013 15:59:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:08 UTC +00:00]]  (0.9ms) COMMIT 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  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 1) 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", Fri, 30 Aug 2013 15:59:08 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:08 UTC +00:00]]  (0.6ms) COMMIT 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.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 ORDER BY to_date DESC LIMIT 1  (0.1ms) BEGIN 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", #], ["created_at", Fri, 30 Aug 2013 15:59:08 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:08 UTC +00:00]]  (0.9ms) COMMIT Started GET "/adherent/members/1/adhesions" for 127.0.0.1 at 2013-08-30 17:59:08 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1"} Organism Load (0.6ms) 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", "1"]]  (4.4ms) SELECT COUNT(*) 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  (0.4ms) 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 44ms (Views: 31.3ms | ActiveRecord: 8.2ms) Started GET "/assets/adherent/icones/users.png" for 127.0.0.1 at 2013-08-30 17:59:08 +0200 Served asset /adherent/icones/users.png - 200 OK (33ms) Started DELETE "/adherent/members/1/adhesions/1" for 127.0.0.1 at 2013-08-30 17:59:09 +0200 Processing by Adherent::AdhesionsController#destroy as HTML Parameters: {"member_id"=>"1", "id"=>"1"} Organism Load (11.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]]  (0.7ms) BEGIN SQL (2.7ms) DELETE FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 [["id", 1]]  (27.5ms) COMMIT Redirected to http://127.0.0.1:56006/adherent/members/1/adhesions Completed 302 Found in 61ms (ActiveRecord: 46.0ms) Started GET "/adherent/members/1/adhesions" for 127.0.0.1 at 2013-08-30 17:59:09 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1"} Organism Load (2.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", "1"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 Redirected to http://127.0.0.1:56006/adherent/members/1/adhesions/new Completed 302 Found in 9ms (ActiveRecord: 3.1ms) Started GET "/adherent/members/1/adhesions/new" for 127.0.0.1 at 2013-08-30 17:59:09 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"1"} Organism Load (2.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] Adherent::Adhesion Load (1.7ms) SELECT "adherent_adhesions".* 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 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (47.8ms) 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 92ms (Views: 80.2ms | ActiveRecord: 6.1ms) Started GET "/assets/adherent/cal.gif" for 127.0.0.1 at 2013-08-30 17:59:10 +0200 Served asset /adherent/cal.gif - 200 OK (40ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_adhesions"   (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL  (126.2ms) TRUNCATE TABLE "adherent_adhesions", "adherent_coords", "adherent_reglements", "organisms", "adherent_members", "adherent_payments" RESTART IDENTITY CASCADE;  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL Organism Load (1.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (26.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:10 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:10 UTC +00:00]]  (2.1ms) COMMIT 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  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' 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", Fri, 30 Aug 2013 15:59:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:11 UTC +00:00]]  (1.0ms) COMMIT 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  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' 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", Fri, 30 Aug 2013 15:59:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:11 UTC +00:00]]  (1.2ms) COMMIT 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  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) 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", Fri, 30 Aug 2013 15:59:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:11 UTC +00:00]]  (1.1ms) COMMIT 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  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) 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", Fri, 30 Aug 2013 15:59:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:11 UTC +00:00]]  (1.4ms) COMMIT 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  (0.1ms) BEGIN Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' 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", Fri, 30 Aug 2013 15:59:11 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:11 UTC +00:00]]  (1.0ms) COMMIT Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  (0.1ms) BEGIN SQL (1.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:11 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 1], ["mode", "Chèque"], ["updated_at", Fri, 30 Aug 2013 15:59:11 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 1 LIMIT 1 Adherent::Adhesion Load (1.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 1 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (1.7ms) COMMIT Started GET "/adherent/members/1/payments/1" for 127.0.0.1 at 2013-08-30 17:59:11 +0200 Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1", "id"=>"1"} 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", "1"]] Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 1 AND "adherent_payments"."id" = 1 LIMIT 1 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1 Adherent::Member Load (0.3ms) 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 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 50ms (Views: 30.0ms | ActiveRecord: 9.2ms) Started GET "/assets/adherent/icones/money-plus.png" for 127.0.0.1 at 2013-08-30 17:59:11 +0200 Served asset /adherent/icones/money-plus.png - 200 OK (24ms) Started GET "/assets/adherent/icones/imputation.png" for 127.0.0.1 at 2013-08-30 17:59:11 +0200 Served asset /adherent/icones/imputation.png - 200 OK (15ms) Started DELETE "/adherent/members/1/payments/1" for 127.0.0.1 at 2013-08-30 17:59:11 +0200 Processing by Adherent::PaymentsController#destroy as HTML Parameters: {"member_id"=>"1", "id"=>"1"} Organism Load (2.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]] Adherent::Payment Load (16.6ms) 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 (7.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1 SQL (3.5ms) DELETE FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 [["id", 1]]  (21.9ms) COMMIT Redirected to http://127.0.0.1:56006/adherent/members/1/payments Completed 302 Found in 71ms (ActiveRecord: 54.7ms) Started GET "/adherent/members/1/payments" for 127.0.0.1 at 2013-08-30 17:59:11 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1"} Organism Load (1.6ms) 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"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 1 Rendered collection (0.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 49ms (Views: 42.8ms | ActiveRecord: 2.4ms)  (1.2ms) SELECT COUNT(*) FROM "adherent_payments"  (1.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL  (168.2ms) TRUNCATE TABLE "adherent_adhesions", "adherent_coords", "adherent_reglements", "organisms", "adherent_members", "adherent_payments" RESTART IDENTITY CASCADE;  (0.7ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL Connecting to database specified by database.yml  (0.1ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1002"} Organism Load (1.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.2ms) SAVEPOINT active_record_1 SQL (22.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00]]  (12.6ms) RELEASE SAVEPOINT active_record_1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/new.html.erb within layouts/adherent/application (0.3ms) Completed 200 OK in 102ms (Views: 15.7ms | ActiveRecord: 42.5ms)  (0.4ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"1005"} Organism Load (1.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", Fri, 30 Aug 2013 15:59:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 14ms (Views: 1.0ms | ActiveRecord: 5.2ms)  (1.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::ReglementsController#create as HTML Parameters: {"reglement"=>{"adhesion_id"=>"9"}, "payment_id"=>"1008"} 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", Fri, 30 Aug 2013 15:59:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1007/payments Completed 302 Found in 5ms (ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (2.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" IS NULL  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (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 (1.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", Fri, 30 Aug 2013 15:59:29 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 15:59:29 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" = 1 Adherent::Adhesion Load (10.6ms) 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 (7.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", #], ["created_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 1], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 1], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 1 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 1 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 1 SQL (1.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00]]  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 2 SQL (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) 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", Fri, 30 Aug 2013 15:59:29 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00]]  (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 2], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 15:59:29 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" = 2 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 2 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", #], ["created_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 2], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 2], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 2 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 2 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00], ["payment_id", 2], ["updated_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.7ms) 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.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", Fri, 30 Aug 2013 15:59:29 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:29 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", #], ["created_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 3], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 15:59:29 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" = 3 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 3 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", #], ["created_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00], ["from_date", Tue, 01 Oct 2013], ["member_id", 3], ["to_date", Tue, 30 Sep 2014], ["updated_at", Fri, 30 Aug 2013 15:59:29 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", #], ["created_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 3], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 3 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 3 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 5 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", 5], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00], ["payment_id", 3], ["updated_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00]]  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 6 SQL (0.3ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 6], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00], ["payment_id", 3], ["updated_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_reglements"   (0.1ms) 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.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"1009", "id"=>"1010"} 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", Fri, 30 Aug 2013 15:59:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 9ms (Views: 3.0ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"1011"} 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", Fri, 30 Aug 2013 15:59:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 68ms (Views: 62.6ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1013"} 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", Fri, 30 Aug 2013 15:59:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1015"} 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", Fri, 30 Aug 2013 15:59:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1015/payments Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#create as HTML Parameters: {"payment"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1017"} Organism Load (1.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", Fri, 30 Aug 2013 15:59:29 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:29 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1017/payments Completed 302 Found in 7ms (ActiveRecord: 2.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1019"} 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", Fri, 30 Aug 2013 15:59:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"1020"} 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", Fri, 30 Aug 2013 15:59:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.2ms) 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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:30 UTC +00:00]]  (0.1ms) RELEASE 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" = 11) LIMIT 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" = 11) 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", Fri, 30 Aug 2013 15:59:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 11], ["updated_at", Fri, 30 Aug 2013 15:59:30 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/4/coord/new" for 127.0.0.1 at 2013-08-30 17:59:30 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"4"} 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", "4"]] Adherent::Coord Load (0.5ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (30.1ms) Rendered layouts/adherent/_header.html.haml (1.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (2.2ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (1.1ms) Completed 200 OK in 141ms (Views: 65.7ms | ActiveRecord: 3.3ms) Started POST "/adherent/members/4/coord" for 127.0.0.1 at 2013-08-30 17:59:30 +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"=>"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"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.8ms) 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", Fri, 30 Aug 2013 15:59:30 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 4], ["office", ""], ["tel", ""], ["updated_at", Fri, 30 Aug 2013 15:59:30 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/4/adhesions/new Completed 302 Found in 9ms (ActiveRecord: 1.8ms) Started GET "/adherent/members/4/adhesions/new" for 127.0.0.1 at 2013-08-30 17:59:30 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"4"} 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", "4"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 4 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (9.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 22ms (Views: 15.7ms | ActiveRecord: 1.1ms)  (0.0ms) 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", Fri, 30 Aug 2013 15:59:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:30 UTC +00:00]]  (0.1ms) RELEASE 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" = 12) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 12) 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", Fri, 30 Aug 2013 15:59:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 12], ["updated_at", Fri, 30 Aug 2013 15:59:30 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/5/coord/new" for 127.0.0.1 at 2013-08-30 17:59:30 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"5"} 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", "5"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (9.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 18ms (Views: 13.9ms | ActiveRecord: 0.8ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords" Started POST "/adherent/members/5/coord" for 127.0.0.1 at 2013-08-30 17:59:30 +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"=>"5"} Organism Load (0.8ms) 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", "5"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 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", Fri, 30 Aug 2013 15:59:30 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 5], ["office", ""], ["tel", ""], ["updated_at", Fri, 30 Aug 2013 15:59:30 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/5/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 2.0ms) Started GET "/adherent/members/5/adhesions/new" for 127.0.0.1 at 2013-08-30 17:59:30 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"5"} Organism Load (1.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", "5"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 5 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 14ms (Views: 8.0ms | ActiveRecord: 2.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) 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", Fri, 30 Aug 2013 15:59:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:30 UTC +00:00]]  (0.1ms) RELEASE 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" = 13) LIMIT 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" = 13) 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", Fri, 30 Aug 2013 15:59:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 13], ["updated_at", Fri, 30 Aug 2013 15:59:30 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members/6/coord/new" for 127.0.0.1 at 2013-08-30 17:59:30 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"6"} 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", "6"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 6 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (9.0ms) 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 19ms (Views: 14.0ms | ActiveRecord: 0.8ms) Started POST "/adherent/members/6/coord" for 127.0.0.1 at 2013-08-30 17:59:30 +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"=>"6"} 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", "6"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 6 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", Fri, 30 Aug 2013 15:59:30 UTC +00:00], ["gsm", ""], ["mail", "joe.dalton@penitencier.us"], ["member_id", 6], ["office", ""], ["tel", ""], ["updated_at", Fri, 30 Aug 2013 15:59:30 UTC +00:00], ["zip", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/6/adhesions/new Completed 302 Found in 8ms (ActiveRecord: 1.4ms) Started GET "/adherent/members/6/adhesions/new" for 127.0.0.1 at 2013-08-30 17:59:30 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"6"} 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", "6"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 6 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 6 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 14ms (Views: 7.9ms | ActiveRecord: 1.2ms) Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 6 LIMIT 1  (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", Fri, 30 Aug 2013 15:59:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:30 UTC +00:00]]  (0.1ms) RELEASE 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" = 14) LIMIT 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" = 14) 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", Fri, 30 Aug 2013 15:59:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 14], ["updated_at", Fri, 30 Aug 2013 15:59:30 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/7/coord/new" for 127.0.0.1 at 2013-08-30 17:59:30 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"7"} 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", "7"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 7 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (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.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 18ms (Views: 14.2ms | ActiveRecord: 0.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) 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" = 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", Fri, 30 Aug 2013 15:59:30 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "Adh1"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.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", Fri, 30 Aug 2013 15:59:30 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 8], ["office", nil], ["tel", nil], ["updated_at", Fri, 30 Aug 2013 15:59:30 UTC +00:00], ["zip", 59000]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 8 LIMIT 1  (0.8ms) SELECT COUNT(*) FROM "adherent_coords"   (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "adherent_coords" WHERE "adherent_coords"."id" = $1 [["id", 4]] SQL (10.4ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 8]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "adherent_coords"  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:30 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:30 UTC +00:00]]  (0.1ms) RELEASE 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" = 15) LIMIT 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" = 15) 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", Fri, 30 Aug 2013 15:59:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 15], ["updated_at", Fri, 30 Aug 2013 15:59:30 UTC +00:00]]  (0.1ms) RELEASE 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" = 15) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 15) 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", Fri, 30 Aug 2013 15:59:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 15], ["updated_at", Fri, 30 Aug 2013 15:59:30 UTC +00:00]]  (0.1ms) RELEASE 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" = 15) LIMIT 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" = 15) 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", Fri, 30 Aug 2013 15:59:30 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 15], ["updated_at", Fri, 30 Aug 2013 15:59:30 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" = 9 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 9 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", #], ["created_at", Fri, 30 Aug 2013 15:59:30 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 9], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/9/payments/new" for 127.0.0.1 at 2013-08-30 17:59:30 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"9"} 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", "9"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 9 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.4ms) 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 (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 32ms (Views: 24.3ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/9/payments" for 127.0.0.1 at 2013-08-30 17:59:30 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"9"} 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", "9"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:59:30 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 9], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:59:30 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 9 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 9 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:30 UTC +00:00], ["payment_id", 4], ["updated_at", Fri, 30 Aug 2013 15:59:30 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/9/payments Completed 302 Found in 13ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/9/payments" for 127.0.0.1 at 2013-08-30 17:59:30 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"9"} 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", "9"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 9 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 7 LIMIT 1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 9 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 9 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (28.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 61ms (Views: 55.6ms | ActiveRecord: 3.1ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 9 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 10 Adherent::Adhesion Load (0.3ms) 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.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", #], ["created_at", Fri, 30 Aug 2013 15:59:30 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 10], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:30 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" = 11 Adherent::Adhesion Load (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:30 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 11], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:30 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-30 17:59:30 +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.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "4"]] Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 9 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 4 Adherent::Reglement Load (0.3ms) 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::Adhesion Load (0.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 10 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 11 LIMIT 1  (0.3ms) 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 (19.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 61ms (Views: 52.0ms | ActiveRecord: 3.6ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) RELEASE 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" = 16) LIMIT 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" = 16) 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", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 16], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.0ms) RELEASE 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" = 16) LIMIT 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" = 16) 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", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 16], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) RELEASE 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" = 16) LIMIT 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" = 16) 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", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 16], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.0ms) 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" = 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", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 12], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/12/payments/new" for 127.0.0.1 at 2013-08-30 17:59:31 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"12"} 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", "12"]] Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 12 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) 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 (61.7ms) Rendered layouts/adherent/_header.html.haml (0.3ms) 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 75ms (Views: 66.2ms | ActiveRecord: 1.8ms) Started POST "/adherent/members/12/payments" for 127.0.0.1 at 2013-08-30 17:59:31 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"12"} 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", "12"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 12], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 12 LIMIT 1 Adherent::Adhesion Load (1.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 12 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 10 SQL (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["payment_id", 5], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/12/payments Completed 302 Found in 14ms (ActiveRecord: 3.4ms) Started GET "/adherent/members/12/payments" for 127.0.0.1 at 2013-08-30 17:59:31 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"12"} 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", "12"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 12 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" = 10 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 12 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 5  (0.2ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 12 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (10.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: 15.1ms | ActiveRecord: 2.3ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 12 ORDER BY "adherent_payments"."id" DESC LIMIT 1 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.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", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 13], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 14 Adherent::Adhesion Load (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 14], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:31 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-30 17:59:31 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"5"} 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", "5"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 12 LIMIT 1 Adherent::Reglement Load (1.4ms) 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.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::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 13 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 11 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 14 LIMIT 1  (0.2ms) 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 (14.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 26ms (Views: 17.5ms | ActiveRecord: 4.3ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) RELEASE 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" = 17) LIMIT 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" = 17) 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", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 17], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) RELEASE 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" = 17) LIMIT 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" = 17) 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", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 17], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) RELEASE 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" = 17) LIMIT 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" = 17) 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", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 17], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) 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" = 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", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 15], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/15/payments/new" for 127.0.0.1 at 2013-08-30 17:59:31 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"15"} 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", "15"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 15 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) 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 (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.0ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 16ms (Views: 9.6ms | ActiveRecord: 1.3ms) Started POST "/adherent/members/15/payments" for 127.0.0.1 at 2013-08-30 17:59:31 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"15"} 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", "15"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 15], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 15 LIMIT 1 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 15 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["payment_id", 6], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/15/payments Completed 302 Found in 14ms (ActiveRecord: 2.9ms) Started GET "/adherent/members/15/payments" for 127.0.0.1 at 2013-08-30 17:59:31 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"15"} 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", "15"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 15 Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 6 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" = 15 LIMIT 1 Adherent::Reglement Load (0.3ms) 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.2ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 15 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (10.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 18ms (Views: 13.8ms | ActiveRecord: 2.4ms) Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 15 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 16 Adherent::Adhesion Load (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 16], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:31 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" = 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.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", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 17], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:31 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-30 17:59:31 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"6"} Organism Load (0.8ms) 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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 15 LIMIT 1 Adherent::Reglement Load (0.5ms) 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.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::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 17 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 15 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 16 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 14 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 26ms (Views: 15.2ms | ActiveRecord: 4.0ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) RELEASE 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" = 18) LIMIT 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" = 18) 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", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 18], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) RELEASE 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" = 18) LIMIT 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" = 18) 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", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 18], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) RELEASE 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" = 18) LIMIT 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" = 18) 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", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 18], ["updated_at", Fri, 30 Aug 2013 15:59:31 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.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 18 Adherent::Adhesion Load (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 18], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/18/payments/new" for 127.0.0.1 at 2013-08-30 17:59:31 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"18"} 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", "18"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 18 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) 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.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 17ms (Views: 9.7ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/18/payments" for 127.0.0.1 at 2013-08-30 17:59:31 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"18"} 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", "18"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 18], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]] Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 18 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 18 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["payment_id", 7], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/18/payments Completed 302 Found in 14ms (ActiveRecord: 3.1ms) Started GET "/adherent/members/18/payments" for 127.0.0.1 at 2013-08-30 17:59:31 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"18"} 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", "18"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 18 Adherent::Reglement Load (0.4ms) 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" = 16 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 18 LIMIT 1 Adherent::Reglement Load (0.3ms) 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.2ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 18 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (10.3ms) 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: 13.3ms | ActiveRecord: 2.6ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 18 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 19], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:31 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" = 20 Adherent::Adhesion Load (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 20], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:31 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-30 17:59:31 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"7"} 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", "7"]] Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 18 LIMIT 1 Adherent::Reglement Load (0.3ms) 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 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 19 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 17 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 20 LIMIT 1  (0.2ms) 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 (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 23ms (Views: 15.7ms | ActiveRecord: 3.1ms) Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 18 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 18 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 7  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 7  (0.1ms) 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", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) RELEASE 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" = 19) LIMIT 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" = 19) 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", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 19], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) RELEASE 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" = 19) LIMIT 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" = 19) 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", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 19], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) RELEASE 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" = 19) LIMIT 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" = 19) 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", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 19], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (2.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 21 Adherent::Adhesion Load (4.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 21 ORDER BY to_date DESC LIMIT 1  (1.9ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 21], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/21/payments/new" for 127.0.0.1 at 2013-08-30 17:59:31 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"21"} Organism Load (1.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "21"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 21 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (1.3ms) 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 (16.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.0ms) Completed 200 OK in 40ms (Views: 18.7ms | ActiveRecord: 5.9ms) Started POST "/adherent/members/21/payments" for 127.0.0.1 at 2013-08-30 17:59:31 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"21"} 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", "21"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 21], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 21 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 21 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["payment_id", 8], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/21/payments Completed 302 Found in 15ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/21/payments" for 127.0.0.1 at 2013-08-30 17:59:31 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"21"} 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", "21"]] Adherent::Payment Load (4.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 21 Adherent::Reglement Load (0.7ms) 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" = 19 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 21 LIMIT 1 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 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 21 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.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.1ms) Completed 200 OK in 74ms (Views: 64.7ms | ActiveRecord: 7.5ms) Adherent::Payment Load (0.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 21 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) 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.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", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 22], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:31 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" = 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", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 23], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/8/reglements/new" for 127.0.0.1 at 2013-08-30 17:59:31 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"8"} 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", "8"]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 21 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8 Adherent::Reglement Load (0.3ms) 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::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 22 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20 Adherent::Member Load (0.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 23 LIMIT 1  (0.2ms) 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 (10.9ms) 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: 14.8ms | ActiveRecord: 3.7ms) Started POST "/adherent/payments/8/reglements" for 127.0.0.1 at 2013-08-30 17:59:31 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"20"}, "commit"=>"Enregistrer", "payment_id"=>"8"} 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", "8"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "20"]] 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  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 20  (0.2ms) 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", 20], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["payment_id", 8], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 21 LIMIT 1 Redirected to http://www.example.com/adherent/members/21/payments Completed 302 Found in 11ms (ActiveRecord: 3.1ms) Started GET "/adherent/members/21/payments" for 127.0.0.1 at 2013-08-30 17:59:31 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"21"} 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", "21"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 21 Adherent::Reglement Load (0.4ms) 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" = 19 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 21 LIMIT 1 Adherent::Adhesion Load (1.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 20 LIMIT 1 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::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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 21 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (13.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 21ms (Views: 15.5ms | ActiveRecord: 3.7ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements"  (0.1ms) 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.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", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) RELEASE 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" = 20) LIMIT 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" = 20) 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", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 20], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 20) LIMIT 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" = 20) 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", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 20], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) RELEASE 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" = 20) LIMIT 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" = 20) 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", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 20], ["updated_at", Fri, 30 Aug 2013 15:59:31 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" = 24 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 24 ORDER BY to_date DESC LIMIT 1  (0.8ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 24], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/24/payments/new" for 127.0.0.1 at 2013-08-30 17:59:31 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"24"} 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", "24"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 24 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) 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 (4.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 17ms (Views: 10.1ms | ActiveRecord: 1.5ms) Started POST "/adherent/members/24/payments" for 127.0.0.1 at 2013-08-30 17:59:31 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"24"} 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", "24"]]  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 24], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 24 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 24 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.4ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["payment_id", 9], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/24/payments Completed 302 Found in 14ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/24/payments" for 127.0.0.1 at 2013-08-30 17:59:31 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"24"} 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", "24"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 24 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" = 22 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 24 LIMIT 1 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 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 24 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (10.4ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 18ms (Views: 14.5ms | ActiveRecord: 2.4ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 24 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 25 Adherent::Adhesion Load (0.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 25 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", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 25], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:31 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" = 26 Adherent::Adhesion Load (0.2ms) 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.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", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 26], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:31 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-30 17:59:31 +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" = 24 LIMIT 1 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 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::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 25 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 26 LIMIT 1  (0.2ms) 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 (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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 22ms (Views: 14.6ms | ActiveRecord: 3.0ms) Started POST "/adherent/payments/9/reglements" for 127.0.0.1 at 2013-08-30 17:59:31 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"23"}, "commit"=>"Enregistrer", "payment_id"=>"9"} Organism Load (0.5ms) 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", "9"]] Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "23"]] 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  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 23  (0.0ms) 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", 23], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["payment_id", 9], ["updated_at", Fri, 30 Aug 2013 15:59:31 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" = 24 LIMIT 1 Redirected to http://www.example.com/adherent/members/24/payments Completed 302 Found in 11ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/24/payments" for 127.0.0.1 at 2013-08-30 17:59:31 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"24"} Organism Load (0.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", "24"]] Adherent::Payment Load (0.0ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 24 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" = 22 LIMIT 1 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 24 LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 23 LIMIT 1 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.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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 24 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (13.4ms) 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 25ms (Views: 21.1ms | ActiveRecord: 2.5ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" LIMIT 1 Adherent::Adhesion Load (0.2ms) 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" = 24 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) RELEASE 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" = 21) LIMIT 1  (0.0ms) 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" = 21) 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", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 21], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.3ms) RELEASE 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" = 21) LIMIT 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" = 21) 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", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 21], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) RELEASE 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" = 21) LIMIT 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" = 21) LIMIT 1 SQL (0.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", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 21], ["updated_at", Fri, 30 Aug 2013 15:59:31 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" = 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.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", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 27], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/27/payments/new" for 127.0.0.1 at 2013-08-30 17:59:31 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"27"} 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", "27"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 27 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) 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 (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 16ms (Views: 9.5ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/27/payments" for 127.0.0.1 at 2013-08-30 17:59:31 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"27"} 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", "27"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 27], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 27 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 27 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 25 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", 25], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00], ["payment_id", 10], ["updated_at", Fri, 30 Aug 2013 15:59:31 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/27/payments Completed 302 Found in 14ms (ActiveRecord: 2.7ms) Started GET "/adherent/members/27/payments" for 127.0.0.1 at 2013-08-30 17:59:31 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"27"} 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", "27"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 27 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" = 25 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 27 LIMIT 1 Adherent::Reglement Load (0.4ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 27 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.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 17ms (Views: 12.7ms | ActiveRecord: 2.5ms) Adherent::Payment Load (1.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 27 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 28 Adherent::Adhesion Load (0.1ms) 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 (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", #], ["created_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 28], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 29 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 29 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", #], ["created_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 29], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:32 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-30 17:59:32 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"10"} 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", "10"]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 27 LIMIT 1 Adherent::Reglement Load (0.3ms) 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 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 28 LIMIT 1  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 26 Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 29 LIMIT 1  (0.3ms) 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 (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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 23ms (Views: 15.1ms | ActiveRecord: 3.3ms) Started POST "/adherent/payments/10/reglements" for 127.0.0.1 at 2013-08-30 17:59:32 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"26"}, "commit"=>"Enregistrer", "payment_id"=>"10"} 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", "10"]] 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" = 10  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id 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"."adhesion_id" = 26  (0.2ms) 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", 26], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["payment_id", 10], ["updated_at", Fri, 30 Aug 2013 15:59:32 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" = 27 LIMIT 1 Redirected to http://www.example.com/adherent/members/27/payments Completed 302 Found in 12ms (ActiveRecord: 2.5ms) Started GET "/adherent/members/27/payments" for 127.0.0.1 at 2013-08-30 17:59:32 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"27"} 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", "27"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 27 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" = 25 LIMIT 1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 27 LIMIT 1 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 26 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 28 LIMIT 1 Adherent::Reglement Load (0.3ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 27 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (13.3ms) Rendered layouts/adherent/_header.html.haml (0.8ms) 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: 16.5ms | 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00]]  (0.1ms) RELEASE 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" = 22) LIMIT 1  (0.2ms) 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" = 22) 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", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 22], ["updated_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 22) LIMIT 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" = 22) 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", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 22], ["updated_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00]]  (0.1ms) RELEASE 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" = 22) LIMIT 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" = 22) 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", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 22], ["updated_at", Fri, 30 Aug 2013 15:59: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" = 30 Adherent::Adhesion Load (0.3ms) 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.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", #], ["created_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 30], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/30/payments/new" for 127.0.0.1 at 2013-08-30 17:59:32 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"30"} Organism Load (6.2ms) 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", "30"]] Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 30 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) 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 24ms (Views: 9.4ms | ActiveRecord: 7.8ms) Started POST "/adherent/members/30/payments" for 127.0.0.1 at 2013-08-30 17:59:32 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"30"} 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", "30"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 30], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 30 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 30 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["payment_id", 11], ["updated_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/30/payments Completed 302 Found in 13ms (ActiveRecord: 2.6ms) Started GET "/adherent/members/30/payments" for 127.0.0.1 at 2013-08-30 17:59:32 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"30"} 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", "30"]] Adherent::Payment Load (1.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 30 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" = 28 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 30 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11  (0.0ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 30 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.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: 13.4ms | ActiveRecord: 3.3ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 30 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) 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.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", #], ["created_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 31], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:32 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" = 32 Adherent::Adhesion Load (0.3ms) 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.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", #], ["created_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 32], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:32 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-30 17:59:32 +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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 30 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11 Adherent::Reglement Load (0.3ms) 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::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 32 LIMIT 1  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 30 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 31 LIMIT 1  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 29 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (12.0ms) 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 24ms (Views: 16.4ms | ActiveRecord: 3.7ms) Started POST "/adherent/payments/11/reglements" for 127.0.0.1 at 2013-08-30 17:59:32 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"29"}, "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.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "29"]] Adherent::Reglement Load (0.3ms) 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  (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.4ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["payment_id", 11], ["updated_at", Fri, 30 Aug 2013 15:59:32 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" = 30 LIMIT 1 Redirected to http://www.example.com/adherent/members/30/payments Completed 302 Found in 10ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/30/payments" for 127.0.0.1 at 2013-08-30 17:59:32 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"30"} 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", "30"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 30 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 11 Adherent::Adhesion Load (0.1ms) 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" = 30 LIMIT 1 Adherent::Adhesion Load (0.3ms) 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" = 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::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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 30 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (11.9ms) 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 19ms (Views: 15.1ms | ActiveRecord: 2.7ms) Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 31 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 29  (0.2ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00]]  (0.1ms) RELEASE 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" = 23) LIMIT 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" = 23) 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", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 23], ["updated_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00]]  (0.1ms) RELEASE 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" = 23) LIMIT 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" = 23) LIMIT 1 SQL (11.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", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 23], ["updated_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00]]  (0.1ms) RELEASE 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" = 23) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 23) 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", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 23], ["updated_at", Fri, 30 Aug 2013 15:59: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" = 33 Adherent::Adhesion Load (0.2ms) 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 (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", #], ["created_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 33], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/33/payments/new" for 127.0.0.1 at 2013-08-30 17:59:32 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"33"} Organism Load (0.0ms) 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", "33"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 33 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) 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 (6.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 17ms (Views: 10.0ms | ActiveRecord: 1.4ms) Started POST "/adherent/members/33/payments" for 127.0.0.1 at 2013-08-30 17:59:32 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"80", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"33"} 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", "33"]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 33], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 33 LIMIT 1 Adherent::Adhesion Load (4.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 33 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 31 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", 31], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["payment_id", 12], ["updated_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/33/payments Completed 302 Found in 20ms (ActiveRecord: 7.7ms) Started GET "/adherent/members/33/payments" for 127.0.0.1 at 2013-08-30 17:59:32 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"33"} Organism Load (5.0ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (3.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "33"]] Adherent::Payment Load (2.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 33 Adherent::Reglement Load (3.8ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 31 LIMIT 1 Adherent::Member Load (5.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 33 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.2ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 33 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (19.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 (5.0ms) Completed 200 OK in 44ms (Views: 19.2ms | ActiveRecord: 22.2ms) Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 33 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 34 Adherent::Adhesion Load (2.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 (4.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", #], ["created_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 34], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00]]  (2.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 35 ORDER BY to_date DESC LIMIT 1  (1.1ms) SAVEPOINT active_record_1 SQL (5.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", #], ["created_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 35], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00]]  (4.3ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/payments/12/reglements/new" for 127.0.0.1 at 2013-08-30 17:59:32 +0200 Processing by Adherent::ReglementsController#new as HTML Parameters: {"payment_id"=>"12"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Payment Load (2.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "12"]] Adherent::Member Load (3.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 33 LIMIT 1 Adherent::Reglement Load (6.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12 Adherent::Reglement Load (0.2ms) 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::Adhesion Load (4.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 35 LIMIT 1  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 33 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 34 LIMIT 1  (1.6ms) 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/reglements/_form.html.haml (22.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 44ms (Views: 19.4ms | ActiveRecord: 19.9ms) Started POST "/adherent/payments/12/reglements" for 127.0.0.1 at 2013-08-30 17:59:32 +0200 Processing by Adherent::ReglementsController#create as HTML Parameters: {"utf8"=>"✓", "reglement"=>{"adhesion_id"=>"32"}, "commit"=>"Enregistrer", "payment_id"=>"12"} 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", "12"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "32"]] 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  (4.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 32  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["payment_id", 12], ["updated_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (3.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 33 LIMIT 1 Redirected to http://www.example.com/adherent/members/33/payments Completed 302 Found in 18ms (ActiveRecord: 10.0ms) Started GET "/adherent/members/33/payments" for 127.0.0.1 at 2013-08-30 17:59:32 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"33"} Organism Load (3.9ms) 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", "33"]] Adherent::Payment Load (1.6ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 33 Adherent::Reglement Load (2.6ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12 Adherent::Adhesion Load (4.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" = 33 LIMIT 1 Adherent::Adhesion Load (0.2ms) 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" = 34 LIMIT 1 Adherent::Reglement Load (3.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 12 Adherent::Reglement Load (0.2ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 33 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (40.9ms) 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 60ms (Views: 41.5ms | ActiveRecord: 17.4ms) Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" ORDER BY "adherent_reglements"."id" DESC LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 32 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 34 LIMIT 1  (0.1ms) ROLLBACK  (1.5ms) BEGIN  (3.4ms) 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 (5.8ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00]]  (0.0ms) RELEASE 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" = 24) LIMIT 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" = 24) 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", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 24], ["updated_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 24) LIMIT 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" = 24) LIMIT 1 SQL (3.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", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 24], ["updated_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00]]  (1.5ms) RELEASE 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" = 24) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 24) 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", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 24], ["updated_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members" Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 36 Adherent::Adhesion Load (6.1ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 36], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/36/payments/new" for 127.0.0.1 at 2013-08-30 17:59:32 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"36"} 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", "36"]] Adherent::Adhesion Load (0.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 36 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) 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 (12.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: 15.3ms | ActiveRecord: 1.7ms) Started POST "/adherent/members/36/payments" for 127.0.0.1 at 2013-08-30 17:59:32 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"36"} Organism Load (7.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", "36"]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 36], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 36 LIMIT 1 Adherent::Adhesion Load (5.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 36 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 34 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", 34], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["payment_id", 13], ["updated_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/36/payments Completed 302 Found in 24ms (ActiveRecord: 14.3ms) Started GET "/adherent/members/36/payments" for 127.0.0.1 at 2013-08-30 17:59:32 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"36"} 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", "36"]] Adherent::Payment Load (4.8ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 36 Adherent::Reglement Load (0.4ms) 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" = 34 LIMIT 1 Adherent::Member Load (5.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 36 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 13  (0.2ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 36 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.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 29ms (Views: 14.8ms | ActiveRecord: 12.1ms)  (0.2ms) SHOW max_identifier_length  (2.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 36 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (3.7ms) COMMIT  (0.5ms) BEGIN Organism Load (0.3ms) 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", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (6.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 25) LIMIT 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" = 25) 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", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 25], ["updated_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00]]  (0.2ms) RELEASE 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" = 25) LIMIT 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" = 25) 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", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 25], ["updated_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 25) LIMIT 1  (2.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" = 25) 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", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 25], ["updated_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members"  Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 39 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (4.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", #], ["created_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 39], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:32 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/39/payments/new" for 127.0.0.1 at 2013-08-30 17:59:32 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"39"} Organism Load (3.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", "39"]] Adherent::Adhesion Load (4.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 39 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 35 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (10.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 37ms (Views: 17.8ms | ActiveRecord: 8.9ms) Started POST "/adherent/members/39/payments" for 127.0.0.1 at 2013-08-30 17:59:33 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"66", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"39"} 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", "39"]]  (0.1ms) SAVEPOINT active_record_1 SQL (4.0ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 39], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 39 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 39 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 35 SQL (5.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["payment_id", 14], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/39/payments Completed 302 Found in 22ms (ActiveRecord: 11.2ms) Started GET "/adherent/members/39/payments" for 127.0.0.1 at 2013-08-30 17:59:33 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"39"} Organism Load (2.8ms) 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", "39"]] Adherent::Payment Load (7.1ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 39 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 14 Adherent::Adhesion Load (5.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 35 LIMIT 1 Adherent::Member Load (6.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 39 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 14  (0.9ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 14 Adherent::Reglement Load (1.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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 39 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (27.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 45ms (Views: 19.3ms | ActiveRecord: 23.8ms) Adherent::Payment Load (3.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 39 ORDER BY "adherent_payments"."id" DESC LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 14  (2.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 14  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) COMMIT  (6.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", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 26) LIMIT 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" = 26) 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", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 26], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (5.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 26) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 26) 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", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 26], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 26) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 26) LIMIT 1 SQL (1.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", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 26], ["updated_at", Fri, 30 Aug 2013 15:59: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 (4.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 42 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 42 ORDER BY to_date DESC LIMIT 1  (1.6ms) SAVEPOINT active_record_1 SQL (4.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", #], ["created_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 42], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/42/payments/new" for 127.0.0.1 at 2013-08-30 17:59:33 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"42"} Organism Load (4.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", "42"]] Adherent::Adhesion Load (1.0ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 42 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (2.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (16.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 37ms (Views: 23.6ms | ActiveRecord: 8.0ms) Started POST "/adherent/members/42/payments" for 127.0.0.1 at 2013-08-30 17:59:33 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"42"} Organism Load (4.0ms) 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", "42"]]  (0.1ms) SAVEPOINT active_record_1 SQL (12.8ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 42], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]] Adherent::Member Load (1.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 42 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 42 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (4.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 36 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", 36], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["payment_id", 15], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/42/payments Completed 302 Found in 36ms (ActiveRecord: 24.4ms) Started GET "/adherent/members/42/payments" for 127.0.0.1 at 2013-08-30 17:59:33 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"42"} 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", "42"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 42 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 15 Adherent::Adhesion Load (4.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 36 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 42 LIMIT 1 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 15  (4.4ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 42 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (16.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 41ms (Views: 18.7ms | ActiveRecord: 10.4ms)  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 42 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.2ms) BEGIN Organism Load (3.6ms) 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", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 27) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (6.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 27) 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", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 27], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]]  (0.4ms) RELEASE 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" = 27) LIMIT 1  (0.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" = 27) 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", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 27], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 27) LIMIT 1  (0.6ms) 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" = 27) 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", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 27], ["updated_at", Fri, 30 Aug 2013 15:59: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.1ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 45 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 45 ORDER BY to_date DESC LIMIT 1  (5.9ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 45], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/45/payments/new" for 127.0.0.1 at 2013-08-30 17:59:33 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"45"} Organism Load (3.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", "45"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 45 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_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 30ms (Views: 15.0ms | ActiveRecord: 4.3ms) Started POST "/adherent/members/45/payments" for 127.0.0.1 at 2013-08-30 17:59:33 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"33", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"45"} Organism Load (4.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", "45"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 45], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]] Adherent::Member Load (6.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 45 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 45 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37 SQL (1.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["payment_id", 16], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/45/payments Completed 302 Found in 25ms (ActiveRecord: 14.2ms) Started GET "/adherent/members/45/payments" for 127.0.0.1 at 2013-08-30 17:59:33 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"45"} Organism Load (4.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (4.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "45"]] Adherent::Payment Load (0.2ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 45 Adherent::Reglement Load (6.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" = 37 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 45 LIMIT 1 Adherent::Reglement Load (0.2ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 45 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (16.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 33ms (Views: 14.4ms | ActiveRecord: 16.4ms) Adherent::Adhesion Load (6.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 45 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 37  (0.1ms) ROLLBACK  (2.4ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (4.8ms) 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", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 28) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 28) 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", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 28], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 28) LIMIT 1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (4.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 28) 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", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 28], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]]  (0.6ms) RELEASE 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" = 28) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 28) 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", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 28], ["updated_at", Fri, 30 Aug 2013 15:59: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.6ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 48 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 48 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (5.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", #], ["created_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 48], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/48/payments/new" for 127.0.0.1 at 2013-08-30 17:59:33 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"48"} Organism Load (7.0ms) 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", "48"]] Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 48 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.7ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 38 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (12.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 32ms (Views: 17.9ms | ActiveRecord: 8.6ms) Started POST "/adherent/members/48/payments" for 127.0.0.1 at 2013-08-30 17:59:33 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"48"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (5.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "48"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 48], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 48 LIMIT 1 Adherent::Adhesion Load (3.4ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 48 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 38 SQL (3.7ms) INSERT INTO "adherent_reglements" ("adhesion_id", "amount", "created_at", "payment_id", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["adhesion_id", 38], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["payment_id", 17], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/48/payments Completed 302 Found in 24ms (ActiveRecord: 14.1ms) Started GET "/adherent/members/48/payments" for 127.0.0.1 at 2013-08-30 17:59:33 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"48"} Organism Load (1.9ms) 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", "48"]] Adherent::Payment Load (6.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 48 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 17 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 38 LIMIT 1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 48 LIMIT 1 Adherent::Reglement Load (3.8ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 17  (0.5ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 17 Adherent::Reglement Load (0.2ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 48 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (12.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 34ms (Views: 11.9ms | ActiveRecord: 16.5ms)  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 48 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.0ms) COMMIT  (0.0ms) BEGIN Organism Load (0.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (6.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", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 29) LIMIT 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" = 29) 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", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 29], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (4.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 29) LIMIT 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" = 29) 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", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 29], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 29) LIMIT 1  (1.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (2.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 29) LIMIT 1 SQL (7.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", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 29], ["updated_at", Fri, 30 Aug 2013 15:59: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.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 51], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "adherent_reglements" Started GET "/adherent/members/51/payments/new" for 127.0.0.1 at 2013-08-30 17:59:33 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"51"} 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", "51"]] Adherent::Adhesion Load (4.1ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 51 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (2.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 39 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_form.html.haml (15.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 36ms (Views: 19.0ms | ActiveRecord: 6.9ms) Started POST "/adherent/members/51/payments" for 127.0.0.1 at 2013-08-30 17:59:33 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"51"} Organism Load (3.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (5.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "51"]]  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 51], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]] Adherent::Member Load (7.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 51 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 51 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 39 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", 39], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["payment_id", 18], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/51/payments Completed 302 Found in 29ms (ActiveRecord: 18.2ms) Started GET "/adherent/members/51/payments" for 127.0.0.1 at 2013-08-30 17:59:33 +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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "51"]] Adherent::Payment Load (7.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 51 Adherent::Reglement Load (0.5ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 18 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 39 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 51 LIMIT 1 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 (3.5ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 51 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (12.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 37ms (Views: 17.7ms | ActiveRecord: 13.0ms)  (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.0ms) 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", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (6.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 30) LIMIT 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" = 30) 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", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 30], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]]  (0.1ms) RELEASE 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" = 30) LIMIT 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" = 30) 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", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 30], ["updated_at", Fri, 30 Aug 2013 15:59:33 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 30) LIMIT 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" = 30) 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", Fri, 30 Aug 2013 15:59:33 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 30], ["updated_at", Fri, 30 Aug 2013 15:59: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.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 54 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 54 ORDER BY to_date DESC LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (2.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", #], ["created_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 54], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (2.1ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 54 Started GET "/adherent/members/54/payments/new" for 127.0.0.1 at 2013-08-30 17:59:34 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"54"} Organism Load (6.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", "54"]] Adherent::Adhesion Load (1.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 54 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (2.8ms) 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 (13.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 34ms (Views: 16.9ms | ActiveRecord: 11.2ms) Started POST "/adherent/members/54/payments" for 127.0.0.1 at 2013-08-30 17:59:34 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"50", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"54"} 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", "54"]]  (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 54], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 54 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 54 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 40 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", 40], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00], ["payment_id", 19], ["updated_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/54/payments Completed 302 Found in 15ms (ActiveRecord: 3.0ms) Started GET "/adherent/members/54/payments" for 127.0.0.1 at 2013-08-30 17:59:34 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"54"} 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", "54"]] Adherent::Payment Load (0.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 54 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 19 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = 40 LIMIT 1 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 54 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 19  (0.1ms) 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 CACHE (0.0ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 54 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (8.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 18ms (Views: 13.9ms | ActiveRecord: 2.3ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 54  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"999"} 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", Fri, 30 Aug 2013 15:59:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 366ms (Views: 361.2ms | ActiveRecord: 1.1ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"998"} Organism Load (3.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (1.6ms) SAVEPOINT active_record_1 SQL (6.0ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 17ms (Views: 1.3ms | ActiveRecord: 11.6ms)  (0.1ms) 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.6ms) 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", Fri, 30 Aug 2013 15:59:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59: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" = 'A001' AND "adherent_members"."organism_id" = 33) 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", Fri, 30 Aug 2013 15:59:34 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 33], ["updated_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/57/coord/new Completed 302 Found in 18ms (ActiveRecord: 2.0ms)  (0.1ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 34ms (Views: 28.5ms | ActiveRecord: 0.9ms)  (0.2ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:34 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" = 'A001' AND "adherent_members"."organism_id" = 35) 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", Fri, 30 Aug 2013 15:59:34 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 35], ["updated_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/58/coord/new Completed 302 Found in 11ms (ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#create as HTML Parameters: {"member"=>{"name"=>"Dupont", "forname"=>"Jules", "number"=>"A001"}} Organism Load (0.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", Fri, 30 Aug 2013 15:59:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59: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" = 'A001' AND "adherent_members"."organism_id" = 36) 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", Fri, 30 Aug 2013 15:59:34 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "A001"], ["organism_id", 36], ["updated_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/59/coord/new Completed 302 Found in 9ms (ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#index as HTML Organism Load (0.8ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) SAVEPOINT active_record_1 SQL (27.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59: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"."organism_id" = 37 Completed 200 OK in 39ms (Views: 1.7ms | ActiveRecord: 29.3ms)  (0.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 (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1025"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1026"} 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", Fri, 30 Aug 2013 15:59:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00]]  (0.7ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members Completed 302 Found in 6ms (ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1027"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1027 Completed 302 Found in 6ms (ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1028"} 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", Fri, 30 Aug 2013 15:59:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1028 Completed 302 Found in 7ms (ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1029"} Organism Load (1.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", Fri, 30 Aug 2013 15:59:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 2.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::MembersController#update as HTML Parameters: {"member"=>{"name"=>"Dalton"}, "id"=>"1030"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.7ms) 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", Fri, 30 Aug 2013 15:59:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1030 Completed 302 Found in 8ms (ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#show as HTML Parameters: {"id"=>"999"} 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", Fri, 30 Aug 2013 15:59:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 2.6ms | ActiveRecord: 0.9ms)  (0.1ms) 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.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", Fri, 30 Aug 2013 15:59:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.1ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::MembersController#new as HTML 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", Fri, 30 Aug 2013 15:59:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.3ms) BEGIN Organism Load (0.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", Fri, 30 Aug 2013 15:59:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00]]  (0.0ms) RELEASE 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" = 48) LIMIT 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" = 48) 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", Fri, 30 Aug 2013 15:59:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 48], ["updated_at", Fri, 30 Aug 2013 15:59:34 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/60/adhesions/new" for 127.0.0.1 at 2013-08-30 17:59:34 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"60"} 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", "60"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 60 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 60 ORDER BY to_date DESC LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_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 15ms (Views: 9.3ms | ActiveRecord: 1.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.3ms) 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", Fri, 30 Aug 2013 15:59:34 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00]]  (0.1ms) RELEASE 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" = 49) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 49) 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", Fri, 30 Aug 2013 15:59:34 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 49], ["updated_at", Fri, 30 Aug 2013 15:59:34 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/61/adhesions/new" for 127.0.0.1 at 2013-08-30 17:59:34 +0200 Processing by Adherent::AdhesionsController#new as HTML Parameters: {"member_id"=>"61"} 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", "61"]] Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 61 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 61 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.4ms) Completed 200 OK in 17ms (Views: 11.9ms | ActiveRecord: 0.9ms)  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 61 Started POST "/adherent/members/61/adhesions" for 127.0.0.1 at 2013-08-30 17:59:34 +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"=>"61"} 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", "61"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 61], ["to_date", Thu, 31 Jul 2014], ["updated_at", Fri, 30 Aug 2013 15:59:34 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/61/adhesions Completed 302 Found in 9ms (ActiveRecord: 1.2ms) Started GET "/adherent/members/61/adhesions" for 127.0.0.1 at 2013-08-30 17:59:34 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"61"} 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", "61"]]  (0.4ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 61 Adherent::Adhesion Load (2.0ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 61  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 41 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 41 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: 12.1ms | ActiveRecord: 3.4ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 61  (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.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 50) LIMIT 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" = 50) 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 50], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 62], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/62/adhesions" for 127.0.0.1 at 2013-08-30 17:59:35 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"62"} 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", "62"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 62 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 62  (0.3ms) 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 15ms (Views: 10.3ms | ActiveRecord: 1.3ms)  (0.0ms) ROLLBACK  (0.4ms) 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 51) LIMIT 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" = 51) 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 51], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members"   (2.0ms) SAVEPOINT active_record_1 SQL (1.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", #], ["created_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 63], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/63/adhesions" for 127.0.0.1 at 2013-08-30 17:59:35 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"63"} Organism Load (0.9ms) 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", "63"]]  (1.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 63 Adherent::Adhesion Load (2.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 63  (2.7ms) 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.1ms) Completed 200 OK in 34ms (Views: 17.1ms | ActiveRecord: 8.1ms) Started GET "/adherent/members/63/adhesions/43/edit" for 127.0.0.1 at 2013-08-30 17:59:35 +0200 Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"63", "id"=>"43"} 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", "63"]] Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 63 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "43"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 24ms (Views: 19.1ms | ActiveRecord: 0.8ms)  (0.2ms) 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 (1.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 52) LIMIT 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" = 52) 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 52], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.2ms) SELECT "adherent_members".* FROM "adherent_members"   (0.3ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 64], ["to_date", Mon, 30 Sep 2013], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/64/adhesions" for 127.0.0.1 at 2013-08-30 17:59:35 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"64"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "64"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 64 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 64  (0.2ms) 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.0ms) Completed 200 OK in 15ms (Views: 10.2ms | ActiveRecord: 2.2ms) Started GET "/adherent/members/64/payments/new" for 127.0.0.1 at 2013-08-30 17:59:35 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"64"} 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", "64"]] Adherent::Adhesion Load (0.3ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 64 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) 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.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 16ms (Views: 9.2ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" IS NULL AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.0ms) 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.0ms) BEGIN Adherent::Member Exists (0.2ms) 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.4ms) 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.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Tue, 06 Jun 1944], ["created_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh 001' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.7ms) 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.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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 2) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) 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.0ms) BEGIN Adherent::Adhesion Load (1.5ms) 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.2ms) 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.4ms) 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:35 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" = 68 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 68 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", #], ["created_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 68], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59: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" = 68 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 68 ORDER BY to_date DESC LIMIT 1  (0.2ms) 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:35 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" = 69 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 69 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", #], ["created_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 69], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59: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" = 69 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 69 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["forname", "Jules"], ["name", "Dupont"], ["number", "Adh 001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:35 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" = 70 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 70 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", #], ["created_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 70], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59: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" = 70 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 70 ORDER BY to_date DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#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.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.9ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#edit as HTML Parameters: {"member_id"=>"1035", "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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:35 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#edit as HTML Parameters: {"member_id"=>"1037", "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.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.0ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1039"} 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1040"} 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1040/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.0ms) BEGIN Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1041"} 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 1.1ms | ActiveRecord: 1.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1042", "id"=>"1"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (115.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 121ms (Views: 1.1ms | ActiveRecord: 115.9ms)  (5.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1044", "id"=>"1"} 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1044/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1046", "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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 1.0ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#update as HTML Parameters: {"adhesion"=>{"amount"=>"125"}, "member_id"=>"1048", "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.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1048/adhesions Completed 302 Found in 4ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1050"} 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 1.2ms | ActiveRecord: 1.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1052"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1052/adhesions Completed 302 Found in 5ms (ActiveRecord: 1.4ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AdhesionsController#create as HTML Parameters: {"adhesion"=>{"amount"=>"57", "mode"=>"CB", "date"=>"30/08/2013"}, "member_id"=>"1054"} Organism Load (1.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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1054/adhesions Completed 302 Found in 5ms (ActiveRecord: 2.3ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::AllpaymentsController#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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" INNER JOIN "adherent_members" ON "adherent_payments"."member_id" = "adherent_members"."id" WHERE "adherent_members"."organism_id" = 66 Completed 200 OK in 46ms (Views: 13.9ms | ActiveRecord: 1.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 (1.9ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 67) LIMIT 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" = 67) 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 67], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 67) LIMIT 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" = 67) 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 67], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 67) LIMIT 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" = 67) 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 67], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 67) LIMIT 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" = 67) 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 67], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 67) LIMIT 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" = 67) 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 67], ["updated_at", Fri, 30 Aug 2013 15:59:35 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-30 17:59:35 +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" = 67  (1.0ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 71 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 71 LIMIT 1  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 72 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 72 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 73 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 73 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 74 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 74 LIMIT 1  (0.9ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 75 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 75 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 42ms (Views: 34.0ms | ActiveRecord: 5.7ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 68) LIMIT 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" = 68) 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 68], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 68) LIMIT 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" = 68) 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 68], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 68) LIMIT 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" = 68) 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 68], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 68) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 68) 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 68], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 68) LIMIT 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" = 68) 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 68], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.0ms) 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-30 17:59:35 +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" = 68  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 76 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 76 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 77 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 77 LIMIT 1  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 78 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 78 LIMIT 1  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 79 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 79 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 80 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 80 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 38ms (Views: 30.0ms | ActiveRecord: 5.5ms)  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 69) LIMIT 1  (0.2ms) 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" = 69) 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 69], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 69) LIMIT 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" = 69) 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 69], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 69) LIMIT 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" = 69) 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 69], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 69) LIMIT 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" = 69) 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 69], ["updated_at", Fri, 30 Aug 2013 15:59:35 UTC +00:00]]  (0.1ms) RELEASE 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" = 69) LIMIT 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" = 69) 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", Fri, 30 Aug 2013 15:59:35 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 69], ["updated_at", Fri, 30 Aug 2013 15:59:35 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" for 127.0.0.1 at 2013-08-30 17:59:35 +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" = 69  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 81 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 81 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 82 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 82 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 83 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (2.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 83 LIMIT 1  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 84 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 84 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 85 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 85 LIMIT 1 Rendered layouts/adherent/_header.html.haml (0.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 39ms (Views: 29.5ms | ActiveRecord: 7.3ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 81 Adherent::Adhesion Load (0.4ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 81 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", #], ["created_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 81], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/81/adhesions" for 127.0.0.1 at 2013-08-30 17:59:36 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"81"} 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", "81"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 81 Adherent::Adhesion Load (0.5ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 81  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 48 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 48 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.3ms | ActiveRecord: 1.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 70) LIMIT 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" = 70) 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 70], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 70) LIMIT 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" = 70) 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 70], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 70) LIMIT 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" = 70) 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 70], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 70) LIMIT 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" = 70) 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 70], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 70) LIMIT 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" = 70) 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 70], ["updated_at", Fri, 30 Aug 2013 15:59:36 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-30 17:59:36 +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.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 70  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 86 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 86 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 87 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 87 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 88 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 88 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 89 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 89 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 90 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 90 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 39ms (Views: 30.6ms | ActiveRecord: 5.5ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/86/payments" for 127.0.0.1 at 2013-08-30 17:59:36 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"86"} 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", "86"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 86 Rendered collection (0.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 8ms (Views: 5.9ms | ActiveRecord: 0.9ms)  (0.1ms) 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 71) LIMIT 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" = 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 71], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 71) LIMIT 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" = 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 71], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 71) LIMIT 1  (1.3ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.7ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 71) 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 71], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (1.6ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (2.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 71) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 71) LIMIT 1 SQL (2.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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 71], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (1.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 71) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 71) 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 71], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Load (0.9ms) SELECT "adherent_members".* FROM "adherent_members"  Started GET "/adherent/members" for 127.0.0.1 at 2013-08-30 17:59:36 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (3.0ms) 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  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 91 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 91 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 92 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 92 LIMIT 1  (0.9ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 93 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 93 LIMIT 1  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 94 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 94 LIMIT 1  (1.1ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 95 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 95 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 43ms (Views: 30.6ms | ActiveRecord: 8.8ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/91/coord" for 127.0.0.1 at 2013-08-30 17:59:36 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"91"} 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", "91"]] Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 91 LIMIT 1 Redirected to http://www.example.com/adherent/members/91/coord/new Completed 302 Found in 5ms (ActiveRecord: 0.8ms) Started GET "/adherent/members/91/coord/new" for 127.0.0.1 at 2013-08-30 17:59:36 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"91"} 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", "91"]] Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 91 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/coords/_form.html.erb (9.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 16ms (Views: 12.5ms | ActiveRecord: 0.7ms)  (0.2ms) 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 (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 72) LIMIT 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" = 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 72], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 72) LIMIT 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" = 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 72], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 72) LIMIT 1  (0.0ms) 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" = 72) 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 72], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (5.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 72) LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 72) LIMIT 1 SQL (58.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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 72], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 72) LIMIT 1  (0.2ms) SAVEPOINT active_record_1 Adherent::Member Exists (1.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 72) 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 72], ["updated_at", Fri, 30 Aug 2013 15:59:36 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-30 17:59:36 +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" = 72  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 96 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 96 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 97 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 97 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 98 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 98 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 99 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 99 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 100 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 100 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 43ms (Views: 34.0ms | ActiveRecord: 5.5ms) Started GET "/adherent/members/new" for 127.0.0.1 at 2013-08-30 17:59:36 +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 (6.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 23ms (Views: 21.0ms | ActiveRecord: 0.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.0ms) 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 73) LIMIT 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" = 73) 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 73], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 73) LIMIT 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" = 73) 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 73], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 73) LIMIT 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" = 73) 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 73], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 73) LIMIT 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" = 73) 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 73], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 73) LIMIT 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" = 73) 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 73], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.3ms) 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-30 17:59:36 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.0ms) 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" = 73  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 101 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 101 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 102 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 102 LIMIT 1  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 103 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 103 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 104 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 104 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 105 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 105 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.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 41ms (Views: 31.6ms | ActiveRecord: 6.1ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/101/edit" for 127.0.0.1 at 2013-08-30 17:59:36 +0200 Processing by Adherent::MembersController#edit as HTML Parameters: {"id"=>"101"} 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", "101"]] Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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 13ms (Views: 10.6ms | ActiveRecord: 0.5ms)  (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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE 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  (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" = 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 74], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE 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  (0.2ms) 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" = 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 74], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE 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  (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" = 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 74], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 74) LIMIT 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.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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 74], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE 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  (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" = 74) 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 74], ["updated_at", Fri, 30 Aug 2013 15:59:36 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-30 17:59:36 +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.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 74  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 106 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 106 LIMIT 1  (1.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 107 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 107 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 108 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 108 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 109 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 109 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 110 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 110 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 37ms (Views: 28.8ms | ActiveRecord: 5.8ms) Adherent::Member Load (1.6ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["gsm", nil], ["mail", nil], ["member_id", 106], ["office", nil], ["tel", nil], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["zip", nil]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 106 LIMIT 1 Started GET "/adherent/members/106/coord" for 127.0.0.1 at 2013-08-30 17:59:36 +0200 Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"106"} 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", "106"]] Adherent::Coord Load (1.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 106 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 20ms (Views: 15.8ms | ActiveRecord: 1.5ms)  (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 (0.5ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 75) LIMIT 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" = 75) 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 75], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.3ms) RELEASE 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" = 75) LIMIT 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" = 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 75], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 75) LIMIT 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" = 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 75], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 75) LIMIT 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" = 75) 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 75], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 75) LIMIT 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" = 75) 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 75], ["updated_at", Fri, 30 Aug 2013 15:59:36 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-30 17:59:36 +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" = 75  (0.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 111 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 111 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 112 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 112 LIMIT 1  (1.1ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 113 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 113 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 114 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 114 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 115 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 115 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 37ms (Views: 28.4ms | ActiveRecord: 5.5ms) Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" LIMIT 1 Started GET "/adherent/members/111/adhesions" for 127.0.0.1 at 2013-08-30 17:59:36 +0200 Processing by Adherent::AdhesionsController#index 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.2ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "111"]]  (0.2ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 111 Redirected to http://www.example.com/adherent/members/111/adhesions/new Completed 302 Found in 4ms (ActiveRecord: 0.7ms) Started GET "/adherent/members/111/adhesions/new" for 127.0.0.1 at 2013-08-30 17:59:36 +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.2ms) 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.2ms) 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 (4.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.7ms) Completed 200 OK in 14ms (Views: 8.5ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) 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.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 76) LIMIT 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" = 76) 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 76], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 76) LIMIT 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" = 76) 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 76], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 76) LIMIT 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.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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 76], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 76) LIMIT 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" = 76) 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 76], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE 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" = 76) LIMIT 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" = 76) 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 76], ["updated_at", Fri, 30 Aug 2013 15:59:36 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/new" for 127.0.0.1 at 2013-08-30 17:59:36 +0200 Processing by Adherent::MembersController#new as HTML Organism Load (0.9ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/members/_form.html.erb (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 12ms (Views: 9.2ms | ActiveRecord: 0.9ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_members" Started POST "/adherent/members" for 127.0.0.1 at 2013-08-30 17:59:36 +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.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'ADH1' 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", Fri, 30 Aug 2013 15:59:36 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "ADH1"], ["organism_id", 76], ["updated_at", Fri, 30 Aug 2013 15:59:36 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/121/coord/new Completed 302 Found in 6ms (ActiveRecord: 1.1ms) Started GET "/adherent/members/121/coord/new" for 127.0.0.1 at 2013-08-30 17:59:36 +0200 Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"121"} 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", "121"]] Adherent::Coord Load (0.2ms) 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 (67.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 74ms (Views: 70.9ms | ActiveRecord: 0.7ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_members"   (0.1ms) ROLLBACK Organism Load (5.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) BEGIN SQL (0.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:37 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:37 UTC +00:00]]  (0.8ms) COMMIT Adherent::Member Exists (4.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 77) LIMIT 1  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 77) 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", Fri, 30 Aug 2013 15:59:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 77], ["updated_at", Fri, 30 Aug 2013 15:59:37 UTC +00:00]]  (0.8ms) COMMIT Adherent::Member Exists (1.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' AND "adherent_members"."organism_id" = 77) LIMIT 1  (0.1ms) BEGIN Adherent::Member Exists (2.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh001' 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", Fri, 30 Aug 2013 15:59:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 77], ["updated_at", Fri, 30 Aug 2013 15:59:37 UTC +00:00]]  (1.0ms) COMMIT Adherent::Member Exists (3.0ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' AND "adherent_members"."organism_id" = 77) LIMIT 1  (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" = 77) 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", Fri, 30 Aug 2013 15:59:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 77], ["updated_at", Fri, 30 Aug 2013 15:59:37 UTC +00:00]]  (0.8ms) COMMIT Adherent::Member Exists (4.9ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 77) LIMIT 1  (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" = 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", Fri, 30 Aug 2013 15:59:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 77], ["updated_at", Fri, 30 Aug 2013 15:59:37 UTC +00:00]]  (0.9ms) COMMIT Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 77) LIMIT 1  (0.1ms) BEGIN Adherent::Member Exists (0.6ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 77) 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", Fri, 30 Aug 2013 15:59:37 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 77], ["updated_at", Fri, 30 Aug 2013 15:59:37 UTC +00:00]]  (19.9ms) COMMIT Adherent::Member Load (4.8ms) SELECT "adherent_members".* FROM "adherent_members"  (0.1ms) BEGIN SQL (2.8ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:37 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 122], ["mode", "Chèque"], ["updated_at", Fri, 30 Aug 2013 15:59:37 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 122 LIMIT 1 Adherent::Adhesion Load (1.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 122 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (13.1ms) COMMIT Started GET "/adherent/members/122/payments/20" for 127.0.0.1 at 2013-08-30 17:59:47 +0200 Processing by Adherent::PaymentsController#show as HTML Parameters: {"member_id"=>"122", "id"=>"20"} Organism Load (0.6ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "122"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 122 AND "adherent_payments"."id" = 20 LIMIT 1 Adherent::Reglement Load (1.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 122 LIMIT 1 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 CACHE (0.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 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 199ms (Views: 20.8ms | ActiveRecord: 170.1ms) Started GET "/assets/adherent/application.css" for 127.0.0.1 at 2013-08-30 17:59:47 +0200 Served asset /adherent/application.css - 200 OK (343ms) Started GET "/assets/adherent/application.js" for 127.0.0.1 at 2013-08-30 17:59:48 +0200 Served asset /adherent/application.js - 200 OK (414ms) Started GET "/assets/adherent/icones/payment.png" for 127.0.0.1 at 2013-08-30 17:59:48 +0200 Served asset /adherent/icones/payment.png - 200 OK (20ms) Started GET "/assets/adherent/icones/money-plus.png" for 127.0.0.1 at 2013-08-30 17:59:48 +0200 Served asset /adherent/icones/money-plus.png - 200 OK (12ms) Started GET "/assets/adherent/icones/imputation.png" for 127.0.0.1 at 2013-08-30 17:59:48 +0200 Served asset /adherent/icones/imputation.png - 200 OK (2ms) Started GET "/assets/adherent/icones/modifier.png" for 127.0.0.1 at 2013-08-30 17:59:48 +0200 Served asset /adherent/icones/modifier.png - 200 OK (23ms) Started GET "/assets/adherent/icones/supprimer.png" for 127.0.0.1 at 2013-08-30 17:59:48 +0200 Served asset /adherent/icones/supprimer.png - 200 OK (20ms) Started DELETE "/adherent/members/122/payments/20" for 127.0.0.1 at 2013-08-30 17:59:49 +0200 Processing by Adherent::PaymentsController#destroy as HTML Parameters: {"member_id"=>"122", "id"=>"20"} Organism Load (2.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (8.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "122"]] Adherent::Payment Load (2.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 122 AND "adherent_payments"."id" = $1 LIMIT 1 [["id", "20"]]  (0.1ms) BEGIN Adherent::Reglement Load (0.4ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 20 SQL (0.7ms) DELETE FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 [["id", 20]]  (34.2ms) COMMIT Redirected to http://127.0.0.1:34827/adherent/members/122/payments Completed 302 Found in 68ms (ActiveRecord: 49.4ms) Started GET "/adherent/members/122/payments" for 127.0.0.1 at 2013-08-30 17:59:49 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"122"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.7ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "122"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 122 Rendered collection (0.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 14ms (Views: 8.2ms | ActiveRecord: 2.4ms) Started GET "/assets/adherent/icones/users.png" for 127.0.0.1 at 2013-08-30 17:59:50 +0200 Served asset /adherent/icones/users.png - 200 OK (34ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_payments"  (28.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL  (16.7ms) select table_name from information_schema.views where table_schema = 'adh_test'  (233.6ms) TRUNCATE TABLE "adherent_coords", "adherent_adhesions", "organisms", "adherent_members", "adherent_payments", "adherent_reglements" RESTART IDENTITY CASCADE;  (0.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL Organism Load (7.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.7ms) BEGIN SQL (1.4ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:51 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:51 UTC +00:00]]  (9.4ms) COMMIT 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  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) LIMIT 1 SQL (147.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", Fri, 30 Aug 2013 15:59:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:51 UTC +00:00]]  (20.1ms) COMMIT 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  (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" = 1) LIMIT 1 SQL (3.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", Fri, 30 Aug 2013 15:59:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:51 UTC +00:00]]  (6.4ms) COMMIT 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  (0.1ms) BEGIN Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' 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", Fri, 30 Aug 2013 15:59:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:51 UTC +00:00]]  (1.6ms) COMMIT Adherent::Member Exists (0.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 1) 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", Fri, 30 Aug 2013 15:59:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:51 UTC +00:00]]  (1.1ms) COMMIT 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  (0.1ms) BEGIN Adherent::Member Exists (0.2ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' 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", Fri, 30 Aug 2013 15:59:51 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:51 UTC +00:00]]  (1.4ms) COMMIT 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" = 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) BEGIN 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", #], ["created_at", Fri, 30 Aug 2013 15:59:51 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:51 UTC +00:00]]  (2.0ms) COMMIT Started GET "/adherent/members/1/adhesions" for 127.0.0.1 at 2013-08-30 17:59:51 +0200 Processing by Adherent::AdhesionsController#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.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]]  (0.3ms) SELECT COUNT(*) 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  (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 26ms (Views: 18.5ms | ActiveRecord: 3.6ms) Started GET "/assets/adherent/icones/nouveau.png" for 127.0.0.1 at 2013-08-30 17:59:51 +0200 Served asset /adherent/icones/nouveau.png - 200 OK (30ms) Started DELETE "/adherent/members/1/adhesions/1" for 127.0.0.1 at 2013-08-30 17:59:52 +0200 Processing by Adherent::AdhesionsController#destroy as HTML Parameters: {"member_id"=>"1", "id"=>"1"} Organism Load (11.4ms) 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 (3.9ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 AND "adherent_adhesions"."id" = $1 LIMIT 1 [["id", "1"]]  (0.0ms) BEGIN SQL (0.1ms) DELETE FROM "adherent_adhesions" WHERE "adherent_adhesions"."id" = $1 [["id", 1]]  (28.9ms) COMMIT Redirected to http://127.0.0.1:34827/adherent/members/1/adhesions Completed 302 Found in 58ms (ActiveRecord: 45.0ms) Started GET "/adherent/members/1/adhesions" for 127.0.0.1 at 2013-08-30 17:59:52 +0200 Processing by Adherent::AdhesionsController#index as HTML Parameters: {"member_id"=>"1"} Organism Load (0.8ms) 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"]]  (0.3ms) SELECT COUNT(*) FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 1 Redirected to http://127.0.0.1:34827/adherent/members/1/adhesions/new Completed 302 Found in 6ms (ActiveRecord: 1.4ms) Started GET "/adherent/members/1/adhesions/new" for 127.0.0.1 at 2013-08-30 17:59:52 +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.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 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/adhesions/_form.html.haml (4.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 19ms (Views: 9.6ms | ActiveRecord: 1.5ms) Started GET "/assets/adherent/cal.gif" for 127.0.0.1 at 2013-08-30 17:59:52 +0200 Served asset /adherent/cal.gif - 200 OK (19ms)  (0.5ms) SELECT COUNT(*) FROM "adherent_adhesions"   (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (166.1ms) TRUNCATE TABLE "adherent_coords", "adherent_adhesions", "organisms", "adherent_members", "adherent_payments", "adherent_reglements" RESTART IDENTITY CASCADE;  (0.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL Organism Load (1.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (3.5ms) BEGIN SQL (3.7ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:53 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:53 UTC +00:00]]  (2.5ms) COMMIT Adherent::Member Exists (2.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.1ms) BEGIN Adherent::Member Exists (6.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh000' AND "adherent_members"."organism_id" = 1) 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", Fri, 30 Aug 2013 15:59:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:53 UTC +00:00]]  (1.3ms) COMMIT 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  (0.4ms) 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 (5.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", Fri, 30 Aug 2013 15:59:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_1"], ["number", "Adh001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:53 UTC +00:00]]  (0.8ms) COMMIT 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  (0.1ms) BEGIN Adherent::Member Exists (0.1ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh002' 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", Fri, 30 Aug 2013 15:59:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_2"], ["number", "Adh002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:53 UTC +00:00]]  (2.3ms) COMMIT Adherent::Member Exists (4.4ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh003' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.2ms) 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", Fri, 30 Aug 2013 15:59:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_3"], ["number", "Adh003"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:53 UTC +00:00]]  (2.6ms) COMMIT Adherent::Member Exists (0.5ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = 'Adh004' AND "adherent_members"."organism_id" = 1) LIMIT 1  (0.1ms) BEGIN Adherent::Member Exists (6.5ms) 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", Fri, 30 Aug 2013 15:59:53 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_4"], ["number", "Adh004"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:53 UTC +00:00]]  (1.2ms) COMMIT Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" Started GET "/adherent/members" for 127.0.0.1 at 2013-08-30 17:59:53 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (4.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (6.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 1  (1.2ms) SHOW max_identifier_length  (3.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 1 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (1.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1  (6.2ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 2 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (4.9ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 2 LIMIT 1  (6.2ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 3 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (4.4ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 3 LIMIT 1  (3.4ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 4 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.7ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1  (0.6ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 5 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (2.0ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 LIMIT 1 Rendered layouts/adherent/_header.html.haml (1.8ms) 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 107ms (Views: 49.9ms | ActiveRecord: 48.5ms) Started GET "/assets/adherent/icones/card-address.png" for 127.0.0.1 at 2013-08-30 17:59:53 +0200 Served asset /adherent/icones/card-address.png - 200 OK (31ms) Started GET "/assets/adherent/icones/bandaid.png" for 127.0.0.1 at 2013-08-30 17:59:53 +0200 Served asset /adherent/icones/bandaid.png - 200 OK (306ms) Started GET "/assets/images/sort_asc.png" for 127.0.0.1 at 2013-08-30 17:59:54 +0200 Served asset /images/sort_asc.png - 200 OK (16ms) Started GET "/assets/images/sort_both.png" for 127.0.0.1 at 2013-08-30 17:59:54 +0200 Served asset /images/sort_both.png - 200 OK (13ms) Started GET "/assets/images/back_disabled.png" for 127.0.0.1 at 2013-08-30 17:59:54 +0200 Served asset /images/back_disabled.png - 200 OK (20ms) Started GET "/assets/images/forward_disabled.png" for 127.0.0.1 at 2013-08-30 17:59:54 +0200 Served asset /images/forward_disabled.png - 200 OK (10ms) Started DELETE "/adherent/members/1" for 127.0.0.1 at 2013-08-30 17:59:55 +0200 Processing by Adherent::MembersController#destroy as HTML Parameters: {"id"=>"1"} Organism Load (3.2ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (2.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "1"]]  (0.2ms) BEGIN Adherent::Coord Load (1.6ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 1 LIMIT 1 SQL (0.8ms) DELETE FROM "adherent_members" WHERE "adherent_members"."id" = $1 [["id", 1]]  (40.2ms) COMMIT Redirected to http://127.0.0.1:34827/adherent/members Completed 302 Found in 70ms (ActiveRecord: 48.4ms) Started GET "/adherent/members" for 127.0.0.1 at 2013-08-30 17:59:55 +0200 Processing by Adherent::MembersController#index as HTML Organism Load (1.7ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1 Adherent::Member Load (1.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."organism_id" = 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 2 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 2 LIMIT 1  (1.1ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 3 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.2ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 3 LIMIT 1  (0.7ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 4 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 4 LIMIT 1  (0.8ms) SELECT COUNT(*) AS count_all, adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount, adherent_adhesions.id AS adherent_adhesions_id FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 5 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date Adherent::Coord Load (0.3ms) SELECT "adherent_coords".* FROM "adherent_coords" WHERE "adherent_coords"."member_id" = 5 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 43ms (Views: 26.0ms | ActiveRecord: 7.6ms)  (0.6ms) SELECT COUNT(*) FROM "adherent_members"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "adherent_coords" DISABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" DISABLE TRIGGER ALL;ALTER TABLE "adherent_members" DISABLE TRIGGER ALL;ALTER TABLE "adherent_payments" DISABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" DISABLE TRIGGER ALL;ALTER TABLE "organisms" DISABLE TRIGGER ALL  (128.8ms) TRUNCATE TABLE "adherent_coords", "adherent_adhesions", "organisms", "adherent_members", "adherent_payments", "adherent_reglements" RESTART IDENTITY CASCADE;  (0.7ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "adherent_adhesions" ENABLE TRIGGER ALL;ALTER TABLE "adherent_coords" ENABLE TRIGGER ALL;ALTER TABLE "adherent_members" ENABLE TRIGGER ALL;ALTER TABLE "adherent_payments" ENABLE TRIGGER ALL;ALTER TABLE "adherent_reglements" ENABLE TRIGGER ALL;ALTER TABLE "organisms" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (3.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '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", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (5.8ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 1], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_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", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 2], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 2], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 2 LIMIT 1 Adherent::Adhesion Load (0.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 2 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 2 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", 2], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 2], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 2 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 2 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.3ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 2 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", 2], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["payment_id", 2], ["updated_at", Fri, 30 Aug 2013 15:59:56 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", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 1], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]] Adherent::Member Load (1.1ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 1 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 1 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 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", 1], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["payment_id", 3], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL)  (1.0ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.4ms) 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", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:56 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" = '002' 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", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 3], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]]  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 4], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 15:59:56 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", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 4], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:59:56 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.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 4 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 4 SQL (1.6ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["payment_id", 4], ["updated_at", Fri, 30 Aug 2013 15:59:56 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", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 3], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]] Adherent::Member Load (0.6ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 3 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 3 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["payment_id", 5], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.8ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Adhesion Load (0.9ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) LIMIT 1  (0.3ms) ROLLBACK  (0.0ms) BEGIN  (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.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", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "001"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 Adherent::Member Exists (0.3ms) SELECT 1 AS one FROM "adherent_members" WHERE ("adherent_members"."number" = '002' 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", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["forname", "Jessie"], ["name", "James"], ["number", "002"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.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", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 5], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["from_date", Thu, 01 Aug 2013], ["member_id", 6], ["to_date", Sat, 31 Aug 2013], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]]  (1.6ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 6], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 6 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 6 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 6 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", 6], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["payment_id", 6], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY "adherent_adhesions"."id" DESC LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.0ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 7  (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", 7], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (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", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:56 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" = 8  (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", 8], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (1.0ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8  (0.4ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 8  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (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", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 1], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:56 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" = 9  (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", 9], ["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["payment_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."adhesion_id" = 9  (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.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.0ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) 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 (1.1ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]]  (0.1ms) RELEASE 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" = 1) LIMIT 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" = 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", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 1], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]]  (0.1ms) 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" = 7 Adherent::Adhesion Load (0.2ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 7 ORDER BY to_date DESC LIMIT 1  (0.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", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 7], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/7/payments/new" for 127.0.0.1 at 2013-08-30 17:59:56 +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.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = $1 LIMIT 1 [["id", "7"]] Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 7 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date 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.5ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.2ms) Completed 200 OK in 16ms (Views: 10.2ms | ActiveRecord: 1.3ms)  (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.0ms) 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", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]]  (2.1ms) RELEASE 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" = 2) LIMIT 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" = 2) 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", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 2], ["updated_at", Fri, 30 Aug 2013 15:59:56 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" = 8 Adherent::Adhesion Load (0.3ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 8 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", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 8], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/8/payments/new" for 127.0.0.1 at 2013-08-30 17:59:56 +0200 Processing by Adherent::PaymentsController#new as HTML Parameters: {"member_id"=>"8"} 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", "8"]] Adherent::Adhesion Load (1.2ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 8 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date 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.0ms) Completed 200 OK in 16ms (Views: 10.1ms | ActiveRecord: 1.7ms)  (0.9ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 8 Started POST "/adherent/members/8/payments" for 127.0.0.1 at 2013-08-30 17:59:56 +0200 Processing by Adherent::PaymentsController#create as HTML Parameters: {"utf8"=>"✓", "payment"=>{"date"=>"01/08/2013", "amount"=>"150.25", "mode"=>"CB"}, "commit"=>"Enregistrer", "member_id"=>"8"} 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", "8"]]  (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", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["date", Thu, 01 Aug 2013], ["member_id", 8], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]] Adherent::Member Load (0.5ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 8 LIMIT 1 Adherent::Adhesion Load (0.6ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 8 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://www.example.com/adherent/members/8/payments Completed 302 Found in 11ms (ActiveRecord: 2.3ms) Started GET "/adherent/members/8/payments" for 127.0.0.1 at 2013-08-30 17:59:56 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"8"} 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", "8"]] Adherent::Payment Load (0.4ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 8 Adherent::Reglement Load (0.1ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 7 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::Reglement Load (0.2ms) 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 (2.9ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 8 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (12.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 21ms (Views: 15.3ms | ActiveRecord: 4.4ms)  (0.3ms) SELECT COUNT(*) FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 8  (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.2ms) SAVEPOINT active_record_1 SQL (7.6ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]]  (0.3ms) RELEASE 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" = 3) LIMIT 1  (1.2ms) 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" = 3) 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", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 3], ["updated_at", Fri, 30 Aug 2013 15:59:56 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" = 9 Adherent::Adhesion Load (0.7ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 9 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", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 9], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) 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", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 9], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]] Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 9 LIMIT 1 Adherent::Adhesion Load (0.5ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 9 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/9/payments" for 127.0.0.1 at 2013-08-30 17:59:56 +0200 Processing by Adherent::PaymentsController#index as HTML Parameters: {"member_id"=>"9"} Organism Load (0.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", "9"]] Adherent::Payment Load (0.3ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 9 Adherent::Reglement Load (0.2ms) SELECT "adherent_reglements".* FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 8 Adherent::Reglement Load (0.5ms) 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 Adherent::Member Load (0.3ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 9 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (6.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 15ms (Views: 11.7ms | ActiveRecord: 2.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) COMMIT  (0.1ms) BEGIN Organism Load (0.1ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.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", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]]  (0.1ms) RELEASE 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" = 4) LIMIT 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" = 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", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["forname", "le prénom"], ["name", "Nom_0"], ["number", "Adh000"], ["organism_id", 4], ["updated_at", Fri, 30 Aug 2013 15:59:56 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.8ms) SELECT "adherent_adhesions".* FROM "adherent_adhesions" WHERE "adherent_adhesions"."member_id" = 10 Adherent::Adhesion Load (0.3ms) 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 (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", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["from_date", Fri, 30 Aug 2013], ["member_id", 10], ["to_date", Fri, 29 Aug 2014], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (1.9ms) INSERT INTO "adherent_payments" ("amount", "created_at", "date", "member_id", "mode", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["amount", #], ["created_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00], ["date", Fri, 30 Aug 2013], ["member_id", 10], ["mode", "CB"], ["updated_at", Fri, 30 Aug 2013 15:59:56 UTC +00:00]] Adherent::Member Load (0.4ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 10 LIMIT 1 Adherent::Adhesion Load (0.7ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id WHERE "adherent_adhesions"."member_id" = 10 GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) ORDER BY to_date  (0.1ms) RELEASE SAVEPOINT active_record_1 Started GET "/adherent/members/10/payments" for 127.0.0.1 at 2013-08-30 17:59:56 +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.7ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."member_id" = 10 Adherent::Reglement Load (0.3ms) SELECT "adherent_reglements".* 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  (0.2ms) SELECT SUM("adherent_reglements"."amount") AS sum_id FROM "adherent_reglements" WHERE "adherent_reglements"."payment_id" = 9 Adherent::Reglement Load (0.4ms) 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.8ms) SELECT "adherent_members".* FROM "adherent_members" WHERE "adherent_members"."id" = 10 LIMIT 1 Rendered /home/jcl/rails_project/Adherent/app/views/adherent/payments/_payment.html.haml (9.7ms) Rendered layouts/adherent/_header.html.haml (0.1ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_flash_partial.html.haml (0.3ms) Rendered /home/jcl/rails_project/Adherent/app/views/layouts/adherent/_footer.html.haml (0.1ms) Completed 200 OK in 24ms (Views: 15.4ms | ActiveRecord: 3.2ms) Started GET "/adherent/payments/9/reglements/new" for 127.0.0.1 at 2013-08-30 17:59:56 +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.5ms) SELECT "adherent_payments".* FROM "adherent_payments" WHERE "adherent_payments"."id" = $1 LIMIT 1 [["id", "9"]] Adherent::Member Load (0.4ms) 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" = 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 Adherent::Adhesion Load (2.0ms) SELECT adherent_adhesions.*, sum(adherent_reglements.amount) as reglements_amount FROM "adherent_adhesions" left join adherent_reglements on adherent_reglements.adhesion_id = adherent_adhesions.id GROUP BY adherent_adhesions.id HAVING adherent_adhesions.amount > 0 AND (adherent_adhesions.amount > sum(adherent_reglements.amount) OR sum(adherent_reglements.amount) IS NULL) Rendered /home/jcl/rails_project/Adherent/app/views/adherent/reglements/_form.html.haml (69.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 86ms (Views: 72.1ms | ActiveRecord: 4.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#new as HTML Parameters: {"member_id"=>"1056"} 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", Fri, 30 Aug 2013 15:59:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 0.8ms | ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1058"} Organism Load (1.5ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 27ms (Views: 22.3ms | ActiveRecord: 1.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#edit as HTML Parameters: {"member_id"=>"1060"} Organism Load (0.6ms) 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", Fri, 30 Aug 2013 15:59:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 11ms (Views: 0.9ms | ActiveRecord: 1.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1062"} 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", Fri, 30 Aug 2013 15:59:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 0.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#show as HTML Parameters: {"member_id"=>"1064"} Organism Load (0.3ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "organisms" ("created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["created_at", Fri, 30 Aug 2013 15:59:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 6ms (Views: 2.2ms | ActiveRecord: 0.8ms)  (0.5ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_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", Fri, 30 Aug 2013 15:59:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 7ms (Views: 2.0ms | ActiveRecord: 0.8ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1068"} 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", Fri, 30 Aug 2013 15:59:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1068/coord Completed 302 Found in 8ms (ActiveRecord: 1.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1070"} Organism Load (0.4ms) 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", Fri, 30 Aug 2013 15:59:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 1.7ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#update as HTML Parameters: {"coord"=>{"city"=>"Dallas"}, "member_id"=>"1072"} Organism Load (4.0ms) 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", Fri, 30 Aug 2013 15:59:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1072/coord Completed 302 Found in 10ms (ActiveRecord: 4.6ms)  (4.3ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1074"} 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", Fri, 30 Aug 2013 15:59:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:57 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/adherent/members/1074/adhesions/new Completed 302 Found in 11ms (ActiveRecord: 1.0ms)  (2.2ms) ROLLBACK  (0.1ms) BEGIN Processing by Adherent::CoordsController#create as HTML Parameters: {"coord"=>{"city"=>"Bruxelles", "zip"=>"1000"}, "member_id"=>"1076"} Organism Load (0.4ms) SELECT "organisms".* FROM "organisms" WHERE "organisms"."title" = 'Mon association' LIMIT 1  (0.1ms) 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", Fri, 30 Aug 2013 15:59:57 UTC +00:00], ["status", nil], ["title", "Mon association"], ["updated_at", Fri, 30 Aug 2013 15:59:57 UTC +00:00]]  (1.2ms) RELEASE SAVEPOINT active_record_1 Completed 200 OK in 8ms (Views: 0.9ms | ActiveRecord: 3.3ms)  (6.9ms) ROLLBACK  (0.1ms) BEGIN  (5.5ms) ROLLBACK  (0.5ms) BEGIN  (1.4ms) ROLLBACK  (0.0ms) BEGIN  (1.0ms) ROLLBACK  (0.1ms) BEGIN  (2.6ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK